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 |
|---|---|---|---|---|---|---|---|---|
[
81,
19,
24,
4
] | 61 | [
"24-19=5",
"4*5=20",
"81-20=61"
] | Current State: 61:[81, 19, 24, 4], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [81, 4, 5]
Generated Node #2: [81, 4, 5] from Operation: 24-19=5
Current State: 61:[81, 4, 5], Operations: ['24-19=5']
Exploring Operation: 4*5=20, Resulting Numbers: [81, 20]
Generated Node #3: [81, 20] from Operation: 4*5=20
Current State: 61:[81, 20], Operations: ['24-19=5', '4*5=20']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[81, 19, 24, 4], Operations: []
Exploring Operation: 19*4=76, Resulting Numbers: [81, 24, 76]
Generated Node #0,0: 61:[81, 24, 76] Operation: 19*4=76
Exploring Operation: 81-19=62, Resulting Numbers: [24, 4, 62]
Generated Node #0,1: 61:[24, 4, 62] Operation: 81-19=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[81, 24, 76], Operations: ['19*4=76']
Exploring Operation: 81-24=57, Resulting Numbers: [76, 57]
Generated Node #0,0,0: 61:[76, 57] Operation: 81-24=57
Exploring Operation: 76-24=52, Resulting Numbers: [81, 52]
Generated Node #0,0,1: 61:[81, 52] Operation: 76-24=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[76, 57], Operations: ['19*4=76', '81-24=57']
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[81, 52], Operations: ['19*4=76', '76-24=52']
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,61 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[24, 4, 62], Operations: ['81-19=62']
Exploring Operation: 24+4=28, Resulting Numbers: [62, 28]
Generated Node #0,1,0: 61:[62, 28] Operation: 24+4=28
Exploring Operation: 24*4=96, Resulting Numbers: [62, 96]
Generated Node #0,1,1: 61:[62, 96] Operation: 24*4=96
Moving to Node #0,1,0
Current State: 61:[62, 28], Operations: ['81-19=62', '24+4=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[62, 96], Operations: ['81-19=62', '24*4=96']
Exploring Operation: 62+96=158, Resulting Numbers: [158]
158,61 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,61 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 |
[
10,
5,
28,
74
] | 16 | [
"28-10=18",
"5*18=90",
"90-74=16"
] | Current State: 16:[10, 5, 28, 74], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [5, 74, 18]
Generated Node #2: [5, 74, 18] from Operation: 28-10=18
Current State: 16:[5, 74, 18], Operations: ['28-10=18']
Exploring Operation: 5*18=90, Resulting Numbers: [74, 90]
Generated Node #3: [74, 90] from Operation: 5*18=90
Current State: 16:[74, 90], Operations: ['28-10=18', '5*18=90']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[10, 5, 28, 74], Operations: []
Exploring Operation: 74-5=69, Resulting Numbers: [10, 28, 69]
Generated Node #0,0: 16:[10, 28, 69] Operation: 74-5=69
Exploring Operation: 74-10=64, Resulting Numbers: [5, 28, 64]
Generated Node #0,1: 16:[5, 28, 64] Operation: 74-10=64
Exploring Operation: 28-5=23, Resulting Numbers: [10, 74, 23]
Generated Node #0,2: 16:[10, 74, 23] Operation: 28-5=23
Exploring Operation: 74-28=46, Resulting Numbers: [10, 5, 46]
Generated Node #0,3: 16:[10, 5, 46] Operation: 74-28=46
Exploring Operation: 28-10=18, Resulting Numbers: [5, 74, 18]
Generated Node #0,4: 16:[5, 74, 18] Operation: 28-10=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[10, 5, 46], Operations: ['74-28=46']
Exploring Operation: 10/5=2, Resulting Numbers: [46, 2]
Generated Node #0,3,0: 16:[46, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [46, 15]
Generated Node #0,3,1: 16:[46, 15] Operation: 10+5=15
Exploring Operation: 46-5=41, Resulting Numbers: [10, 41]
Generated Node #0,3,2: 16:[10, 41] Operation: 46-5=41
Exploring Operation: 10-5=5, Resulting Numbers: [46, 5]
Generated Node #0,3,3: 16:[46, 5] Operation: 10-5=5
Exploring Operation: 46-10=36, Resulting Numbers: [5, 36]
Generated Node #0,3,4: 16:[5, 36] Operation: 46-10=36
Moving to Node #0,3,4
Current State: 16:[5, 36], Operations: ['74-28=46', '46-10=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,16 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[10, 41], Operations: ['74-28=46', '46-5=41']
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,16 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[46, 2], Operations: ['74-28=46', '10/5=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,16 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[46, 15], Operations: ['74-28=46', '10+5=15']
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,16 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[46, 5], Operations: ['74-28=46', '10-5=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,16 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[5, 28, 64], Operations: ['74-10=64']
Exploring Operation: 64-28=36, Resulting Numbers: [5, 36]
Generated Node #0,1,0: 16:[5, 36] Operation: 64-28=36
Exploring Operation: 64-5=59, Resulting Numbers: [28, 59]
Generated Node #0,1,1: 16:[28, 59] Operation: 64-5=59
Exploring Operation: 5+64=69, Resulting Numbers: [28, 69]
Generated Node #0,1,2: 16:[28, 69] Operation: 5+64=69
Exploring Operation: 28-5=23, Resulting Numbers: [64, 23]
Generated Node #0,1,3: 16:[64, 23] Operation: 28-5=23
Exploring Operation: 5+28=33, Resulting Numbers: [64, 33]
Generated Node #0,1,4: 16:[64, 33] Operation: 5+28=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[5, 36], Operations: ['74-10=64', '64-28=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,16 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[28, 59], Operations: ['74-10=64', '64-5=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[64, 23], Operations: ['74-10=64', '28-5=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,16 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[28, 69], Operations: ['74-10=64', '5+64=69']
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 16:[64, 33], Operations: ['74-10=64', '5+28=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,16 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[5, 74, 18], Operations: ['28-10=18']
Exploring Operation: 74-5=69, Resulting Numbers: [18, 69]
Generated Node #0,4,0: 16:[18, 69] Operation: 74-5=69
Exploring Operation: 74-18=56, Resulting Numbers: [5, 56]
Generated Node #0,4,1: 16:[5, 56] Operation: 74-18=56
Exploring Operation: 5+18=23, Resulting Numbers: [74, 23]
Generated Node #0,4,2: 16:[74, 23] Operation: 5+18=23
Exploring Operation: 5+74=79, Resulting Numbers: [18, 79]
Generated Node #0,4,3: 16:[18, 79] Operation: 5+74=79
Exploring Operation: 18-5=13, Resulting Numbers: [74, 13]
Generated Node #0,4,4: 16:[74, 13] Operation: 18-5=13
Moving to Node #0,4,1
Current State: 16:[5, 56], Operations: ['28-10=18', '74-18=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,16 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[18, 69], Operations: ['28-10=18', '74-5=69']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,16 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[74, 13], Operations: ['28-10=18', '18-5=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,16 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[74, 23], Operations: ['28-10=18', '5+18=23']
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,16 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[18, 79], Operations: ['28-10=18', '5+74=79']
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,16 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[10, 28, 69], Operations: ['74-5=69']
Exploring Operation: 10+28=38, Resulting Numbers: [69, 38]
Generated Node #0,0,0: 16:[69, 38] Operation: 10+28=38
Exploring Operation: 69-28=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 16:[10, 41] Operation: 69-28=41
Exploring Operation: 28-10=18, Resulting Numbers: [69, 18]
Generated Node #0,0,2: 16:[69, 18] Operation: 28-10=18
Exploring Operation: 10+69=79, Resulting Numbers: [28, 79]
Generated Node #0,0,3: 16:[28, 79] Operation: 10+69=79
Exploring Operation: 69-10=59, Resulting Numbers: [28, 59]
Generated Node #0,0,4: 16:[28, 59] Operation: 69-10=59
Moving to Node #0,0,1
Current State: 16:[10, 41], Operations: ['74-5=69', '69-28=41']
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,16 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[28, 59], Operations: ['74-5=69', '69-10=59']
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,16 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[69, 18], Operations: ['74-5=69', '28-10=18']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,16 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[69, 38], Operations: ['74-5=69', '10+28=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,16 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[28, 79], Operations: ['74-5=69', '10+69=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,16 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[10, 74, 23], Operations: ['28-5=23']
Exploring Operation: 74-23=51, Resulting Numbers: [10, 51]
Generated Node #0,2,0: 16:[10, 51] Operation: 74-23=51
Exploring Operation: 10+74=84, Resulting Numbers: [23, 84]
Generated Node #0,2,1: 16:[23, 84] Operation: 10+74=84
Exploring Operation: 23-10=13, Resulting Numbers: [74, 13]
Generated Node #0,2,2: 16:[74, 13] Operation: 23-10=13
Exploring Operation: 10+23=33, Resulting Numbers: [74, 33]
Generated Node #0,2,3: 16:[74, 33] Operation: 10+23=33
Exploring Operation: 74-10=64, Resulting Numbers: [23, 64]
Generated Node #0,2,4: 16:[23, 64] Operation: 74-10=64
Moving to Node #0,2,0
Current State: 16:[10, 51], Operations: ['28-5=23', '74-23=51']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[23, 64], Operations: ['28-5=23', '74-10=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,16 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[74, 13], Operations: ['28-5=23', '23-10=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,16 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[23, 84], Operations: ['28-5=23', '10+74=84']
Exploring Operation: 23*84=1932, Resulting Numbers: [1932]
1932,16 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 23+84=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[74, 33], Operations: ['28-5=23', '10+23=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,16 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
6,
35,
72
] | 18 | [
"83+6=89",
"35+72=107",
"107-89=18"
] | Current State: 18:[83, 6, 35, 72], Operations: []
Exploring Operation: 83+6=89, Resulting Numbers: [35, 72, 89]
Generated Node #2: [35, 72, 89] from Operation: 83+6=89
Current State: 18:[35, 72, 89], Operations: ['83+6=89']
Exploring Operation: 35+72=107, Resulting Numbers: [89, 107]
Generated Node #3: [89, 107] from Operation: 35+72=107
Current State: 18:[89, 107], Operations: ['83+6=89', '35+72=107']
Exploring Operation: 107-89=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[83, 6, 35, 72], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [83, 35, 12]
Generated Node #0,0: 18:[83, 35, 12] Operation: 72/6=12
Exploring Operation: 83-35=48, Resulting Numbers: [6, 72, 48]
Generated Node #0,1: 18:[6, 72, 48] Operation: 83-35=48
Exploring Operation: 72-35=37, Resulting Numbers: [83, 6, 37]
Generated Node #0,2: 18:[83, 6, 37] Operation: 72-35=37
Exploring Operation: 83-72=11, Resulting Numbers: [6, 35, 11]
Generated Node #0,3: 18:[6, 35, 11] Operation: 83-72=11
Moving to Node #0,3
Current State: 18:[6, 35, 11], Operations: ['83-72=11']
Exploring Operation: 35-11=24, Resulting Numbers: [6, 24]
Generated Node #0,3,0: 18:[6, 24] Operation: 35-11=24
Exploring Operation: 11-6=5, Resulting Numbers: [35, 5]
Generated Node #0,3,1: 18:[35, 5] Operation: 11-6=5
Exploring Operation: 6+11=17, Resulting Numbers: [35, 17]
Generated Node #0,3,2: 18:[35, 17] Operation: 6+11=17
Exploring Operation: 35-6=29, Resulting Numbers: [11, 29]
Generated Node #0,3,3: 18:[11, 29] Operation: 35-6=29
Moving to Node #0,2
Current State: 18:[83, 6, 37], Operations: ['72-35=37']
Exploring Operation: 83+6=89, Resulting Numbers: [37, 89]
Generated Node #0,2,0: 18:[37, 89] Operation: 83+6=89
Exploring Operation: 83-6=77, Resulting Numbers: [37, 77]
Generated Node #0,2,1: 18:[37, 77] Operation: 83-6=77
Exploring Operation: 37-6=31, Resulting Numbers: [83, 31]
Generated Node #0,2,2: 18:[83, 31] Operation: 37-6=31
Exploring Operation: 83-37=46, Resulting Numbers: [6, 46]
Generated Node #0,2,3: 18:[6, 46] Operation: 83-37=46
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 18:[6, 46], Operations: ['72-35=37', '83-37=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,18 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[37, 77], Operations: ['72-35=37', '83-6=77']
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,18 unequal: No Solution
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[83, 31], Operations: ['72-35=37', '37-6=31']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[37, 89], Operations: ['72-35=37', '83+6=89']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 37+89=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Exploring Operation: 37*89=3293, Resulting Numbers: [3293]
3293,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 18:[6, 72, 48], Operations: ['83-35=48']
Exploring Operation: 72-6=66, Resulting Numbers: [48, 66]
Generated Node #0,1,0: 18:[48, 66] Operation: 72-6=66
Exploring Operation: 48/6=8, Resulting Numbers: [72, 8]
Generated Node #0,1,1: 18:[72, 8] Operation: 48/6=8
Exploring Operation: 72-48=24, Resulting Numbers: [6, 24]
Generated Node #0,1,2: 18:[6, 24] Operation: 72-48=24
Exploring Operation: 72/6=12, Resulting Numbers: [48, 12]
Generated Node #0,1,3: 18:[48, 12] Operation: 72/6=12
Moving to Node #0,0
Current State: 18:[83, 35, 12], Operations: ['72/6=12']
Exploring Operation: 83-12=71, Resulting Numbers: [35, 71]
Generated Node #0,0,0: 18:[35, 71] Operation: 83-12=71
Exploring Operation: 83-35=48, Resulting Numbers: [12, 48]
Generated Node #0,0,1: 18:[12, 48] Operation: 83-35=48
Exploring Operation: 83+12=95, Resulting Numbers: [35, 95]
Generated Node #0,0,2: 18:[35, 95] Operation: 83+12=95
Exploring Operation: 35-12=23, Resulting Numbers: [83, 23]
Generated Node #0,0,3: 18:[83, 23] Operation: 35-12=23
Moving to Node #0,3,0
Current State: 18:[6, 24], Operations: ['83-72=11', '35-11=24']
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,18 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[83, 6, 35, 72], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [6, 35, 11]
Generated Node #0,3: 18:[6, 35, 11] Operation: 83-72=11
Moving to Node #0,3
Current State: 18:[6, 35, 11], Operations: ['83-72=11']
Exploring Operation: 35-11=24, Resulting Numbers: [6, 24]
Generated Node #0,3,0: 18:[6, 24] Operation: 35-11=24
Moving to Node #0,3,0
Current State: 18:[6, 24], Operations: ['83-72=11', '35-11=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
65,
28,
9,
70
] | 95 | [
"70-65=5",
"28-9=19",
"5*19=95"
] | Current State: 95:[65, 28, 9, 70], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [28, 9, 5]
Generated Node #2: [28, 9, 5] from Operation: 70-65=5
Current State: 95:[28, 9, 5], Operations: ['70-65=5']
Exploring Operation: 28-9=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 28-9=19
Current State: 95:[5, 19], Operations: ['70-65=5', '28-9=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[65, 28, 9, 70], Operations: []
Exploring Operation: 65+28=93, Resulting Numbers: [9, 70, 93]
Generated Node #0,0: 95:[9, 70, 93] Operation: 65+28=93
Exploring Operation: 70-65=5, Resulting Numbers: [28, 9, 5]
Generated Node #0,1: 95:[28, 9, 5] Operation: 70-65=5
Moving to Node #0,1
Current State: 95:[28, 9, 5], Operations: ['70-65=5']
Exploring Operation: 28-9=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 95:[5, 19] Operation: 28-9=19
Exploring Operation: 28-5=23, Resulting Numbers: [9, 23]
Generated Node #0,1,1: 95:[9, 23] Operation: 28-5=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[5, 19], Operations: ['70-65=5', '28-9=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[65, 28, 9, 70], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [28, 9, 5]
Generated Node #0,1: 95:[28, 9, 5] Operation: 70-65=5
Moving to Node #0,1
Current State: 95:[28, 9, 5], Operations: ['70-65=5']
Exploring Operation: 28-9=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 95:[5, 19] Operation: 28-9=19
Moving to Node #0,1,0
Current State: 95:[5, 19], Operations: ['70-65=5', '28-9=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
91,
19,
53,
70
] | 55 | [
"91-19=72",
"70-53=17",
"72-17=55"
] | Current State: 55:[91, 19, 53, 70], Operations: []
Exploring Operation: 91-19=72, Resulting Numbers: [53, 70, 72]
Generated Node #2: [53, 70, 72] from Operation: 91-19=72
Current State: 55:[53, 70, 72], Operations: ['91-19=72']
Exploring Operation: 70-53=17, Resulting Numbers: [72, 17]
Generated Node #3: [72, 17] from Operation: 70-53=17
Current State: 55:[72, 17], Operations: ['91-19=72', '70-53=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[91, 19, 53, 70], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [19, 53, 21]
Generated Node #0,0: 55:[19, 53, 21] Operation: 91-70=21
Exploring Operation: 70-53=17, Resulting Numbers: [91, 19, 17]
Generated Node #0,1: 55:[91, 19, 17] Operation: 70-53=17
Exploring Operation: 91-53=38, Resulting Numbers: [19, 70, 38]
Generated Node #0,2: 55:[19, 70, 38] Operation: 91-53=38
Exploring Operation: 91-19=72, Resulting Numbers: [53, 70, 72]
Generated Node #0,3: 55:[53, 70, 72] Operation: 91-19=72
Exploring Operation: 70-19=51, Resulting Numbers: [91, 53, 51]
Generated Node #0,4: 55:[91, 53, 51] Operation: 70-19=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[19, 53, 21], Operations: ['91-70=21']
Exploring Operation: 53-21=32, Resulting Numbers: [19, 32]
Generated Node #0,0,0: 55:[19, 32] Operation: 53-21=32
Exploring Operation: 19+21=40, Resulting Numbers: [53, 40]
Generated Node #0,0,1: 55:[53, 40] Operation: 19+21=40
Exploring Operation: 53+21=74, Resulting Numbers: [19, 74]
Generated Node #0,0,2: 55:[19, 74] Operation: 53+21=74
Exploring Operation: 19+53=72, Resulting Numbers: [21, 72]
Generated Node #0,0,3: 55:[21, 72] Operation: 19+53=72
Exploring Operation: 21-19=2, Resulting Numbers: [53, 2]
Generated Node #0,0,4: 55:[53, 2] Operation: 21-19=2
Moving to Node #0,0,4
Current State: 55:[53, 2], Operations: ['91-70=21', '21-19=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[91, 19, 53, 70], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [19, 53, 21]
Generated Node #0,0: 55:[19, 53, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 55:[19, 53, 21], Operations: ['91-70=21']
Exploring Operation: 21-19=2, Resulting Numbers: [53, 2]
Generated Node #0,0,4: 55:[53, 2] Operation: 21-19=2
Moving to Node #0,0,4
Current State: 55:[53, 2], Operations: ['91-70=21', '21-19=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
42,
74,
64,
2
] | 94 | [
"74-42=32",
"64-2=62",
"32+62=94"
] | Current State: 94:[42, 74, 64, 2], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [64, 2, 32]
Generated Node #2: [64, 2, 32] from Operation: 74-42=32
Current State: 94:[64, 2, 32], Operations: ['74-42=32']
Exploring Operation: 64-2=62, Resulting Numbers: [32, 62]
Generated Node #3: [32, 62] from Operation: 64-2=62
Current State: 94:[32, 62], Operations: ['74-42=32', '64-2=62']
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[42, 74, 64, 2], Operations: []
Exploring Operation: 42+64=106, Resulting Numbers: [74, 2, 106]
Generated Node #0,0: 94:[74, 2, 106] Operation: 42+64=106
Exploring Operation: 74-42=32, Resulting Numbers: [64, 2, 32]
Generated Node #0,1: 94:[64, 2, 32] Operation: 74-42=32
Exploring Operation: 74-64=10, Resulting Numbers: [42, 2, 10]
Generated Node #0,2: 94:[42, 2, 10] Operation: 74-64=10
Moving to Node #0,2
Current State: 94:[42, 2, 10], Operations: ['74-64=10']
Exploring Operation: 42+10=52, Resulting Numbers: [2, 52]
Generated Node #0,2,0: 94:[2, 52] Operation: 42+10=52
Exploring Operation: 42+2=44, Resulting Numbers: [10, 44]
Generated Node #0,2,1: 94:[10, 44] Operation: 42+2=44
Exploring Operation: 10/2=5, Resulting Numbers: [42, 5]
Generated Node #0,2,2: 94:[42, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[2, 52], Operations: ['74-64=10', '42+10=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[42, 5], Operations: ['74-64=10', '10/2=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,94 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[10, 44], Operations: ['74-64=10', '42+2=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,94 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: 94:[74, 2, 106], Operations: ['42+64=106']
Exploring Operation: 74/2=37, Resulting Numbers: [106, 37]
Generated Node #0,0,0: 94:[106, 37] Operation: 74/2=37
Exploring Operation: 106-74=32, Resulting Numbers: [2, 32]
Generated Node #0,0,1: 94:[2, 32] Operation: 106-74=32
Exploring Operation: 106/2=53, Resulting Numbers: [74, 53]
Generated Node #0,0,2: 94:[74, 53] Operation: 106/2=53
Moving to Node #0,1
Current State: 94:[64, 2, 32], Operations: ['74-42=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 94:[2, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [2, 32]
Generated Node #0,1,1: 94:[2, 32] Operation: 64-32=32
Exploring Operation: 64+32=96, Resulting Numbers: [2, 96]
Generated Node #0,1,2: 94:[2, 96] Operation: 64+32=96
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[2, 2], Operations: ['74-42=32', '64/32=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[2, 96], Operations: ['74-42=32', '64+32=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[42, 74, 64, 2], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [64, 2, 32]
Generated Node #0,1: 94:[64, 2, 32] Operation: 74-42=32
Moving to Node #0,1
Current State: 94:[64, 2, 32], Operations: ['74-42=32']
Exploring Operation: 64+32=96, Resulting Numbers: [2, 96]
Generated Node #0,1,2: 94:[2, 96] Operation: 64+32=96
Moving to Node #0,1,2
Current State: 94:[2, 96], Operations: ['74-42=32', '64+32=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
12,
73,
56,
4
] | 71 | [
"12+73=85",
"56/4=14",
"85-14=71"
] | Current State: 71:[12, 73, 56, 4], Operations: []
Exploring Operation: 12+73=85, Resulting Numbers: [56, 4, 85]
Generated Node #2: [56, 4, 85] from Operation: 12+73=85
Current State: 71:[56, 4, 85], Operations: ['12+73=85']
Exploring Operation: 56/4=14, Resulting Numbers: [85, 14]
Generated Node #3: [85, 14] from Operation: 56/4=14
Current State: 71:[85, 14], Operations: ['12+73=85', '56/4=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[12, 73, 56, 4], Operations: []
Exploring Operation: 56+4=60, Resulting Numbers: [12, 73, 60]
Generated Node #0,0: 71:[12, 73, 60] Operation: 56+4=60
Exploring Operation: 12*4=48, Resulting Numbers: [73, 56, 48]
Generated Node #0,1: 71:[73, 56, 48] Operation: 12*4=48
Exploring Operation: 12+56=68, Resulting Numbers: [73, 4, 68]
Generated Node #0,2: 71:[73, 4, 68] Operation: 12+56=68
Exploring Operation: 12+4=16, Resulting Numbers: [73, 56, 16]
Generated Node #0,3: 71:[73, 56, 16] Operation: 12+4=16
Moving to Node #0,1
Current State: 71:[73, 56, 48], Operations: ['12*4=48']
Exploring Operation: 73-48=25, Resulting Numbers: [56, 25]
Generated Node #0,1,0: 71:[56, 25] Operation: 73-48=25
Exploring Operation: 56+48=104, Resulting Numbers: [73, 104]
Generated Node #0,1,1: 71:[73, 104] Operation: 56+48=104
Exploring Operation: 56-48=8, Resulting Numbers: [73, 8]
Generated Node #0,1,2: 71:[73, 8] Operation: 56-48=8
Exploring Operation: 73+48=121, Resulting Numbers: [56, 121]
Generated Node #0,1,3: 71:[56, 121] Operation: 73+48=121
Moving to Node #0,2
Current State: 71:[73, 4, 68], Operations: ['12+56=68']
Exploring Operation: 73+4=77, Resulting Numbers: [68, 77]
Generated Node #0,2,0: 71:[68, 77] Operation: 73+4=77
Exploring Operation: 73-4=69, Resulting Numbers: [68, 69]
Generated Node #0,2,1: 71:[68, 69] Operation: 73-4=69
Exploring Operation: 4+68=72, Resulting Numbers: [73, 72]
Generated Node #0,2,2: 71:[73, 72] Operation: 4+68=72
Exploring Operation: 68-4=64, Resulting Numbers: [73, 64]
Generated Node #0,2,3: 71:[73, 64] Operation: 68-4=64
Moving to Node #0,0
Current State: 71:[12, 73, 60], Operations: ['56+4=60']
Exploring Operation: 60-12=48, Resulting Numbers: [73, 48]
Generated Node #0,0,0: 71:[73, 48] Operation: 60-12=48
Exploring Operation: 73-12=61, Resulting Numbers: [60, 61]
Generated Node #0,0,1: 71:[60, 61] Operation: 73-12=61
Exploring Operation: 12+60=72, Resulting Numbers: [73, 72]
Generated Node #0,0,2: 71:[73, 72] Operation: 12+60=72
Exploring Operation: 12+73=85, Resulting Numbers: [60, 85]
Generated Node #0,0,3: 71:[60, 85] Operation: 12+73=85
Moving to Node #0,3
Current State: 71:[73, 56, 16], Operations: ['12+4=16']
Exploring Operation: 56+16=72, Resulting Numbers: [73, 72]
Generated Node #0,3,0: 71:[73, 72] Operation: 56+16=72
Exploring Operation: 73+16=89, Resulting Numbers: [56, 89]
Generated Node #0,3,1: 71:[56, 89] Operation: 73+16=89
Exploring Operation: 56-16=40, Resulting Numbers: [73, 40]
Generated Node #0,3,2: 71:[73, 40] Operation: 56-16=40
Exploring Operation: 73-16=57, Resulting Numbers: [56, 57]
Generated Node #0,3,3: 71:[56, 57] Operation: 73-16=57
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[73, 72], Operations: ['12+4=16', '56+16=72']
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[56, 57], Operations: ['12+4=16', '73-16=57']
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[56, 89], Operations: ['12+4=16', '73+16=89']
Exploring Operation: 56+89=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 56*89=4984, Resulting Numbers: [4984]
4984,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[73, 40], Operations: ['12+4=16', '56-16=40']
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,71 unequal: No Solution
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 71:[73, 72], Operations: ['12+56=68', '4+68=72']
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,71 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[73, 72], Operations: ['56+4=60', '12+60=72']
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,71 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[68, 69], Operations: ['12+56=68', '73-4=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[68, 77], Operations: ['12+56=68', '73+4=77']
Exploring Operation: 68+77=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 68*77=5236, Resulting Numbers: [5236]
5236,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[73, 64], Operations: ['12+56=68', '68-4=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[60, 61], Operations: ['56+4=60', '73-12=61']
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,71 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[73, 48], Operations: ['56+4=60', '60-12=48']
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,71 unequal: No Solution
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[60, 85], Operations: ['56+4=60', '12+73=85']
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 60+85=145, Resulting Numbers: [145]
145,71 unequal: No Solution
Exploring Operation: 60*85=5100, Resulting Numbers: [5100]
5100,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[73, 104], Operations: ['12*4=48', '56+48=104']
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,71 unequal: No Solution
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[56, 25], Operations: ['12*4=48', '73-48=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,71 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[56, 121], Operations: ['12*4=48', '73+48=121']
Exploring Operation: 56*121=6776, Resulting Numbers: [6776]
6776,71 unequal: No Solution
Exploring Operation: 121-56=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Exploring Operation: 56+121=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[73, 8], Operations: ['12*4=48', '56-48=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,71 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
1,
98,
37
] | 86 | [
"49*1=49",
"98+37=135",
"135-49=86"
] | Current State: 86:[49, 1, 98, 37], Operations: []
Exploring Operation: 49*1=49, Resulting Numbers: [98, 37, 49]
Generated Node #2: [98, 37, 49] from Operation: 49*1=49
Current State: 86:[98, 37, 49], Operations: ['49*1=49']
Exploring Operation: 98+37=135, Resulting Numbers: [49, 135]
Generated Node #3: [49, 135] from Operation: 98+37=135
Current State: 86:[49, 135], Operations: ['49*1=49', '98+37=135']
Exploring Operation: 135-49=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[49, 1, 98, 37], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [98, 37, 48]
Generated Node #0,0: 86:[98, 37, 48] Operation: 49-1=48
Exploring Operation: 98-49=49, Resulting Numbers: [1, 37, 49]
Generated Node #0,1: 86:[1, 37, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [1, 37, 2]
Generated Node #0,2: 86:[1, 37, 2] Operation: 98/49=2
Exploring Operation: 49+37=86, Resulting Numbers: [1, 98, 86]
Generated Node #0,3: 86:[1, 98, 86] Operation: 49+37=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[1, 37, 2], Operations: ['98/49=2']
Exploring Operation: 1*37=37, Resulting Numbers: [2, 37]
Generated Node #0,2,0: 86:[2, 37] Operation: 1*37=37
Exploring Operation: 37+2=39, Resulting Numbers: [1, 39]
Generated Node #0,2,1: 86:[1, 39] Operation: 37+2=39
Exploring Operation: 1+37=38, Resulting Numbers: [2, 38]
Generated Node #0,2,2: 86:[2, 38] Operation: 1+37=38
Exploring Operation: 37/1=37, Resulting Numbers: [2, 37]
Generated Node #0,2,3: 86:[2, 37] Operation: 37/1=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[1, 39], Operations: ['98/49=2', '37+2=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[2, 38], Operations: ['98/49=2', '1+37=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[2, 37], Operations: ['98/49=2', '1*37=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[2, 37], Operations: ['98/49=2', '37/1=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,86 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: 86:[1, 37, 49], Operations: ['98-49=49']
Exploring Operation: 49-37=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 86:[1, 12] Operation: 49-37=12
Exploring Operation: 49-1=48, Resulting Numbers: [37, 48]
Generated Node #0,1,1: 86:[37, 48] Operation: 49-1=48
Exploring Operation: 1+37=38, Resulting Numbers: [49, 38]
Generated Node #0,1,2: 86:[49, 38] Operation: 1+37=38
Exploring Operation: 37+49=86, Resulting Numbers: [1, 86]
Generated Node #0,1,3: 86:[1, 86] Operation: 37+49=86
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[1, 86], Operations: ['98-49=49', '37+49=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[49, 1, 98, 37], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [1, 37, 49]
Generated Node #0,1: 86:[1, 37, 49] Operation: 98-49=49
Moving to Node #0,1
Current State: 86:[1, 37, 49], Operations: ['98-49=49']
Exploring Operation: 37+49=86, Resulting Numbers: [1, 86]
Generated Node #0,1,3: 86:[1, 86] Operation: 37+49=86
Moving to Node #0,1,3
Current State: 86:[1, 86], Operations: ['98-49=49', '37+49=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.97309 | hs_4 | mult_heuristic |
[
31,
85,
49,
51
] | 34 | [
"31*51=1581",
"85+1581=1666",
"1666/49=34"
] | Current State: 34:[31, 85, 49, 51], Operations: []
Exploring Operation: 31*51=1581, Resulting Numbers: [85, 49, 1581]
Generated Node #2: [85, 49, 1581] from Operation: 31*51=1581
Current State: 34:[85, 49, 1581], Operations: ['31*51=1581']
Exploring Operation: 85+1581=1666, Resulting Numbers: [49, 1666]
Generated Node #3: [49, 1666] from Operation: 85+1581=1666
Current State: 34:[49, 1666], Operations: ['31*51=1581', '85+1581=1666']
Exploring Operation: 1666/49=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[31, 85, 49, 51], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [49, 51, 54]
Generated Node #0,0: 34:[49, 51, 54] Operation: 85-31=54
Exploring Operation: 85-51=34, Resulting Numbers: [31, 49, 34]
Generated Node #0,1: 34:[31, 49, 34] Operation: 85-51=34
Exploring Operation: 85-49=36, Resulting Numbers: [31, 51, 36]
Generated Node #0,2: 34:[31, 51, 36] Operation: 85-49=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[31, 49, 34], Operations: ['85-51=34']
Exploring Operation: 49-31=18, Resulting Numbers: [34, 18]
Generated Node #0,1,0: 34:[34, 18] Operation: 49-31=18
Exploring Operation: 34-31=3, Resulting Numbers: [49, 3]
Generated Node #0,1,1: 34:[49, 3] Operation: 34-31=3
Exploring Operation: 49-34=15, Resulting Numbers: [31, 15]
Generated Node #0,1,2: 34:[31, 15] Operation: 49-34=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[34, 18], Operations: ['85-51=34', '49-31=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,34 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[31, 15], Operations: ['85-51=34', '49-34=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,34 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[49, 3], Operations: ['85-51=34', '34-31=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[31, 51, 36], Operations: ['85-49=36']
Exploring Operation: 51-36=15, Resulting Numbers: [31, 15]
Generated Node #0,2,0: 34:[31, 15] Operation: 51-36=15
Exploring Operation: 51-31=20, Resulting Numbers: [36, 20]
Generated Node #0,2,1: 34:[36, 20] Operation: 51-31=20
Exploring Operation: 36-31=5, Resulting Numbers: [51, 5]
Generated Node #0,2,2: 34:[51, 5] Operation: 36-31=5
Moving to Node #0,2,0
Current State: 34:[31, 15], Operations: ['85-49=36', '51-36=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[36, 20], Operations: ['85-49=36', '51-31=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[51, 5], Operations: ['85-49=36', '36-31=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[49, 51, 54], Operations: ['85-31=54']
Exploring Operation: 54-49=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 34:[51, 5] Operation: 54-49=5
Exploring Operation: 54-51=3, Resulting Numbers: [49, 3]
Generated Node #0,0,1: 34:[49, 3] Operation: 54-51=3
Exploring Operation: 51-49=2, Resulting Numbers: [54, 2]
Generated Node #0,0,2: 34:[54, 2] Operation: 51-49=2
Moving to Node #0,0,1
Current State: 34:[49, 3], Operations: ['85-31=54', '54-51=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,34 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[51, 5], Operations: ['85-31=54', '54-49=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,34 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[54, 2], Operations: ['85-31=54', '51-49=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,34 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 |
[
4,
30,
10,
63
] | 47 | [
"4*30=120",
"10+63=73",
"120-73=47"
] | Current State: 47:[4, 30, 10, 63], Operations: []
Exploring Operation: 4*30=120, Resulting Numbers: [10, 63, 120]
Generated Node #2: [10, 63, 120] from Operation: 4*30=120
Current State: 47:[10, 63, 120], Operations: ['4*30=120']
Exploring Operation: 10+63=73, Resulting Numbers: [120, 73]
Generated Node #3: [120, 73] from Operation: 10+63=73
Current State: 47:[120, 73], Operations: ['4*30=120', '10+63=73']
Exploring Operation: 120-73=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[4, 30, 10, 63], Operations: []
Exploring Operation: 4+30=34, Resulting Numbers: [10, 63, 34]
Generated Node #0,0: 47:[10, 63, 34] Operation: 4+30=34
Exploring Operation: 4*10=40, Resulting Numbers: [30, 63, 40]
Generated Node #0,1: 47:[30, 63, 40] Operation: 4*10=40
Moving to Node #0,1
Current State: 47:[30, 63, 40], Operations: ['4*10=40']
Exploring Operation: 63-30=33, Resulting Numbers: [40, 33]
Generated Node #0,1,0: 47:[40, 33] Operation: 63-30=33
Exploring Operation: 30+40=70, Resulting Numbers: [63, 70]
Generated Node #0,1,1: 47:[63, 70] Operation: 30+40=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[40, 33], Operations: ['4*10=40', '63-30=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,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,1,1
Current State: 47:[63, 70], Operations: ['4*10=40', '30+40=70']
Exploring Operation: 63+70=133, Resulting Numbers: [133]
133,47 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,47 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: 47:[10, 63, 34], Operations: ['4+30=34']
Exploring Operation: 63-10=53, Resulting Numbers: [34, 53]
Generated Node #0,0,0: 47:[34, 53] Operation: 63-10=53
Exploring Operation: 10+34=44, Resulting Numbers: [63, 44]
Generated Node #0,0,1: 47:[63, 44] Operation: 10+34=44
Moving to Node #0,0,0
Current State: 47:[34, 53], Operations: ['4+30=34', '63-10=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,47 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[63, 44], Operations: ['4+30=34', '10+34=44']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
80,
8,
8
] | 91 | [
"8-8=0",
"80*0=0",
"91+0=91"
] | Current State: 91:[91, 80, 8, 8], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [91, 80, 0]
Generated Node #2: [91, 80, 0] from Operation: 8-8=0
Current State: 91:[91, 80, 0], Operations: ['8-8=0']
Exploring Operation: 80*0=0, Resulting Numbers: [91, 0]
Generated Node #3: [91, 0] from Operation: 80*0=0
Current State: 91:[91, 0], Operations: ['8-8=0', '80*0=0']
Exploring Operation: 91+0=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[91, 80, 8, 8], Operations: []
Exploring Operation: 80+8=88, Resulting Numbers: [91, 8, 88]
Generated Node #0,0: 91:[91, 8, 88] Operation: 80+8=88
Exploring Operation: 91-80=11, Resulting Numbers: [8, 8, 11]
Generated Node #0,1: 91:[8, 8, 11] Operation: 91-80=11
Exploring Operation: 80+8=88, Resulting Numbers: [91, 8, 88]
Generated Node #0,2: 91:[91, 8, 88] Operation: 80+8=88
Exploring Operation: 80/8=10, Resulting Numbers: [91, 8, 10]
Generated Node #0,3: 91:[91, 8, 10] Operation: 80/8=10
Exploring Operation: 80/8=10, Resulting Numbers: [91, 8, 10]
Generated Node #0,4: 91:[91, 8, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[91, 8, 88], Operations: ['80+8=88']
Exploring Operation: 91-8=83, Resulting Numbers: [88, 83]
Generated Node #0,0,0: 91:[88, 83] Operation: 91-8=83
Exploring Operation: 88/8=11, Resulting Numbers: [91, 11]
Generated Node #0,0,1: 91:[91, 11] Operation: 88/8=11
Exploring Operation: 8+88=96, Resulting Numbers: [91, 96]
Generated Node #0,0,2: 91:[91, 96] Operation: 8+88=96
Exploring Operation: 91+8=99, Resulting Numbers: [88, 99]
Generated Node #0,0,3: 91:[88, 99] Operation: 91+8=99
Exploring Operation: 91-88=3, Resulting Numbers: [8, 3]
Generated Node #0,0,4: 91:[8, 3] Operation: 91-88=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[91, 11], Operations: ['80+8=88', '88/8=11']
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,91 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,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,2
Current State: 91:[91, 96], Operations: ['80+8=88', '8+88=96']
Exploring Operation: 91*96=8736, Resulting Numbers: [8736]
8736,91 unequal: No Solution
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 91+96=187, Resulting Numbers: [187]
187,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,4
Current State: 91:[8, 3], Operations: ['80+8=88', '91-88=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,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,0
Current State: 91:[88, 83], Operations: ['80+8=88', '91-8=83']
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,91 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,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,3
Current State: 91:[88, 99], Operations: ['80+8=88', '91+8=99']
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 88*99=8712, Resulting Numbers: [8712]
8712,91 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,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:[8, 8, 11], Operations: ['91-80=11']
Exploring Operation: 8*11=88, Resulting Numbers: [8, 88]
Generated Node #0,1,0: 91:[8, 88] Operation: 8*11=88
Exploring Operation: 11-8=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 91:[8, 3] Operation: 11-8=3
Exploring Operation: 11-8=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 91:[8, 3] Operation: 11-8=3
Exploring Operation: 8*11=88, Resulting Numbers: [8, 88]
Generated Node #0,1,3: 91:[8, 88] Operation: 8*11=88
Exploring Operation: 8+8=16, Resulting Numbers: [11, 16]
Generated Node #0,1,4: 91:[11, 16] Operation: 8+8=16
Moving to Node #0,1,0
Current State: 91:[8, 88], Operations: ['91-80=11', '8*11=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 8*88=704, Resulting Numbers: [704]
704,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[8, 88], Operations: ['91-80=11', '8*11=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 8*88=704, Resulting Numbers: [704]
704,91 unequal: No Solution
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[8, 3], Operations: ['91-80=11', '11-8=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[8, 3], Operations: ['91-80=11', '11-8=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[11, 16], Operations: ['91-80=11', '8+8=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,91 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[91, 8, 88], Operations: ['80+8=88']
Exploring Operation: 88/8=11, Resulting Numbers: [91, 11]
Generated Node #0,2,0: 91:[91, 11] Operation: 88/8=11
Exploring Operation: 91-8=83, Resulting Numbers: [88, 83]
Generated Node #0,2,1: 91:[88, 83] Operation: 91-8=83
Exploring Operation: 91-88=3, Resulting Numbers: [8, 3]
Generated Node #0,2,2: 91:[8, 3] Operation: 91-88=3
Exploring Operation: 8+88=96, Resulting Numbers: [91, 96]
Generated Node #0,2,3: 91:[91, 96] Operation: 8+88=96
Exploring Operation: 91+8=99, Resulting Numbers: [88, 99]
Generated Node #0,2,4: 91:[88, 99] Operation: 91+8=99
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[91, 11], Operations: ['80+8=88', '88/8=11']
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,91 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,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,2,2
Current State: 91:[8, 3], Operations: ['80+8=88', '91-88=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,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,2,3
Current State: 91:[91, 96], Operations: ['80+8=88', '8+88=96']
Exploring Operation: 91+96=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 91*96=8736, Resulting Numbers: [8736]
8736,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,2,1
Current State: 91:[88, 83], Operations: ['80+8=88', '91-8=83']
Exploring Operation: 88*83=7304, Resulting Numbers: [7304]
7304,91 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 88+83=171, Resulting Numbers: [171]
171,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,2,4
Current State: 91:[88, 99], Operations: ['80+8=88', '91+8=99']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 88+99=187, Resulting Numbers: [187]
187,91 unequal: No Solution
Exploring Operation: 88*99=8712, Resulting Numbers: [8712]
8712,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,3
Current State: 91:[91, 8, 10], Operations: ['80/8=10']
Exploring Operation: 91-8=83, Resulting Numbers: [10, 83]
Generated Node #0,3,0: 91:[10, 83] Operation: 91-8=83
Exploring Operation: 10-8=2, Resulting Numbers: [91, 2]
Generated Node #0,3,1: 91:[91, 2] Operation: 10-8=2
Exploring Operation: 91+8=99, Resulting Numbers: [10, 99]
Generated Node #0,3,2: 91:[10, 99] Operation: 91+8=99
Exploring Operation: 91+10=101, Resulting Numbers: [8, 101]
Generated Node #0,3,3: 91:[8, 101] Operation: 91+10=101
Exploring Operation: 8+10=18, Resulting Numbers: [91, 18]
Generated Node #0,3,4: 91:[91, 18] Operation: 8+10=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[91, 2], Operations: ['80/8=10', '10-8=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,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,3,4
Current State: 91:[91, 18], Operations: ['80/8=10', '8+10=18']
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,91 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,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,3,0
Current State: 91:[10, 83], Operations: ['80/8=10', '91-8=83']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,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,3,2
Current State: 91:[10, 99], Operations: ['80/8=10', '91+8=99']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,91 unequal: No Solution
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,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,3,3
Current State: 91:[8, 101], Operations: ['80/8=10', '91+10=101']
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,91 unequal: No Solution
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,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,4
Current State: 91:[91, 8, 10], Operations: ['80/8=10']
Exploring Operation: 91+10=101, Resulting Numbers: [8, 101]
Generated Node #0,4,0: 91:[8, 101] Operation: 91+10=101
Exploring Operation: 8+10=18, Resulting Numbers: [91, 18]
Generated Node #0,4,1: 91:[91, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [91, 2]
Generated Node #0,4,2: 91:[91, 2] Operation: 10-8=2
Exploring Operation: 91+8=99, Resulting Numbers: [10, 99]
Generated Node #0,4,3: 91:[10, 99] Operation: 91+8=99
Exploring Operation: 91-8=83, Resulting Numbers: [10, 83]
Generated Node #0,4,4: 91:[10, 83] Operation: 91-8=83
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 91:[91, 18], Operations: ['80/8=10', '8+10=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,91 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,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,4,2
Current State: 91:[91, 2], Operations: ['80/8=10', '10-8=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,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,4,0
Current State: 91:[8, 101], Operations: ['80/8=10', '91+10=101']
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,91 unequal: No Solution
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,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,4,3
Current State: 91:[10, 99], Operations: ['80/8=10', '91+8=99']
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,91 unequal: No Solution
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,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,4,4
Current State: 91:[10, 83], Operations: ['80/8=10', '91-8=83']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
17,
95,
22
] | 20 | [
"99-95=4",
"22-17=5",
"4*5=20"
] | Current State: 20:[99, 17, 95, 22], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [17, 22, 4]
Generated Node #2: [17, 22, 4] from Operation: 99-95=4
Current State: 20:[17, 22, 4], Operations: ['99-95=4']
Exploring Operation: 22-17=5, Resulting Numbers: [4, 5]
Generated Node #3: [4, 5] from Operation: 22-17=5
Current State: 20:[4, 5], Operations: ['99-95=4', '22-17=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[99, 17, 95, 22], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [17, 22, 4]
Generated Node #0,0: 20:[17, 22, 4] Operation: 99-95=4
Exploring Operation: 99-17=82, Resulting Numbers: [95, 22, 82]
Generated Node #0,1: 20:[95, 22, 82] Operation: 99-17=82
Exploring Operation: 95-22=73, Resulting Numbers: [99, 17, 73]
Generated Node #0,2: 20:[99, 17, 73] Operation: 95-22=73
Exploring Operation: 99-22=77, Resulting Numbers: [17, 95, 77]
Generated Node #0,3: 20:[17, 95, 77] Operation: 99-22=77
Moving to Node #0,0
Current State: 20:[17, 22, 4], Operations: ['99-95=4']
Exploring Operation: 22-4=18, Resulting Numbers: [17, 18]
Generated Node #0,0,0: 20:[17, 18] Operation: 22-4=18
Exploring Operation: 17-4=13, Resulting Numbers: [22, 13]
Generated Node #0,0,1: 20:[22, 13] Operation: 17-4=13
Exploring Operation: 22-17=5, Resulting Numbers: [4, 5]
Generated Node #0,0,2: 20:[4, 5] Operation: 22-17=5
Exploring Operation: 17+4=21, Resulting Numbers: [22, 21]
Generated Node #0,0,3: 20:[22, 21] Operation: 17+4=21
Moving to Node #0,3
Current State: 20:[17, 95, 77], Operations: ['99-22=77']
Exploring Operation: 95-77=18, Resulting Numbers: [17, 18]
Generated Node #0,3,0: 20:[17, 18] Operation: 95-77=18
Exploring Operation: 95-17=78, Resulting Numbers: [77, 78]
Generated Node #0,3,1: 20:[77, 78] Operation: 95-17=78
Exploring Operation: 17+95=112, Resulting Numbers: [77, 112]
Generated Node #0,3,2: 20:[77, 112] Operation: 17+95=112
Exploring Operation: 77-17=60, Resulting Numbers: [95, 60]
Generated Node #0,3,3: 20:[95, 60] Operation: 77-17=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[17, 18], Operations: ['99-22=77', '95-77=18']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,20 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[77, 78], Operations: ['99-22=77', '95-17=78']
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,20 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[95, 60], Operations: ['99-22=77', '77-17=60']
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,20 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[77, 112], Operations: ['99-22=77', '17+95=112']
Exploring Operation: 77*112=8624, Resulting Numbers: [8624]
8624,20 unequal: No Solution
Exploring Operation: 112-77=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 77+112=189, Resulting Numbers: [189]
189,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 20:[99, 17, 73], Operations: ['95-22=73']
Exploring Operation: 99+17=116, Resulting Numbers: [73, 116]
Generated Node #0,2,0: 20:[73, 116] Operation: 99+17=116
Exploring Operation: 99-73=26, Resulting Numbers: [17, 26]
Generated Node #0,2,1: 20:[17, 26] Operation: 99-73=26
Exploring Operation: 99-17=82, Resulting Numbers: [73, 82]
Generated Node #0,2,2: 20:[73, 82] Operation: 99-17=82
Exploring Operation: 73-17=56, Resulting Numbers: [99, 56]
Generated Node #0,2,3: 20:[99, 56] Operation: 73-17=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[17, 26], Operations: ['95-22=73', '99-73=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,20 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[73, 82], Operations: ['95-22=73', '99-17=82']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[99, 56], Operations: ['95-22=73', '73-17=56']
Exploring Operation: 99+56=155, Resulting Numbers: [155]
155,20 unequal: No Solution
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 99*56=5544, Resulting Numbers: [5544]
5544,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[73, 116], Operations: ['95-22=73', '99+17=116']
Exploring Operation: 73+116=189, Resulting Numbers: [189]
189,20 unequal: No Solution
Exploring Operation: 116-73=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 73*116=8468, Resulting Numbers: [8468]
8468,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[95, 22, 82], Operations: ['99-17=82']
Exploring Operation: 95-22=73, Resulting Numbers: [82, 73]
Generated Node #0,1,0: 20:[82, 73] Operation: 95-22=73
Exploring Operation: 95-82=13, Resulting Numbers: [22, 13]
Generated Node #0,1,1: 20:[22, 13] Operation: 95-82=13
Exploring Operation: 95+22=117, Resulting Numbers: [82, 117]
Generated Node #0,1,2: 20:[82, 117] Operation: 95+22=117
Exploring Operation: 82-22=60, Resulting Numbers: [95, 60]
Generated Node #0,1,3: 20:[95, 60] Operation: 82-22=60
Moving to Node #0,0,2
Current State: 20:[4, 5], Operations: ['99-95=4', '22-17=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[99, 17, 95, 22], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [17, 22, 4]
Generated Node #0,0: 20:[17, 22, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 20:[17, 22, 4], Operations: ['99-95=4']
Exploring Operation: 22-17=5, Resulting Numbers: [4, 5]
Generated Node #0,0,2: 20:[4, 5] Operation: 22-17=5
Moving to Node #0,0,2
Current State: 20:[4, 5], Operations: ['99-95=4', '22-17=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
94,
52,
47,
32
] | 86 | [
"94/47=2",
"52+32=84",
"2+84=86"
] | Current State: 86:[94, 52, 47, 32], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [52, 32, 2]
Generated Node #2: [52, 32, 2] from Operation: 94/47=2
Current State: 86:[52, 32, 2], Operations: ['94/47=2']
Exploring Operation: 52+32=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 52+32=84
Current State: 86:[2, 84], Operations: ['94/47=2', '52+32=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[94, 52, 47, 32], Operations: []
Exploring Operation: 52+32=84, Resulting Numbers: [94, 47, 84]
Generated Node #0,0: 86:[94, 47, 84] Operation: 52+32=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[94, 47, 84], Operations: ['52+32=84']
Exploring Operation: 94/47=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 94/47=2
Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['52+32=84', '94/47=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[94, 52, 47, 32], Operations: []
Exploring Operation: 52+32=84, Resulting Numbers: [94, 47, 84]
Generated Node #0,0: 86:[94, 47, 84] Operation: 52+32=84
Moving to Node #0,0
Current State: 86:[94, 47, 84], Operations: ['52+32=84']
Exploring Operation: 94/47=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 94/47=2
Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['52+32=84', '94/47=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
75,
33,
99,
32
] | 46 | [
"75-32=43",
"99/33=3",
"43+3=46"
] | Current State: 46:[75, 33, 99, 32], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [33, 99, 43]
Generated Node #2: [33, 99, 43] from Operation: 75-32=43
Current State: 46:[33, 99, 43], Operations: ['75-32=43']
Exploring Operation: 99/33=3, Resulting Numbers: [43, 3]
Generated Node #3: [43, 3] from Operation: 99/33=3
Current State: 46:[43, 3], Operations: ['75-32=43', '99/33=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[75, 33, 99, 32], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [33, 32, 24]
Generated Node #0,0: 46:[33, 32, 24] Operation: 99-75=24
Exploring Operation: 99/33=3, Resulting Numbers: [75, 32, 3]
Generated Node #0,1: 46:[75, 32, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [75, 32, 66]
Generated Node #0,2: 46:[75, 32, 66] Operation: 99-33=66
Moving to Node #0,0
Current State: 46:[33, 32, 24], Operations: ['99-75=24']
Exploring Operation: 32-24=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 46:[33, 8] Operation: 32-24=8
Exploring Operation: 33-24=9, Resulting Numbers: [32, 9]
Generated Node #0,0,1: 46:[32, 9] Operation: 33-24=9
Exploring Operation: 33-32=1, Resulting Numbers: [24, 1]
Generated Node #0,0,2: 46:[24, 1] Operation: 33-32=1
Moving to Node #0,1
Current State: 46:[75, 32, 3], Operations: ['99/33=3']
Exploring Operation: 75/3=25, Resulting Numbers: [32, 25]
Generated Node #0,1,0: 46:[32, 25] Operation: 75/3=25
Exploring Operation: 75-32=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 46:[3, 43] Operation: 75-32=43
Exploring Operation: 75-3=72, Resulting Numbers: [32, 72]
Generated Node #0,1,2: 46:[32, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[3, 43], Operations: ['99/33=3', '75-32=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[75, 33, 99, 32], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [75, 32, 3]
Generated Node #0,1: 46:[75, 32, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 46:[75, 32, 3], Operations: ['99/33=3']
Exploring Operation: 75-32=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 46:[3, 43] Operation: 75-32=43
Moving to Node #0,1,1
Current State: 46:[3, 43], Operations: ['99/33=3', '75-32=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
51,
21,
20,
67
] | 77 | [
"51-21=30",
"67-20=47",
"30+47=77"
] | Current State: 77:[51, 21, 20, 67], Operations: []
Exploring Operation: 51-21=30, Resulting Numbers: [20, 67, 30]
Generated Node #2: [20, 67, 30] from Operation: 51-21=30
Current State: 77:[20, 67, 30], Operations: ['51-21=30']
Exploring Operation: 67-20=47, Resulting Numbers: [30, 47]
Generated Node #3: [30, 47] from Operation: 67-20=47
Current State: 77:[30, 47], Operations: ['51-21=30', '67-20=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[51, 21, 20, 67], Operations: []
Exploring Operation: 51+21=72, Resulting Numbers: [20, 67, 72]
Generated Node #0,0: 77:[20, 67, 72] Operation: 51+21=72
Exploring Operation: 67-51=16, Resulting Numbers: [21, 20, 16]
Generated Node #0,1: 77:[21, 20, 16] Operation: 67-51=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[20, 67, 72], Operations: ['51+21=72']
Exploring Operation: 20+67=87, Resulting Numbers: [72, 87]
Generated Node #0,0,0: 77:[72, 87] Operation: 20+67=87
Exploring Operation: 72-67=5, Resulting Numbers: [20, 5]
Generated Node #0,0,1: 77:[20, 5] Operation: 72-67=5
Moving to Node #0,0,1
Current State: 77:[20, 5], Operations: ['51+21=72', '72-67=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[72, 87], Operations: ['51+21=72', '20+67=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[21, 20, 16], Operations: ['67-51=16']
Exploring Operation: 21-16=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 77:[20, 5] Operation: 21-16=5
Exploring Operation: 21-20=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 77:[16, 1] Operation: 21-20=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[20, 5], Operations: ['67-51=16', '21-16=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[16, 1], Operations: ['67-51=16', '21-20=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
76,
30,
55
] | 92 | [
"76-69=7",
"30+55=85",
"7+85=92"
] | Current State: 92:[69, 76, 30, 55], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [30, 55, 7]
Generated Node #2: [30, 55, 7] from Operation: 76-69=7
Current State: 92:[30, 55, 7], Operations: ['76-69=7']
Exploring Operation: 30+55=85, Resulting Numbers: [7, 85]
Generated Node #3: [7, 85] from Operation: 30+55=85
Current State: 92:[7, 85], Operations: ['76-69=7', '30+55=85']
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[69, 76, 30, 55], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [30, 55, 7]
Generated Node #0,0: 92:[30, 55, 7] Operation: 76-69=7
Moving to Node #0,0
Current State: 92:[30, 55, 7], Operations: ['76-69=7']
Exploring Operation: 55-30=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 92:[7, 25] Operation: 55-30=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[7, 25], Operations: ['76-69=7', '55-30=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
38,
32,
91
] | 29 | [
"68-38=30",
"91-32=59",
"59-30=29"
] | Current State: 29:[68, 38, 32, 91], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [32, 91, 30]
Generated Node #2: [32, 91, 30] from Operation: 68-38=30
Current State: 29:[32, 91, 30], Operations: ['68-38=30']
Exploring Operation: 91-32=59, Resulting Numbers: [30, 59]
Generated Node #3: [30, 59] from Operation: 91-32=59
Current State: 29:[30, 59], Operations: ['68-38=30', '91-32=59']
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[68, 38, 32, 91], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [32, 91, 30]
Generated Node #0,0: 29:[32, 91, 30] Operation: 68-38=30
Exploring Operation: 91-68=23, Resulting Numbers: [38, 32, 23]
Generated Node #0,1: 29:[38, 32, 23] Operation: 91-68=23
Exploring Operation: 91-38=53, Resulting Numbers: [68, 32, 53]
Generated Node #0,2: 29:[68, 32, 53] Operation: 91-38=53
Exploring Operation: 91-32=59, Resulting Numbers: [68, 38, 59]
Generated Node #0,3: 29:[68, 38, 59] Operation: 91-32=59
Exploring Operation: 68-32=36, Resulting Numbers: [38, 91, 36]
Generated Node #0,4: 29:[38, 91, 36] Operation: 68-32=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[38, 32, 23], Operations: ['91-68=23']
Exploring Operation: 38-32=6, Resulting Numbers: [23, 6]
Generated Node #0,1,0: 29:[23, 6] Operation: 38-32=6
Exploring Operation: 32+23=55, Resulting Numbers: [38, 55]
Generated Node #0,1,1: 29:[38, 55] Operation: 32+23=55
Exploring Operation: 38+23=61, Resulting Numbers: [32, 61]
Generated Node #0,1,2: 29:[32, 61] Operation: 38+23=61
Exploring Operation: 32-23=9, Resulting Numbers: [38, 9]
Generated Node #0,1,3: 29:[38, 9] Operation: 32-23=9
Exploring Operation: 38-23=15, Resulting Numbers: [32, 15]
Generated Node #0,1,4: 29:[32, 15] Operation: 38-23=15
Moving to Node #0,1,4
Current State: 29:[32, 15], Operations: ['91-68=23', '38-23=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,29 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[38, 9], Operations: ['91-68=23', '32-23=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[68, 38, 32, 91], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [38, 32, 23]
Generated Node #0,1: 29:[38, 32, 23] Operation: 91-68=23
Moving to Node #0,1
Current State: 29:[38, 32, 23], Operations: ['91-68=23']
Exploring Operation: 32-23=9, Resulting Numbers: [38, 9]
Generated Node #0,1,3: 29:[38, 9] Operation: 32-23=9
Moving to Node #0,1,3
Current State: 29:[38, 9], Operations: ['91-68=23', '32-23=9']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
91,
6,
8,
27
] | 59 | [
"91+27=118",
"8-6=2",
"118/2=59"
] | Current State: 59:[91, 6, 8, 27], Operations: []
Exploring Operation: 91+27=118, Resulting Numbers: [6, 8, 118]
Generated Node #2: [6, 8, 118] from Operation: 91+27=118
Current State: 59:[6, 8, 118], Operations: ['91+27=118']
Exploring Operation: 8-6=2, Resulting Numbers: [118, 2]
Generated Node #3: [118, 2] from Operation: 8-6=2
Current State: 59:[118, 2], Operations: ['91+27=118', '8-6=2']
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[91, 6, 8, 27], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [8, 27, 85]
Generated Node #0,0: 59:[8, 27, 85] Operation: 91-6=85
Exploring Operation: 6*8=48, Resulting Numbers: [91, 27, 48]
Generated Node #0,1: 59:[91, 27, 48] Operation: 6*8=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[91, 27, 48], Operations: ['6*8=48']
Exploring Operation: 91-48=43, Resulting Numbers: [27, 43]
Generated Node #0,1,0: 59:[27, 43] Operation: 91-48=43
Exploring Operation: 91-27=64, Resulting Numbers: [48, 64]
Generated Node #0,1,1: 59:[48, 64] Operation: 91-27=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[48, 64], Operations: ['6*8=48', '91-27=64']
Exploring Operation: 48+64=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No 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: 59:[27, 43], Operations: ['6*8=48', '91-48=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,59 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: 59:[8, 27, 85], Operations: ['91-6=85']
Exploring Operation: 85-8=77, Resulting Numbers: [27, 77]
Generated Node #0,0,0: 59:[27, 77] Operation: 85-8=77
Exploring Operation: 8+27=35, Resulting Numbers: [85, 35]
Generated Node #0,0,1: 59:[85, 35] Operation: 8+27=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[27, 77], Operations: ['91-6=85', '85-8=77']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,59 unequal: No Solution
No 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: 59:[85, 35], Operations: ['91-6=85', '8+27=35']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,59 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 |
[
56,
32,
28,
92
] | 32 | [
"56+32=88",
"28+92=120",
"120-88=32"
] | Current State: 32:[56, 32, 28, 92], Operations: []
Exploring Operation: 56+32=88, Resulting Numbers: [28, 92, 88]
Generated Node #2: [28, 92, 88] from Operation: 56+32=88
Current State: 32:[28, 92, 88], Operations: ['56+32=88']
Exploring Operation: 28+92=120, Resulting Numbers: [88, 120]
Generated Node #3: [88, 120] from Operation: 28+92=120
Current State: 32:[88, 120], Operations: ['56+32=88', '28+92=120']
Exploring Operation: 120-88=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[56, 32, 28, 92], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [56, 28, 60]
Generated Node #0,0: 32:[56, 28, 60] Operation: 92-32=60
Exploring Operation: 92-28=64, Resulting Numbers: [56, 32, 64]
Generated Node #0,1: 32:[56, 32, 64] Operation: 92-28=64
Exploring Operation: 92-56=36, Resulting Numbers: [32, 28, 36]
Generated Node #0,2: 32:[32, 28, 36] Operation: 92-56=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[32, 28, 36], Operations: ['92-56=36']
Exploring Operation: 36-32=4, Resulting Numbers: [28, 4]
Generated Node #0,2,0: 32:[28, 4] Operation: 36-32=4
Exploring Operation: 32-28=4, Resulting Numbers: [36, 4]
Generated Node #0,2,1: 32:[36, 4] Operation: 32-28=4
Exploring Operation: 36-28=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 32:[32, 8] Operation: 36-28=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 32:[32, 8], Operations: ['92-56=36', '36-28=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No 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: 32:[28, 4], Operations: ['92-56=36', '36-32=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[56, 32, 28, 92], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [32, 28, 36]
Generated Node #0,2: 32:[32, 28, 36] Operation: 92-56=36
Moving to Node #0,2
Current State: 32:[32, 28, 36], Operations: ['92-56=36']
Exploring Operation: 36-32=4, Resulting Numbers: [28, 4]
Generated Node #0,2,0: 32:[28, 4] Operation: 36-32=4
Moving to Node #0,2,0
Current State: 32:[28, 4], Operations: ['92-56=36', '36-32=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
63,
45,
10,
55
] | 35 | [
"63-55=8",
"10*8=80",
"80-45=35"
] | Current State: 35:[63, 45, 10, 55], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [45, 10, 8]
Generated Node #2: [45, 10, 8] from Operation: 63-55=8
Current State: 35:[45, 10, 8], Operations: ['63-55=8']
Exploring Operation: 10*8=80, Resulting Numbers: [45, 80]
Generated Node #3: [45, 80] from Operation: 10*8=80
Current State: 35:[45, 80], Operations: ['63-55=8', '10*8=80']
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[63, 45, 10, 55], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [45, 10, 8]
Generated Node #0,0: 35:[45, 10, 8] Operation: 63-55=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[45, 10, 8], Operations: ['63-55=8']
Exploring Operation: 45-10=35, Resulting Numbers: [8, 35]
Generated Node #0,0,0: 35:[8, 35] Operation: 45-10=35
Moving to Node #0,0,0
Current State: 35:[8, 35], Operations: ['63-55=8', '45-10=35']
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
18,
96,
85
] | 17 | [
"96-6=90",
"18*85=1530",
"1530/90=17"
] | Current State: 17:[6, 18, 96, 85], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [18, 85, 90]
Generated Node #2: [18, 85, 90] from Operation: 96-6=90
Current State: 17:[18, 85, 90], Operations: ['96-6=90']
Exploring Operation: 18*85=1530, Resulting Numbers: [90, 1530]
Generated Node #3: [90, 1530] from Operation: 18*85=1530
Current State: 17:[90, 1530], Operations: ['96-6=90', '18*85=1530']
Exploring Operation: 1530/90=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[6, 18, 96, 85], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [6, 18, 11]
Generated Node #0,0: 17:[6, 18, 11] Operation: 96-85=11
Exploring Operation: 96/6=16, Resulting Numbers: [18, 85, 16]
Generated Node #0,1: 17:[18, 85, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[6, 18, 11], Operations: ['96-85=11']
Exploring Operation: 18-6=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 17:[11, 12] Operation: 18-6=12
Exploring Operation: 6+11=17, Resulting Numbers: [18, 17]
Generated Node #0,0,1: 17:[18, 17] Operation: 6+11=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[18, 17], Operations: ['96-85=11', '6+11=17']
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,17 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,17 unequal: No Solution
No 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: 17:[11, 12], Operations: ['96-85=11', '18-6=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,17 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: 17:[18, 85, 16], Operations: ['96/6=16']
Exploring Operation: 85-18=67, Resulting Numbers: [16, 67]
Generated Node #0,1,0: 17:[16, 67] Operation: 85-18=67
Exploring Operation: 85-16=69, Resulting Numbers: [18, 69]
Generated Node #0,1,1: 17:[18, 69] Operation: 85-16=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[16, 67], Operations: ['96/6=16', '85-18=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,17 unequal: No Solution
No 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: 17:[18, 69], Operations: ['96/6=16', '85-16=69']
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,17 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,17 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 |
[
93,
12,
14,
56
] | 19 | [
"93+56=149",
"12*14=168",
"168-149=19"
] | Current State: 19:[93, 12, 14, 56], Operations: []
Exploring Operation: 93+56=149, Resulting Numbers: [12, 14, 149]
Generated Node #2: [12, 14, 149] from Operation: 93+56=149
Current State: 19:[12, 14, 149], Operations: ['93+56=149']
Exploring Operation: 12*14=168, Resulting Numbers: [149, 168]
Generated Node #3: [149, 168] from Operation: 12*14=168
Current State: 19:[149, 168], Operations: ['93+56=149', '12*14=168']
Exploring Operation: 168-149=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[93, 12, 14, 56], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [93, 12, 4]
Generated Node #0,0: 19:[93, 12, 4] Operation: 56/14=4
Exploring Operation: 93-12=81, Resulting Numbers: [14, 56, 81]
Generated Node #0,1: 19:[14, 56, 81] Operation: 93-12=81
Exploring Operation: 93-56=37, Resulting Numbers: [12, 14, 37]
Generated Node #0,2: 19:[12, 14, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[12, 14, 37], Operations: ['93-56=37']
Exploring Operation: 37-12=25, Resulting Numbers: [14, 25]
Generated Node #0,2,0: 19:[14, 25] Operation: 37-12=25
Exploring Operation: 12+14=26, Resulting Numbers: [37, 26]
Generated Node #0,2,1: 19:[37, 26] Operation: 12+14=26
Exploring Operation: 37-14=23, Resulting Numbers: [12, 23]
Generated Node #0,2,2: 19:[12, 23] Operation: 37-14=23
Moving to Node #0,2,0
Current State: 19:[14, 25], Operations: ['93-56=37', '37-12=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[12, 23], Operations: ['93-56=37', '37-14=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,19 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[37, 26], Operations: ['93-56=37', '12+14=26']
Exploring Operation: 37+26=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 37*26=962, Resulting Numbers: [962]
962,19 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[93, 12, 4], Operations: ['56/14=4']
Exploring Operation: 12+4=16, Resulting Numbers: [93, 16]
Generated Node #0,0,0: 19:[93, 16] Operation: 12+4=16
Exploring Operation: 93-12=81, Resulting Numbers: [4, 81]
Generated Node #0,0,1: 19:[4, 81] Operation: 93-12=81
Exploring Operation: 93-4=89, Resulting Numbers: [12, 89]
Generated Node #0,0,2: 19:[12, 89] Operation: 93-4=89
Moving to Node #0,0,0
Current State: 19:[93, 16], Operations: ['56/14=4', '12+4=16']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,19 unequal: No Solution
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[4, 81], Operations: ['56/14=4', '93-12=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[12, 89], Operations: ['56/14=4', '93-4=89']
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 12*89=1068, Resulting Numbers: [1068]
1068,19 unequal: No Solution
Exploring Operation: 12+89=101, Resulting Numbers: [101]
101,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[14, 56, 81], Operations: ['93-12=81']
Exploring Operation: 56/14=4, Resulting Numbers: [81, 4]
Generated Node #0,1,0: 19:[81, 4] Operation: 56/14=4
Exploring Operation: 81-56=25, Resulting Numbers: [14, 25]
Generated Node #0,1,1: 19:[14, 25] Operation: 81-56=25
Exploring Operation: 56-14=42, Resulting Numbers: [81, 42]
Generated Node #0,1,2: 19:[81, 42] Operation: 56-14=42
Moving to Node #0,1,1
Current State: 19:[14, 25], Operations: ['93-12=81', '81-56=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[81, 4], Operations: ['93-12=81', '56/14=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,19 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[81, 42], Operations: ['93-12=81', '56-14=42']
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,19 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,19 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 |
[
27,
52,
82,
83
] | 79 | [
"27+52=79",
"83-82=1",
"79*1=79"
] | Current State: 79:[27, 52, 82, 83], Operations: []
Exploring Operation: 27+52=79, Resulting Numbers: [82, 83, 79]
Generated Node #2: [82, 83, 79] from Operation: 27+52=79
Current State: 79:[82, 83, 79], Operations: ['27+52=79']
Exploring Operation: 83-82=1, Resulting Numbers: [79, 1]
Generated Node #3: [79, 1] from Operation: 83-82=1
Current State: 79:[79, 1], Operations: ['27+52=79', '83-82=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[27, 52, 82, 83], Operations: []
Exploring Operation: 27+52=79, Resulting Numbers: [82, 83, 79]
Generated Node #0,0: 79:[82, 83, 79] Operation: 27+52=79
Exploring Operation: 83-27=56, Resulting Numbers: [52, 82, 56]
Generated Node #0,1: 79:[52, 82, 56] Operation: 83-27=56
Moving to Node #0,0
Current State: 79:[82, 83, 79], Operations: ['27+52=79']
Exploring Operation: 83-82=1, Resulting Numbers: [79, 1]
Generated Node #0,0,0: 79:[79, 1] Operation: 83-82=1
Exploring Operation: 83-79=4, Resulting Numbers: [82, 4]
Generated Node #0,0,1: 79:[82, 4] Operation: 83-79=4
Moving to Node #0,1
Current State: 79:[52, 82, 56], Operations: ['83-27=56']
Exploring Operation: 52+56=108, Resulting Numbers: [82, 108]
Generated Node #0,1,0: 79:[82, 108] Operation: 52+56=108
Exploring Operation: 82-52=30, Resulting Numbers: [56, 30]
Generated Node #0,1,1: 79:[56, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[82, 108], Operations: ['83-27=56', '52+56=108']
Exploring Operation: 108-82=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 82+108=190, Resulting Numbers: [190]
190,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,1
Current State: 79:[56, 30], Operations: ['83-27=56', '82-52=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,79 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: 79:[79, 1], Operations: ['27+52=79', '83-82=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[27, 52, 82, 83], Operations: []
Exploring Operation: 27+52=79, Resulting Numbers: [82, 83, 79]
Generated Node #0,0: 79:[82, 83, 79] Operation: 27+52=79
Moving to Node #0,0
Current State: 79:[82, 83, 79], Operations: ['27+52=79']
Exploring Operation: 83-82=1, Resulting Numbers: [79, 1]
Generated Node #0,0,0: 79:[79, 1] Operation: 83-82=1
Moving to Node #0,0,0
Current State: 79:[79, 1], Operations: ['27+52=79', '83-82=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
46,
48,
59,
30
] | 88 | [
"48-46=2",
"59*2=118",
"118-30=88"
] | Current State: 88:[46, 48, 59, 30], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [59, 30, 2]
Generated Node #2: [59, 30, 2] from Operation: 48-46=2
Current State: 88:[59, 30, 2], Operations: ['48-46=2']
Exploring Operation: 59*2=118, Resulting Numbers: [30, 118]
Generated Node #3: [30, 118] from Operation: 59*2=118
Current State: 88:[30, 118], Operations: ['48-46=2', '59*2=118']
Exploring Operation: 118-30=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[46, 48, 59, 30], Operations: []
Exploring Operation: 59+30=89, Resulting Numbers: [46, 48, 89]
Generated Node #0,0: 88:[46, 48, 89] Operation: 59+30=89
Exploring Operation: 59-48=11, Resulting Numbers: [46, 30, 11]
Generated Node #0,1: 88:[46, 30, 11] Operation: 59-48=11
Moving to Node #0,0
Current State: 88:[46, 48, 89], Operations: ['59+30=89']
Exploring Operation: 89-46=43, Resulting Numbers: [48, 43]
Generated Node #0,0,0: 88:[48, 43] Operation: 89-46=43
Exploring Operation: 48-46=2, Resulting Numbers: [89, 2]
Generated Node #0,0,1: 88:[89, 2] Operation: 48-46=2
Moving to Node #0,1
Current State: 88:[46, 30, 11], Operations: ['59-48=11']
Exploring Operation: 46-30=16, Resulting Numbers: [11, 16]
Generated Node #0,1,0: 88:[11, 16] Operation: 46-30=16
Exploring Operation: 30+11=41, Resulting Numbers: [46, 41]
Generated Node #0,1,1: 88:[46, 41] Operation: 30+11=41
Moving to Node #0,0,1
Current State: 88:[89, 2], Operations: ['59+30=89', '48-46=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[11, 16], Operations: ['59-48=11', '46-30=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,88 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[48, 43], Operations: ['59+30=89', '89-46=43']
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,88 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[46, 41], Operations: ['59-48=11', '30+11=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
88,
99,
48
] | 49 | [
"90-88=2",
"99-48=51",
"51-2=49"
] | Current State: 49:[90, 88, 99, 48], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [99, 48, 2]
Generated Node #2: [99, 48, 2] from Operation: 90-88=2
Current State: 49:[99, 48, 2], Operations: ['90-88=2']
Exploring Operation: 99-48=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 99-48=51
Current State: 49:[2, 51], Operations: ['90-88=2', '99-48=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[90, 88, 99, 48], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [90, 48, 11]
Generated Node #0,0: 49:[90, 48, 11] Operation: 99-88=11
Exploring Operation: 99-90=9, Resulting Numbers: [88, 48, 9]
Generated Node #0,1: 49:[88, 48, 9] Operation: 99-90=9
Exploring Operation: 90-88=2, Resulting Numbers: [99, 48, 2]
Generated Node #0,2: 49:[99, 48, 2] Operation: 90-88=2
Moving to Node #0,1
Current State: 49:[88, 48, 9], Operations: ['99-90=9']
Exploring Operation: 48+9=57, Resulting Numbers: [88, 57]
Generated Node #0,1,0: 49:[88, 57] Operation: 48+9=57
Exploring Operation: 88-9=79, Resulting Numbers: [48, 79]
Generated Node #0,1,1: 49:[48, 79] Operation: 88-9=79
Exploring Operation: 88-48=40, Resulting Numbers: [9, 40]
Generated Node #0,1,2: 49:[9, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[9, 40], Operations: ['99-90=9', '88-48=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[90, 88, 99, 48], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [88, 48, 9]
Generated Node #0,1: 49:[88, 48, 9] Operation: 99-90=9
Moving to Node #0,1
Current State: 49:[88, 48, 9], Operations: ['99-90=9']
Exploring Operation: 88-48=40, Resulting Numbers: [9, 40]
Generated Node #0,1,2: 49:[9, 40] Operation: 88-48=40
Moving to Node #0,1,2
Current State: 49:[9, 40], Operations: ['99-90=9', '88-48=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
75,
11,
9,
84
] | 12 | [
"75+9=84",
"84/84=1",
"11+1=12"
] | Current State: 12:[75, 11, 9, 84], Operations: []
Exploring Operation: 75+9=84, Resulting Numbers: [11, 84, 84]
Generated Node #2: [11, 84, 84] from Operation: 75+9=84
Current State: 12:[11, 84, 84], Operations: ['75+9=84']
Exploring Operation: 84/84=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 84/84=1
Current State: 12:[11, 1], Operations: ['75+9=84', '84/84=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[75, 11, 9, 84], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [11, 9, 9]
Generated Node #0,0: 12:[11, 9, 9] Operation: 84-75=9
Exploring Operation: 75-11=64, Resulting Numbers: [9, 84, 64]
Generated Node #0,1: 12:[9, 84, 64] Operation: 75-11=64
Moving to Node #0,0
Current State: 12:[11, 9, 9], Operations: ['84-75=9']
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 12:[11, 1] Operation: 9/9=1
Exploring Operation: 11-9=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 12:[9, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[11, 1], Operations: ['84-75=9', '9/9=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[75, 11, 9, 84], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [11, 9, 9]
Generated Node #0,0: 12:[11, 9, 9] Operation: 84-75=9
Moving to Node #0,0
Current State: 12:[11, 9, 9], Operations: ['84-75=9']
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 12:[11, 1] Operation: 9/9=1
Moving to Node #0,0,0
Current State: 12:[11, 1], Operations: ['84-75=9', '9/9=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
74,
6,
21,
93
] | 55 | [
"21+93=114",
"114/6=19",
"74-19=55"
] | Current State: 55:[74, 6, 21, 93], Operations: []
Exploring Operation: 21+93=114, Resulting Numbers: [74, 6, 114]
Generated Node #2: [74, 6, 114] from Operation: 21+93=114
Current State: 55:[74, 6, 114], Operations: ['21+93=114']
Exploring Operation: 114/6=19, Resulting Numbers: [74, 19]
Generated Node #3: [74, 19] from Operation: 114/6=19
Current State: 55:[74, 19], Operations: ['21+93=114', '114/6=19']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[74, 6, 21, 93], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [74, 6, 72]
Generated Node #0,0: 55:[74, 6, 72] Operation: 93-21=72
Exploring Operation: 93-74=19, Resulting Numbers: [6, 21, 19]
Generated Node #0,1: 55:[6, 21, 19] Operation: 93-74=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[6, 21, 19], Operations: ['93-74=19']
Exploring Operation: 21-6=15, Resulting Numbers: [19, 15]
Generated Node #0,1,0: 55:[19, 15] Operation: 21-6=15
Exploring Operation: 21-19=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 55:[6, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[6, 2], Operations: ['93-74=19', '21-19=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[19, 15], Operations: ['93-74=19', '21-6=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[74, 6, 72], Operations: ['93-21=72']
Exploring Operation: 72/6=12, Resulting Numbers: [74, 12]
Generated Node #0,0,0: 55:[74, 12] Operation: 72/6=12
Exploring Operation: 74-72=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 55:[6, 2] Operation: 74-72=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[6, 2], Operations: ['93-21=72', '74-72=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[74, 12], Operations: ['93-21=72', '72/6=12']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
11,
74,
10
] | 67 | [
"81-11=70",
"70/10=7",
"74-7=67"
] | Current State: 67:[81, 11, 74, 10], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [74, 10, 70]
Generated Node #2: [74, 10, 70] from Operation: 81-11=70
Current State: 67:[74, 10, 70], Operations: ['81-11=70']
Exploring Operation: 70/10=7, Resulting Numbers: [74, 7]
Generated Node #3: [74, 7] from Operation: 70/10=7
Current State: 67:[74, 7], Operations: ['81-11=70', '70/10=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[81, 11, 74, 10], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [74, 10, 70]
Generated Node #0,0: 67:[74, 10, 70] Operation: 81-11=70
Exploring Operation: 81-10=71, Resulting Numbers: [11, 74, 71]
Generated Node #0,1: 67:[11, 74, 71] Operation: 81-10=71
Exploring Operation: 11*10=110, Resulting Numbers: [81, 74, 110]
Generated Node #0,2: 67:[81, 74, 110] Operation: 11*10=110
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[81, 74, 110], Operations: ['11*10=110']
Exploring Operation: 110-81=29, Resulting Numbers: [74, 29]
Generated Node #0,2,0: 67:[74, 29] Operation: 110-81=29
Exploring Operation: 81-74=7, Resulting Numbers: [110, 7]
Generated Node #0,2,1: 67:[110, 7] Operation: 81-74=7
Exploring Operation: 110-74=36, Resulting Numbers: [81, 36]
Generated Node #0,2,2: 67:[81, 36] Operation: 110-74=36
Moving to Node #0,2,0
Current State: 67:[74, 29], Operations: ['11*10=110', '110-81=29']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,67 unequal: No Solution
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[81, 36], Operations: ['11*10=110', '110-74=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,67 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[110, 7], Operations: ['11*10=110', '81-74=7']
Exploring Operation: 110-7=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 110*7=770, Resulting Numbers: [770]
770,67 unequal: No Solution
Exploring Operation: 110+7=117, Resulting Numbers: [117]
117,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[74, 10, 70], Operations: ['81-11=70']
Exploring Operation: 74+10=84, Resulting Numbers: [70, 84]
Generated Node #0,0,0: 67:[70, 84] Operation: 74+10=84
Exploring Operation: 70-10=60, Resulting Numbers: [74, 60]
Generated Node #0,0,1: 67:[74, 60] Operation: 70-10=60
Exploring Operation: 74-10=64, Resulting Numbers: [70, 64]
Generated Node #0,0,2: 67:[70, 64] Operation: 74-10=64
Moving to Node #0,0,2
Current State: 67:[70, 64], Operations: ['81-11=70', '74-10=64']
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,67 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[74, 60], Operations: ['81-11=70', '70-10=60']
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,67 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[70, 84], Operations: ['81-11=70', '74+10=84']
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,67 unequal: No Solution
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,67 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,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:[11, 74, 71], Operations: ['81-10=71']
Exploring Operation: 71-11=60, Resulting Numbers: [74, 60]
Generated Node #0,1,0: 67:[74, 60] Operation: 71-11=60
Exploring Operation: 11+74=85, Resulting Numbers: [71, 85]
Generated Node #0,1,1: 67:[71, 85] Operation: 11+74=85
Exploring Operation: 74-11=63, Resulting Numbers: [71, 63]
Generated Node #0,1,2: 67:[71, 63] Operation: 74-11=63
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[71, 63], Operations: ['81-10=71', '74-11=63']
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,67 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,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:[74, 60], Operations: ['81-10=71', '71-11=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[71, 85], Operations: ['81-10=71', '11+74=85']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,67 unequal: No Solution
Exploring Operation: 71*85=6035, Resulting Numbers: [6035]
6035,67 unequal: No Solution
Exploring Operation: 71+85=156, Resulting Numbers: [156]
156,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
63,
93,
78
] | 75 | [
"27+63=90",
"93-78=15",
"90-15=75"
] | Current State: 75:[27, 63, 93, 78], Operations: []
Exploring Operation: 27+63=90, Resulting Numbers: [93, 78, 90]
Generated Node #2: [93, 78, 90] from Operation: 27+63=90
Current State: 75:[93, 78, 90], Operations: ['27+63=90']
Exploring Operation: 93-78=15, Resulting Numbers: [90, 15]
Generated Node #3: [90, 15] from Operation: 93-78=15
Current State: 75:[90, 15], Operations: ['27+63=90', '93-78=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[27, 63, 93, 78], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [27, 93, 15]
Generated Node #0,0: 75:[27, 93, 15] Operation: 78-63=15
Exploring Operation: 93-78=15, Resulting Numbers: [27, 63, 15]
Generated Node #0,1: 75:[27, 63, 15] Operation: 93-78=15
Exploring Operation: 93-63=30, Resulting Numbers: [27, 78, 30]
Generated Node #0,2: 75:[27, 78, 30] Operation: 93-63=30
Exploring Operation: 93-27=66, Resulting Numbers: [63, 78, 66]
Generated Node #0,3: 75:[63, 78, 66] Operation: 93-27=66
Moving to Node #0,2
Current State: 75:[27, 78, 30], Operations: ['93-63=30']
Exploring Operation: 78-27=51, Resulting Numbers: [30, 51]
Generated Node #0,2,0: 75:[30, 51] Operation: 78-27=51
Exploring Operation: 27+30=57, Resulting Numbers: [78, 57]
Generated Node #0,2,1: 75:[78, 57] Operation: 27+30=57
Exploring Operation: 30-27=3, Resulting Numbers: [78, 3]
Generated Node #0,2,2: 75:[78, 3] Operation: 30-27=3
Exploring Operation: 78-30=48, Resulting Numbers: [27, 48]
Generated Node #0,2,3: 75:[27, 48] Operation: 78-30=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[78, 3], Operations: ['93-63=30', '30-27=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[27, 63, 93, 78], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [27, 78, 30]
Generated Node #0,2: 75:[27, 78, 30] Operation: 93-63=30
Moving to Node #0,2
Current State: 75:[27, 78, 30], Operations: ['93-63=30']
Exploring Operation: 30-27=3, Resulting Numbers: [78, 3]
Generated Node #0,2,2: 75:[78, 3] Operation: 30-27=3
Moving to Node #0,2,2
Current State: 75:[78, 3], Operations: ['93-63=30', '30-27=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
82,
5,
63,
36
] | 61 | [
"5+36=41",
"82/41=2",
"63-2=61"
] | Current State: 61:[82, 5, 63, 36], Operations: []
Exploring Operation: 5+36=41, Resulting Numbers: [82, 63, 41]
Generated Node #2: [82, 63, 41] from Operation: 5+36=41
Current State: 61:[82, 63, 41], Operations: ['5+36=41']
Exploring Operation: 82/41=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 82/41=2
Current State: 61:[63, 2], Operations: ['5+36=41', '82/41=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[82, 5, 63, 36], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [63, 36, 77]
Generated Node #0,0: 61:[63, 36, 77] Operation: 82-5=77
Moving to Node #0,0
Current State: 61:[63, 36, 77], Operations: ['82-5=77']
Exploring Operation: 77-36=41, Resulting Numbers: [63, 41]
Generated Node #0,0,0: 61:[63, 41] Operation: 77-36=41
Moving to Node #0,0,0
Current State: 61:[63, 41], Operations: ['82-5=77', '77-36=41']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,61 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
99,
53,
24
] | 13 | [
"99-57=42",
"53-24=29",
"42-29=13"
] | Current State: 13:[57, 99, 53, 24], Operations: []
Exploring Operation: 99-57=42, Resulting Numbers: [53, 24, 42]
Generated Node #2: [53, 24, 42] from Operation: 99-57=42
Current State: 13:[53, 24, 42], Operations: ['99-57=42']
Exploring Operation: 53-24=29, Resulting Numbers: [42, 29]
Generated Node #3: [42, 29] from Operation: 53-24=29
Current State: 13:[42, 29], Operations: ['99-57=42', '53-24=29']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[57, 99, 53, 24], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [57, 53, 75]
Generated Node #0,0: 13:[57, 53, 75] Operation: 99-24=75
Exploring Operation: 57-53=4, Resulting Numbers: [99, 24, 4]
Generated Node #0,1: 13:[99, 24, 4] Operation: 57-53=4
Exploring Operation: 99-53=46, Resulting Numbers: [57, 24, 46]
Generated Node #0,2: 13:[57, 24, 46] Operation: 99-53=46
Exploring Operation: 99-57=42, Resulting Numbers: [53, 24, 42]
Generated Node #0,3: 13:[53, 24, 42] Operation: 99-57=42
Exploring Operation: 57-24=33, Resulting Numbers: [99, 53, 33]
Generated Node #0,4: 13:[99, 53, 33] Operation: 57-24=33
Moving to Node #0,3
Current State: 13:[53, 24, 42], Operations: ['99-57=42']
Exploring Operation: 53-42=11, Resulting Numbers: [24, 11]
Generated Node #0,3,0: 13:[24, 11] Operation: 53-42=11
Exploring Operation: 53-24=29, Resulting Numbers: [42, 29]
Generated Node #0,3,1: 13:[42, 29] Operation: 53-24=29
Exploring Operation: 53+42=95, Resulting Numbers: [24, 95]
Generated Node #0,3,2: 13:[24, 95] Operation: 53+42=95
Exploring Operation: 53+24=77, Resulting Numbers: [42, 77]
Generated Node #0,3,3: 13:[42, 77] Operation: 53+24=77
Exploring Operation: 42-24=18, Resulting Numbers: [53, 18]
Generated Node #0,3,4: 13:[53, 18] Operation: 42-24=18
Moving to Node #0,2
Current State: 13:[57, 24, 46], Operations: ['99-53=46']
Exploring Operation: 57-46=11, Resulting Numbers: [24, 11]
Generated Node #0,2,0: 13:[24, 11] Operation: 57-46=11
Exploring Operation: 46-24=22, Resulting Numbers: [57, 22]
Generated Node #0,2,1: 13:[57, 22] Operation: 46-24=22
Exploring Operation: 57+24=81, Resulting Numbers: [46, 81]
Generated Node #0,2,2: 13:[46, 81] Operation: 57+24=81
Exploring Operation: 57-24=33, Resulting Numbers: [46, 33]
Generated Node #0,2,3: 13:[46, 33] Operation: 57-24=33
Exploring Operation: 57+46=103, Resulting Numbers: [24, 103]
Generated Node #0,2,4: 13:[24, 103] Operation: 57+46=103
Moving to Node #0,1
Current State: 13:[99, 24, 4], Operations: ['57-53=4']
Exploring Operation: 99+4=103, Resulting Numbers: [24, 103]
Generated Node #0,1,0: 13:[24, 103] Operation: 99+4=103
Exploring Operation: 99-24=75, Resulting Numbers: [4, 75]
Generated Node #0,1,1: 13:[4, 75] Operation: 99-24=75
Exploring Operation: 24-4=20, Resulting Numbers: [99, 20]
Generated Node #0,1,2: 13:[99, 20] Operation: 24-4=20
Exploring Operation: 99-4=95, Resulting Numbers: [24, 95]
Generated Node #0,1,3: 13:[24, 95] Operation: 99-4=95
Exploring Operation: 24/4=6, Resulting Numbers: [99, 6]
Generated Node #0,1,4: 13:[99, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[4, 75], Operations: ['57-53=4', '99-24=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,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:[99, 20], Operations: ['57-53=4', '24-4=20']
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,13 unequal: No Solution
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[24, 95], Operations: ['57-53=4', '99-4=95']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,13 unequal: No Solution
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,13 unequal: No Solution
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[99, 6], Operations: ['57-53=4', '24/4=6']
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,13 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,13 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[24, 103], Operations: ['57-53=4', '99+4=103']
Exploring Operation: 24*103=2472, Resulting Numbers: [2472]
2472,13 unequal: No Solution
Exploring Operation: 24+103=127, Resulting Numbers: [127]
127,13 unequal: No Solution
Exploring Operation: 103-24=79, Resulting Numbers: [79]
79,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[57, 53, 75], Operations: ['99-24=75']
Exploring Operation: 75-57=18, Resulting Numbers: [53, 18]
Generated Node #0,0,0: 13:[53, 18] Operation: 75-57=18
Exploring Operation: 57+53=110, Resulting Numbers: [75, 110]
Generated Node #0,0,1: 13:[75, 110] Operation: 57+53=110
Exploring Operation: 75-53=22, Resulting Numbers: [57, 22]
Generated Node #0,0,2: 13:[57, 22] Operation: 75-53=22
Exploring Operation: 57-53=4, Resulting Numbers: [75, 4]
Generated Node #0,0,3: 13:[75, 4] Operation: 57-53=4
Exploring Operation: 57+75=132, Resulting Numbers: [53, 132]
Generated Node #0,0,4: 13:[53, 132] Operation: 57+75=132
Moving to Node #0,4
Current State: 13:[99, 53, 33], Operations: ['57-24=33']
Exploring Operation: 99/33=3, Resulting Numbers: [53, 3]
Generated Node #0,4,0: 13:[53, 3] Operation: 99/33=3
Exploring Operation: 53-33=20, Resulting Numbers: [99, 20]
Generated Node #0,4,1: 13:[99, 20] Operation: 53-33=20
Exploring Operation: 99-53=46, Resulting Numbers: [33, 46]
Generated Node #0,4,2: 13:[33, 46] Operation: 99-53=46
Exploring Operation: 99-33=66, Resulting Numbers: [53, 66]
Generated Node #0,4,3: 13:[53, 66] Operation: 99-33=66
Exploring Operation: 99+53=152, Resulting Numbers: [33, 152]
Generated Node #0,4,4: 13:[33, 152] Operation: 99+53=152
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 13:[53, 3], Operations: ['57-24=33', '99/33=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,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,4,2
Current State: 13:[33, 46], Operations: ['57-24=33', '99-53=46']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[57, 99, 53, 24], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [99, 53, 33]
Generated Node #0,4: 13:[99, 53, 33] Operation: 57-24=33
Moving to Node #0,4
Current State: 13:[99, 53, 33], Operations: ['57-24=33']
Exploring Operation: 99-53=46, Resulting Numbers: [33, 46]
Generated Node #0,4,2: 13:[33, 46] Operation: 99-53=46
Moving to Node #0,4,2
Current State: 13:[33, 46], Operations: ['57-24=33', '99-53=46']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | mult_heuristic |
[
62,
23,
51,
20
] | 25 | [
"51-20=31",
"62/31=2",
"23+2=25"
] | Current State: 25:[62, 23, 51, 20], Operations: []
Exploring Operation: 51-20=31, Resulting Numbers: [62, 23, 31]
Generated Node #2: [62, 23, 31] from Operation: 51-20=31
Current State: 25:[62, 23, 31], Operations: ['51-20=31']
Exploring Operation: 62/31=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 62/31=2
Current State: 25:[23, 2], Operations: ['51-20=31', '62/31=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[62, 23, 51, 20], Operations: []
Exploring Operation: 51-23=28, Resulting Numbers: [62, 20, 28]
Generated Node #0,0: 25:[62, 20, 28] Operation: 51-23=28
Exploring Operation: 62-51=11, Resulting Numbers: [23, 20, 11]
Generated Node #0,1: 25:[23, 20, 11] Operation: 62-51=11
Exploring Operation: 62-23=39, Resulting Numbers: [51, 20, 39]
Generated Node #0,2: 25:[51, 20, 39] Operation: 62-23=39
Exploring Operation: 62-20=42, Resulting Numbers: [23, 51, 42]
Generated Node #0,3: 25:[23, 51, 42] Operation: 62-20=42
Moving to Node #0,1
Current State: 25:[23, 20, 11], Operations: ['62-51=11']
Exploring Operation: 20+11=31, Resulting Numbers: [23, 31]
Generated Node #0,1,0: 25:[23, 31] Operation: 20+11=31
Exploring Operation: 23-11=12, Resulting Numbers: [20, 12]
Generated Node #0,1,1: 25:[20, 12] Operation: 23-11=12
Exploring Operation: 20-11=9, Resulting Numbers: [23, 9]
Generated Node #0,1,2: 25:[23, 9] Operation: 20-11=9
Exploring Operation: 23-20=3, Resulting Numbers: [11, 3]
Generated Node #0,1,3: 25:[11, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[23, 9], Operations: ['62-51=11', '20-11=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,25 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[23, 31], Operations: ['62-51=11', '20+11=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[11, 3], Operations: ['62-51=11', '23-20=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[20, 12], Operations: ['62-51=11', '23-11=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,25 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,25 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: 25:[51, 20, 39], Operations: ['62-23=39']
Exploring Operation: 39-20=19, Resulting Numbers: [51, 19]
Generated Node #0,2,0: 25:[51, 19] Operation: 39-20=19
Exploring Operation: 51+20=71, Resulting Numbers: [39, 71]
Generated Node #0,2,1: 25:[39, 71] Operation: 51+20=71
Exploring Operation: 51-20=31, Resulting Numbers: [39, 31]
Generated Node #0,2,2: 25:[39, 31] Operation: 51-20=31
Exploring Operation: 51-39=12, Resulting Numbers: [20, 12]
Generated Node #0,2,3: 25:[20, 12] Operation: 51-39=12
Moving to Node #0,0
Current State: 25:[62, 20, 28], Operations: ['51-23=28']
Exploring Operation: 62-28=34, Resulting Numbers: [20, 34]
Generated Node #0,0,0: 25:[20, 34] Operation: 62-28=34
Exploring Operation: 28-20=8, Resulting Numbers: [62, 8]
Generated Node #0,0,1: 25:[62, 8] Operation: 28-20=8
Exploring Operation: 62-20=42, Resulting Numbers: [28, 42]
Generated Node #0,0,2: 25:[28, 42] Operation: 62-20=42
Exploring Operation: 62+20=82, Resulting Numbers: [28, 82]
Generated Node #0,0,3: 25:[28, 82] Operation: 62+20=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[20, 34], Operations: ['51-23=28', '62-28=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[28, 42], Operations: ['51-23=28', '62-20=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,25 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[62, 8], Operations: ['51-23=28', '28-20=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[28, 82], Operations: ['51-23=28', '62+20=82']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,25 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: 25:[23, 51, 42], Operations: ['62-20=42']
Exploring Operation: 51-23=28, Resulting Numbers: [42, 28]
Generated Node #0,3,0: 25:[42, 28] Operation: 51-23=28
Exploring Operation: 51-42=9, Resulting Numbers: [23, 9]
Generated Node #0,3,1: 25:[23, 9] Operation: 51-42=9
Exploring Operation: 23+51=74, Resulting Numbers: [42, 74]
Generated Node #0,3,2: 25:[42, 74] Operation: 23+51=74
Exploring Operation: 42-23=19, Resulting Numbers: [51, 19]
Generated Node #0,3,3: 25:[51, 19] Operation: 42-23=19
Moving to Node #0,3,1
Current State: 25:[23, 9], Operations: ['62-20=42', '51-42=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,25 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[20, 12], Operations: ['62-23=39', '51-39=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[42, 28], Operations: ['62-20=42', '51-23=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,25 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[39, 31], Operations: ['62-23=39', '51-20=31']
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,25 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[51, 19], Operations: ['62-23=39', '39-20=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,25 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[51, 19], Operations: ['62-20=42', '42-23=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[39, 71], Operations: ['62-23=39', '51+20=71']
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[42, 74], Operations: ['62-20=42', '23+51=74']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,25 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
37,
45,
63,
18
] | 65 | [
"63-37=26",
"45*26=1170",
"1170/18=65"
] | Current State: 65:[37, 45, 63, 18], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [45, 18, 26]
Generated Node #2: [45, 18, 26] from Operation: 63-37=26
Current State: 65:[45, 18, 26], Operations: ['63-37=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [18, 1170]
Generated Node #3: [18, 1170] from Operation: 45*26=1170
Current State: 65:[18, 1170], Operations: ['63-37=26', '45*26=1170']
Exploring Operation: 1170/18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[37, 45, 63, 18], Operations: []
Exploring Operation: 45+18=63, Resulting Numbers: [37, 63, 63]
Generated Node #0,0: 65:[37, 63, 63] Operation: 45+18=63
Exploring Operation: 37+18=55, Resulting Numbers: [45, 63, 55]
Generated Node #0,1: 65:[45, 63, 55] Operation: 37+18=55
Exploring Operation: 37+45=82, Resulting Numbers: [63, 18, 82]
Generated Node #0,2: 65:[63, 18, 82] Operation: 37+45=82
Exploring Operation: 45-37=8, Resulting Numbers: [63, 18, 8]
Generated Node #0,3: 65:[63, 18, 8] Operation: 45-37=8
Exploring Operation: 37-18=19, Resulting Numbers: [45, 63, 19]
Generated Node #0,4: 65:[45, 63, 19] Operation: 37-18=19
Moving to Node #0,3
Current State: 65:[63, 18, 8], Operations: ['45-37=8']
Exploring Operation: 63-8=55, Resulting Numbers: [18, 55]
Generated Node #0,3,0: 65:[18, 55] Operation: 63-8=55
Exploring Operation: 18+8=26, Resulting Numbers: [63, 26]
Generated Node #0,3,1: 65:[63, 26] Operation: 18+8=26
Exploring Operation: 63+18=81, Resulting Numbers: [8, 81]
Generated Node #0,3,2: 65:[8, 81] Operation: 63+18=81
Exploring Operation: 18-8=10, Resulting Numbers: [63, 10]
Generated Node #0,3,3: 65:[63, 10] Operation: 18-8=10
Exploring Operation: 63+8=71, Resulting Numbers: [18, 71]
Generated Node #0,3,4: 65:[18, 71] Operation: 63+8=71
Moving to Node #0,2
Current State: 65:[63, 18, 82], Operations: ['37+45=82']
Exploring Operation: 63-18=45, Resulting Numbers: [82, 45]
Generated Node #0,2,0: 65:[82, 45] Operation: 63-18=45
Exploring Operation: 82-18=64, Resulting Numbers: [63, 64]
Generated Node #0,2,1: 65:[63, 64] Operation: 82-18=64
Exploring Operation: 18+82=100, Resulting Numbers: [63, 100]
Generated Node #0,2,2: 65:[63, 100] Operation: 18+82=100
Exploring Operation: 82-63=19, Resulting Numbers: [18, 19]
Generated Node #0,2,3: 65:[18, 19] Operation: 82-63=19
Exploring Operation: 63+18=81, Resulting Numbers: [82, 81]
Generated Node #0,2,4: 65:[82, 81] Operation: 63+18=81
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[63, 64], Operations: ['37+45=82', '82-18=64']
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[18, 19], Operations: ['37+45=82', '82-63=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[82, 81], Operations: ['37+45=82', '63+18=81']
Exploring Operation: 82*81=6642, Resulting Numbers: [6642]
6642,65 unequal: No Solution
Exploring Operation: 82+81=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[82, 45], Operations: ['37+45=82', '63-18=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,65 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[63, 100], Operations: ['37+45=82', '18+82=100']
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,65 unequal: No Solution
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,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:[37, 63, 63], Operations: ['45+18=63']
Exploring Operation: 63/63=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 65:[37, 1] Operation: 63/63=1
Exploring Operation: 63-37=26, Resulting Numbers: [63, 26]
Generated Node #0,0,1: 65:[63, 26] Operation: 63-37=26
Exploring Operation: 37+63=100, Resulting Numbers: [63, 100]
Generated Node #0,0,2: 65:[63, 100] Operation: 37+63=100
Exploring Operation: 63-63=0, Resulting Numbers: [37, 0]
Generated Node #0,0,3: 65:[37, 0] Operation: 63-63=0
Exploring Operation: 63-37=26, Resulting Numbers: [63, 26]
Generated Node #0,0,4: 65:[63, 26] Operation: 63-37=26
Moving to Node #0,4
Current State: 65:[45, 63, 19], Operations: ['37-18=19']
Exploring Operation: 63-19=44, Resulting Numbers: [45, 44]
Generated Node #0,4,0: 65:[45, 44] Operation: 63-19=44
Exploring Operation: 45-19=26, Resulting Numbers: [63, 26]
Generated Node #0,4,1: 65:[63, 26] Operation: 45-19=26
Exploring Operation: 63-45=18, Resulting Numbers: [19, 18]
Generated Node #0,4,2: 65:[19, 18] Operation: 63-45=18
Exploring Operation: 63+19=82, Resulting Numbers: [45, 82]
Generated Node #0,4,3: 65:[45, 82] Operation: 63+19=82
Exploring Operation: 45+19=64, Resulting Numbers: [63, 64]
Generated Node #0,4,4: 65:[63, 64] Operation: 45+19=64
Moving to Node #0,1
Current State: 65:[45, 63, 55], Operations: ['37+18=55']
Exploring Operation: 63-45=18, Resulting Numbers: [55, 18]
Generated Node #0,1,0: 65:[55, 18] Operation: 63-45=18
Exploring Operation: 45+63=108, Resulting Numbers: [55, 108]
Generated Node #0,1,1: 65:[55, 108] Operation: 45+63=108
Exploring Operation: 63-55=8, Resulting Numbers: [45, 8]
Generated Node #0,1,2: 65:[45, 8] Operation: 63-55=8
Exploring Operation: 45+55=100, Resulting Numbers: [63, 100]
Generated Node #0,1,3: 65:[63, 100] Operation: 45+55=100
Exploring Operation: 55-45=10, Resulting Numbers: [63, 10]
Generated Node #0,1,4: 65:[63, 10] Operation: 55-45=10
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[63, 10], Operations: ['37+18=55', '55-45=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[55, 18], Operations: ['37+18=55', '63-45=18']
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,65 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[45, 8], Operations: ['37+18=55', '63-55=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[63, 100], Operations: ['37+18=55', '45+55=100']
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,65 unequal: No Solution
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[55, 108], Operations: ['37+18=55', '45+63=108']
Exploring Operation: 108-55=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 55+108=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 55*108=5940, Resulting Numbers: [5940]
5940,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 65:[63, 64], Operations: ['37-18=19', '45+19=64']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,65 unequal: No Solution
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[63, 10], Operations: ['45-37=8', '18-8=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[19, 18], Operations: ['37-18=19', '63-45=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[18, 71], Operations: ['45-37=8', '63+8=71']
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 18*71=1278, Resulting Numbers: [1278]
1278,65 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[63, 26], Operations: ['45+18=63', '63-37=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[18, 55], Operations: ['45-37=8', '63-8=55']
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,65 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[63, 26], Operations: ['45+18=63', '63-37=26']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,65 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[63, 26], Operations: ['45-37=8', '18+8=26']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,65 unequal: No Solution
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[63, 26], Operations: ['37-18=19', '45-19=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[8, 81], Operations: ['45-37=8', '63+18=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[37, 1], Operations: ['45+18=63', '63/63=1']
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,65 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[37, 0], Operations: ['45+18=63', '63-63=0']
Exploring Operation: 37+0=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 37*0=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 37-0=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[45, 82], Operations: ['37-18=19', '63+19=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[63, 100], Operations: ['45+18=63', '37+63=100']
Exploring Operation: 63+100=163, Resulting Numbers: [163]
163,65 unequal: No Solution
Exploring Operation: 100-63=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 63*100=6300, Resulting Numbers: [6300]
6300,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[45, 44], Operations: ['37-18=19', '63-19=44']
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
13,
35,
2
] | 18 | [
"13+13=26",
"35-26=9",
"2*9=18"
] | Current State: 18:[13, 13, 35, 2], Operations: []
Exploring Operation: 13+13=26, Resulting Numbers: [35, 2, 26]
Generated Node #2: [35, 2, 26] from Operation: 13+13=26
Current State: 18:[35, 2, 26], Operations: ['13+13=26']
Exploring Operation: 35-26=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 35-26=9
Current State: 18:[2, 9], Operations: ['13+13=26', '35-26=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 13, 35, 2], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [13, 2, 22]
Generated Node #0,0: 18:[13, 2, 22] Operation: 35-13=22
Exploring Operation: 35-13=22, Resulting Numbers: [13, 2, 22]
Generated Node #0,1: 18:[13, 2, 22] Operation: 35-13=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[13, 2, 22], Operations: ['35-13=22']
Exploring Operation: 13-2=11, Resulting Numbers: [22, 11]
Generated Node #0,0,0: 18:[22, 11] Operation: 13-2=11
Exploring Operation: 22-13=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 18:[2, 9] Operation: 22-13=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[2, 9], Operations: ['35-13=22', '22-13=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[13, 13, 35, 2], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [13, 2, 22]
Generated Node #0,0: 18:[13, 2, 22] Operation: 35-13=22
Moving to Node #0,0
Current State: 18:[13, 2, 22], Operations: ['35-13=22']
Exploring Operation: 22-13=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 18:[2, 9] Operation: 22-13=9
Moving to Node #0,0,1
Current State: 18:[2, 9], Operations: ['35-13=22', '22-13=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
24,
59,
64,
75
] | 94 | [
"24+59=83",
"75-64=11",
"83+11=94"
] | Current State: 94:[24, 59, 64, 75], Operations: []
Exploring Operation: 24+59=83, Resulting Numbers: [64, 75, 83]
Generated Node #2: [64, 75, 83] from Operation: 24+59=83
Current State: 94:[64, 75, 83], Operations: ['24+59=83']
Exploring Operation: 75-64=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 75-64=11
Current State: 94:[83, 11], Operations: ['24+59=83', '75-64=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[24, 59, 64, 75], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [59, 75, 40]
Generated Node #0,0: 94:[59, 75, 40] Operation: 64-24=40
Exploring Operation: 75-24=51, Resulting Numbers: [59, 64, 51]
Generated Node #0,1: 94:[59, 64, 51] Operation: 75-24=51
Exploring Operation: 24+75=99, Resulting Numbers: [59, 64, 99]
Generated Node #0,2: 94:[59, 64, 99] Operation: 24+75=99
Exploring Operation: 24+64=88, Resulting Numbers: [59, 75, 88]
Generated Node #0,3: 94:[59, 75, 88] Operation: 24+64=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[59, 64, 51], Operations: ['75-24=51']
Exploring Operation: 64-59=5, Resulting Numbers: [51, 5]
Generated Node #0,1,0: 94:[51, 5] Operation: 64-59=5
Exploring Operation: 59-51=8, Resulting Numbers: [64, 8]
Generated Node #0,1,1: 94:[64, 8] Operation: 59-51=8
Exploring Operation: 64-51=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 94:[59, 13] Operation: 64-51=13
Exploring Operation: 59+64=123, Resulting Numbers: [51, 123]
Generated Node #0,1,3: 94:[51, 123] Operation: 59+64=123
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[51, 5], Operations: ['75-24=51', '64-59=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,94 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[64, 8], Operations: ['75-24=51', '59-51=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,94 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[59, 13], Operations: ['75-24=51', '64-51=13']
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,94 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[51, 123], Operations: ['75-24=51', '59+64=123']
Exploring Operation: 51+123=174, Resulting Numbers: [174]
174,94 unequal: No Solution
Exploring Operation: 51*123=6273, Resulting Numbers: [6273]
6273,94 unequal: No Solution
Exploring Operation: 123-51=72, Resulting Numbers: [72]
72,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[59, 64, 99], Operations: ['24+75=99']
Exploring Operation: 99-64=35, Resulting Numbers: [59, 35]
Generated Node #0,2,0: 94:[59, 35] Operation: 99-64=35
Exploring Operation: 59+64=123, Resulting Numbers: [99, 123]
Generated Node #0,2,1: 94:[99, 123] Operation: 59+64=123
Exploring Operation: 64-59=5, Resulting Numbers: [99, 5]
Generated Node #0,2,2: 94:[99, 5] Operation: 64-59=5
Exploring Operation: 99-59=40, Resulting Numbers: [64, 40]
Generated Node #0,2,3: 94:[64, 40] Operation: 99-59=40
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[99, 5], Operations: ['24+75=99', '64-59=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[24, 59, 64, 75], Operations: []
Exploring Operation: 24+75=99, Resulting Numbers: [59, 64, 99]
Generated Node #0,2: 94:[59, 64, 99] Operation: 24+75=99
Moving to Node #0,2
Current State: 94:[59, 64, 99], Operations: ['24+75=99']
Exploring Operation: 64-59=5, Resulting Numbers: [99, 5]
Generated Node #0,2,2: 94:[99, 5] Operation: 64-59=5
Moving to Node #0,2,2
Current State: 94:[99, 5], Operations: ['24+75=99', '64-59=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
40,
31,
79,
36
] | 52 | [
"40-31=9",
"79-36=43",
"9+43=52"
] | Current State: 52:[40, 31, 79, 36], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [79, 36, 9]
Generated Node #2: [79, 36, 9] from Operation: 40-31=9
Current State: 52:[79, 36, 9], Operations: ['40-31=9']
Exploring Operation: 79-36=43, Resulting Numbers: [9, 43]
Generated Node #3: [9, 43] from Operation: 79-36=43
Current State: 52:[9, 43], Operations: ['40-31=9', '79-36=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[40, 31, 79, 36], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [40, 79, 5]
Generated Node #0,0: 52:[40, 79, 5] Operation: 36-31=5
Exploring Operation: 79-40=39, Resulting Numbers: [31, 36, 39]
Generated Node #0,1: 52:[31, 36, 39] Operation: 79-40=39
Exploring Operation: 79-36=43, Resulting Numbers: [40, 31, 43]
Generated Node #0,2: 52:[40, 31, 43] Operation: 79-36=43
Exploring Operation: 40-36=4, Resulting Numbers: [31, 79, 4]
Generated Node #0,3: 52:[31, 79, 4] Operation: 40-36=4
Exploring Operation: 79-31=48, Resulting Numbers: [40, 36, 48]
Generated Node #0,4: 52:[40, 36, 48] Operation: 79-31=48
Moving to Node #0,2
Current State: 52:[40, 31, 43], Operations: ['79-36=43']
Exploring Operation: 40+31=71, Resulting Numbers: [43, 71]
Generated Node #0,2,0: 52:[43, 71] Operation: 40+31=71
Exploring Operation: 40-31=9, Resulting Numbers: [43, 9]
Generated Node #0,2,1: 52:[43, 9] Operation: 40-31=9
Exploring Operation: 43-40=3, Resulting Numbers: [31, 3]
Generated Node #0,2,2: 52:[31, 3] Operation: 43-40=3
Exploring Operation: 43-31=12, Resulting Numbers: [40, 12]
Generated Node #0,2,3: 52:[40, 12] Operation: 43-31=12
Exploring Operation: 31+43=74, Resulting Numbers: [40, 74]
Generated Node #0,2,4: 52:[40, 74] Operation: 31+43=74
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[31, 3], Operations: ['79-36=43', '43-40=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[43, 9], Operations: ['79-36=43', '40-31=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,52 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[40, 31, 79, 36], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [40, 31, 43]
Generated Node #0,2: 52:[40, 31, 43] Operation: 79-36=43
Moving to Node #0,2
Current State: 52:[40, 31, 43], Operations: ['79-36=43']
Exploring Operation: 40-31=9, Resulting Numbers: [43, 9]
Generated Node #0,2,1: 52:[43, 9] Operation: 40-31=9
Moving to Node #0,2,1
Current State: 52:[43, 9], Operations: ['79-36=43', '40-31=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
90,
80,
51,
93
] | 26 | [
"90+80=170",
"51+93=144",
"170-144=26"
] | Current State: 26:[90, 80, 51, 93], Operations: []
Exploring Operation: 90+80=170, Resulting Numbers: [51, 93, 170]
Generated Node #2: [51, 93, 170] from Operation: 90+80=170
Current State: 26:[51, 93, 170], Operations: ['90+80=170']
Exploring Operation: 51+93=144, Resulting Numbers: [170, 144]
Generated Node #3: [170, 144] from Operation: 51+93=144
Current State: 26:[170, 144], Operations: ['90+80=170', '51+93=144']
Exploring Operation: 170-144=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[90, 80, 51, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [80, 51, 3]
Generated Node #0,0: 26:[80, 51, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 26:[80, 51, 3], Operations: ['93-90=3']
Exploring Operation: 80-51=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 26:[3, 29] Operation: 80-51=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[3, 29], Operations: ['93-90=3', '80-51=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[90, 80, 51, 93], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [80, 51, 3]
Generated Node #0,0: 26:[80, 51, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 26:[80, 51, 3], Operations: ['93-90=3']
Exploring Operation: 80-51=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 26:[3, 29] Operation: 80-51=29
Moving to Node #0,0,0
Current State: 26:[3, 29], Operations: ['93-90=3', '80-51=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
34,
25,
42,
46
] | 97 | [
"34-25=9",
"42+46=88",
"9+88=97"
] | Current State: 97:[34, 25, 42, 46], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [42, 46, 9]
Generated Node #2: [42, 46, 9] from Operation: 34-25=9
Current State: 97:[42, 46, 9], Operations: ['34-25=9']
Exploring Operation: 42+46=88, Resulting Numbers: [9, 88]
Generated Node #3: [9, 88] from Operation: 42+46=88
Current State: 97:[9, 88], Operations: ['34-25=9', '42+46=88']
Exploring Operation: 9+88=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[34, 25, 42, 46], Operations: []
Exploring Operation: 34+25=59, Resulting Numbers: [42, 46, 59]
Generated Node #0,0: 97:[42, 46, 59] Operation: 34+25=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[42, 46, 59], Operations: ['34+25=59']
Exploring Operation: 42+46=88, Resulting Numbers: [59, 88]
Generated Node #0,0,0: 97:[59, 88] Operation: 42+46=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[59, 88], Operations: ['34+25=59', '42+46=88']
Exploring Operation: 59+88=147, Resulting Numbers: [147]
147,97 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 |
[
17,
15,
68,
83
] | 18 | [
"15+68=83",
"83/83=1",
"17+1=18"
] | Current State: 18:[17, 15, 68, 83], Operations: []
Exploring Operation: 15+68=83, Resulting Numbers: [17, 83, 83]
Generated Node #2: [17, 83, 83] from Operation: 15+68=83
Current State: 18:[17, 83, 83], Operations: ['15+68=83']
Exploring Operation: 83/83=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 83/83=1
Current State: 18:[17, 1], Operations: ['15+68=83', '83/83=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 15, 68, 83], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [17, 15, 15]
Generated Node #0,0: 18:[17, 15, 15] Operation: 83-68=15
Moving to Node #0,0
Current State: 18:[17, 15, 15], Operations: ['83-68=15']
Exploring Operation: 15/15=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 15/15=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['83-68=15', '15/15=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[17, 15, 68, 83], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [17, 15, 15]
Generated Node #0,0: 18:[17, 15, 15] Operation: 83-68=15
Moving to Node #0,0
Current State: 18:[17, 15, 15], Operations: ['83-68=15']
Exploring Operation: 15/15=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 18:[17, 1] Operation: 15/15=1
Moving to Node #0,0,0
Current State: 18:[17, 1], Operations: ['83-68=15', '15/15=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
73,
2,
33,
25
] | 13 | [
"73-2=71",
"33+25=58",
"71-58=13"
] | Current State: 13:[73, 2, 33, 25], Operations: []
Exploring Operation: 73-2=71, Resulting Numbers: [33, 25, 71]
Generated Node #2: [33, 25, 71] from Operation: 73-2=71
Current State: 13:[33, 25, 71], Operations: ['73-2=71']
Exploring Operation: 33+25=58, Resulting Numbers: [71, 58]
Generated Node #3: [71, 58] from Operation: 33+25=58
Current State: 13:[71, 58], Operations: ['73-2=71', '33+25=58']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[73, 2, 33, 25], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [2, 25, 40]
Generated Node #0,0: 13:[2, 25, 40] Operation: 73-33=40
Exploring Operation: 33-25=8, Resulting Numbers: [73, 2, 8]
Generated Node #0,1: 13:[73, 2, 8] Operation: 33-25=8
Exploring Operation: 73-25=48, Resulting Numbers: [2, 33, 48]
Generated Node #0,2: 13:[2, 33, 48] Operation: 73-25=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[2, 25, 40], Operations: ['73-33=40']
Exploring Operation: 40/2=20, Resulting Numbers: [25, 20]
Generated Node #0,0,0: 13:[25, 20] Operation: 40/2=20
Exploring Operation: 25-2=23, Resulting Numbers: [40, 23]
Generated Node #0,0,1: 13:[40, 23] Operation: 25-2=23
Exploring Operation: 40-25=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 13:[2, 15] Operation: 40-25=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[2, 15], Operations: ['73-33=40', '40-25=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[73, 2, 33, 25], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [2, 25, 40]
Generated Node #0,0: 13:[2, 25, 40] Operation: 73-33=40
Moving to Node #0,0
Current State: 13:[2, 25, 40], Operations: ['73-33=40']
Exploring Operation: 40-25=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 13:[2, 15] Operation: 40-25=15
Moving to Node #0,0,2
Current State: 13:[2, 15], Operations: ['73-33=40', '40-25=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
41,
24,
9,
18
] | 67 | [
"41+24=65",
"18/9=2",
"65+2=67"
] | Current State: 67:[41, 24, 9, 18], Operations: []
Exploring Operation: 41+24=65, Resulting Numbers: [9, 18, 65]
Generated Node #2: [9, 18, 65] from Operation: 41+24=65
Current State: 67:[9, 18, 65], Operations: ['41+24=65']
Exploring Operation: 18/9=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 18/9=2
Current State: 67:[65, 2], Operations: ['41+24=65', '18/9=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[41, 24, 9, 18], Operations: []
Exploring Operation: 41+24=65, Resulting Numbers: [9, 18, 65]
Generated Node #0,0: 67:[9, 18, 65] Operation: 41+24=65
Exploring Operation: 41+9=50, Resulting Numbers: [24, 18, 50]
Generated Node #0,1: 67:[24, 18, 50] Operation: 41+9=50
Moving to Node #0,0
Current State: 67:[9, 18, 65], Operations: ['41+24=65']
Exploring Operation: 9+18=27, Resulting Numbers: [65, 27]
Generated Node #0,0,0: 67:[65, 27] Operation: 9+18=27
Exploring Operation: 9+65=74, Resulting Numbers: [18, 74]
Generated Node #0,0,1: 67:[18, 74] Operation: 9+65=74
Moving to Node #0,1
Current State: 67:[24, 18, 50], Operations: ['41+9=50']
Exploring Operation: 24+18=42, Resulting Numbers: [50, 42]
Generated Node #0,1,0: 67:[50, 42] Operation: 24+18=42
Exploring Operation: 18+50=68, Resulting Numbers: [24, 68]
Generated Node #0,1,1: 67:[24, 68] Operation: 18+50=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[50, 42], Operations: ['41+9=50', '24+18=42']
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[24, 68], Operations: ['41+9=50', '18+50=68']
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,67 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: 67:[65, 27], Operations: ['41+24=65', '9+18=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,67 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[18, 74], Operations: ['41+24=65', '9+65=74']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,67 unequal: No Solution
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
17,
4,
58
] | 64 | [
"17-4=13",
"78/13=6",
"58+6=64"
] | Current State: 64:[78, 17, 4, 58], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [78, 58, 13]
Generated Node #2: [78, 58, 13] from Operation: 17-4=13
Current State: 64:[78, 58, 13], Operations: ['17-4=13']
Exploring Operation: 78/13=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 78/13=6
Current State: 64:[58, 6], Operations: ['17-4=13', '78/13=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[78, 17, 4, 58], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [78, 58, 13]
Generated Node #0,0: 64:[78, 58, 13] Operation: 17-4=13
Exploring Operation: 78-17=61, Resulting Numbers: [4, 58, 61]
Generated Node #0,1: 64:[4, 58, 61] Operation: 78-17=61
Exploring Operation: 4+58=62, Resulting Numbers: [78, 17, 62]
Generated Node #0,2: 64:[78, 17, 62] Operation: 4+58=62
Exploring Operation: 78-4=74, Resulting Numbers: [17, 58, 74]
Generated Node #0,3: 64:[17, 58, 74] Operation: 78-4=74
Exploring Operation: 78-58=20, Resulting Numbers: [17, 4, 20]
Generated Node #0,4: 64:[17, 4, 20] Operation: 78-58=20
Moving to Node #0,4
Current State: 64:[17, 4, 20], Operations: ['78-58=20']
Exploring Operation: 20-17=3, Resulting Numbers: [4, 3]
Generated Node #0,4,0: 64:[4, 3] Operation: 20-17=3
Exploring Operation: 20-4=16, Resulting Numbers: [17, 16]
Generated Node #0,4,1: 64:[17, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [17, 5]
Generated Node #0,4,2: 64:[17, 5] Operation: 20/4=5
Exploring Operation: 17-4=13, Resulting Numbers: [20, 13]
Generated Node #0,4,3: 64:[20, 13] Operation: 17-4=13
Exploring Operation: 17+20=37, Resulting Numbers: [4, 37]
Generated Node #0,4,4: 64:[4, 37] Operation: 17+20=37
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[4, 3], Operations: ['78-58=20', '20-17=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[17, 16], Operations: ['78-58=20', '20-4=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[17, 5], Operations: ['78-58=20', '20/4=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[4, 37], Operations: ['78-58=20', '17+20=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,64 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[20, 13], Operations: ['78-58=20', '17-4=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,64 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[4, 58, 61], Operations: ['78-17=61']
Exploring Operation: 58-4=54, Resulting Numbers: [61, 54]
Generated Node #0,1,0: 64:[61, 54] Operation: 58-4=54
Exploring Operation: 61-4=57, Resulting Numbers: [58, 57]
Generated Node #0,1,1: 64:[58, 57] Operation: 61-4=57
Exploring Operation: 61-58=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 64:[4, 3] Operation: 61-58=3
Exploring Operation: 4+61=65, Resulting Numbers: [58, 65]
Generated Node #0,1,3: 64:[58, 65] Operation: 4+61=65
Exploring Operation: 4+58=62, Resulting Numbers: [61, 62]
Generated Node #0,1,4: 64:[61, 62] Operation: 4+58=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[4, 3], Operations: ['78-17=61', '61-58=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[61, 62], Operations: ['78-17=61', '4+58=62']
Exploring Operation: 61+62=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 61*62=3782, Resulting Numbers: [3782]
3782,64 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[58, 65], Operations: ['78-17=61', '4+61=65']
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 58*65=3770, Resulting Numbers: [3770]
3770,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[61, 54], Operations: ['78-17=61', '58-4=54']
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,64 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[58, 57], Operations: ['78-17=61', '61-4=57']
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,64 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: 64:[78, 17, 62], Operations: ['4+58=62']
Exploring Operation: 17+62=79, Resulting Numbers: [78, 79]
Generated Node #0,2,0: 64:[78, 79] Operation: 17+62=79
Exploring Operation: 78+17=95, Resulting Numbers: [62, 95]
Generated Node #0,2,1: 64:[62, 95] Operation: 78+17=95
Exploring Operation: 78-62=16, Resulting Numbers: [17, 16]
Generated Node #0,2,2: 64:[17, 16] Operation: 78-62=16
Exploring Operation: 78-17=61, Resulting Numbers: [62, 61]
Generated Node #0,2,3: 64:[62, 61] Operation: 78-17=61
Exploring Operation: 62-17=45, Resulting Numbers: [78, 45]
Generated Node #0,2,4: 64:[78, 45] Operation: 62-17=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[17, 16], Operations: ['4+58=62', '78-62=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,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,2,3
Current State: 64:[62, 61], Operations: ['4+58=62', '78-17=61']
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,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,2,4
Current State: 64:[78, 45], Operations: ['4+58=62', '62-17=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,64 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,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,2,0
Current State: 64:[78, 79], Operations: ['4+58=62', '17+62=79']
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,64 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,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,2,1
Current State: 64:[62, 95], Operations: ['4+58=62', '78+17=95']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 62*95=5890, Resulting Numbers: [5890]
5890,64 unequal: No Solution
Exploring Operation: 62+95=157, Resulting Numbers: [157]
157,64 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: 64:[17, 58, 74], Operations: ['78-4=74']
Exploring Operation: 17+74=91, Resulting Numbers: [58, 91]
Generated Node #0,3,0: 64:[58, 91] Operation: 17+74=91
Exploring Operation: 74-17=57, Resulting Numbers: [58, 57]
Generated Node #0,3,1: 64:[58, 57] Operation: 74-17=57
Exploring Operation: 58-17=41, Resulting Numbers: [74, 41]
Generated Node #0,3,2: 64:[74, 41] Operation: 58-17=41
Exploring Operation: 74-58=16, Resulting Numbers: [17, 16]
Generated Node #0,3,3: 64:[17, 16] Operation: 74-58=16
Exploring Operation: 17+58=75, Resulting Numbers: [74, 75]
Generated Node #0,3,4: 64:[74, 75] Operation: 17+58=75
Moving to Node #0,0
Current State: 64:[78, 58, 13], Operations: ['17-4=13']
Exploring Operation: 78-58=20, Resulting Numbers: [13, 20]
Generated Node #0,0,0: 64:[13, 20] Operation: 78-58=20
Exploring Operation: 78/13=6, Resulting Numbers: [58, 6]
Generated Node #0,0,1: 64:[58, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [58, 65]
Generated Node #0,0,2: 64:[58, 65] Operation: 78-13=65
Exploring Operation: 58+13=71, Resulting Numbers: [78, 71]
Generated Node #0,0,3: 64:[78, 71] Operation: 58+13=71
Exploring Operation: 58-13=45, Resulting Numbers: [78, 45]
Generated Node #0,0,4: 64:[78, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[13, 20], Operations: ['17-4=13', '78-58=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,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,0,2
Current State: 64:[58, 65], Operations: ['17-4=13', '78-13=65']
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 58*65=3770, Resulting Numbers: [3770]
3770,64 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,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,0,1
Current State: 64:[58, 6], Operations: ['17-4=13', '78/13=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,64 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[78, 17, 4, 58], Operations: []
Exploring Operation: 17-4=13, Resulting Numbers: [78, 58, 13]
Generated Node #0,0: 64:[78, 58, 13] Operation: 17-4=13
Moving to Node #0,0
Current State: 64:[78, 58, 13], Operations: ['17-4=13']
Exploring Operation: 78/13=6, Resulting Numbers: [58, 6]
Generated Node #0,0,1: 64:[58, 6] Operation: 78/13=6
Moving to Node #0,0,1
Current State: 64:[58, 6], Operations: ['17-4=13', '78/13=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.924479 | hs_5 | mult_heuristic |
[
47,
70,
89,
95
] | 52 | [
"89-70=19",
"95/19=5",
"47+5=52"
] | Current State: 52:[47, 70, 89, 95], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [47, 95, 19]
Generated Node #2: [47, 95, 19] from Operation: 89-70=19
Current State: 52:[47, 95, 19], Operations: ['89-70=19']
Exploring Operation: 95/19=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 95/19=5
Current State: 52:[47, 5], Operations: ['89-70=19', '95/19=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[47, 70, 89, 95], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [47, 89, 25]
Generated Node #0,0: 52:[47, 89, 25] Operation: 95-70=25
Exploring Operation: 95-89=6, Resulting Numbers: [47, 70, 6]
Generated Node #0,1: 52:[47, 70, 6] Operation: 95-89=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[47, 70, 6], Operations: ['95-89=6']
Exploring Operation: 70-6=64, Resulting Numbers: [47, 64]
Generated Node #0,1,0: 52:[47, 64] Operation: 70-6=64
Exploring Operation: 70-47=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 52:[6, 23] Operation: 70-47=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[6, 23], Operations: ['95-89=6', '70-47=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No 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: 52:[47, 64], Operations: ['95-89=6', '70-6=64']
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,52 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,52 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: 52:[47, 89, 25], Operations: ['95-70=25']
Exploring Operation: 89-47=42, Resulting Numbers: [25, 42]
Generated Node #0,0,0: 52:[25, 42] Operation: 89-47=42
Exploring Operation: 89-25=64, Resulting Numbers: [47, 64]
Generated Node #0,0,1: 52:[47, 64] Operation: 89-25=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[25, 42], Operations: ['95-70=25', '89-47=42']
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,52 unequal: No Solution
No 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: 52:[47, 64], Operations: ['95-70=25', '89-25=64']
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,52 unequal: No Solution
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,52 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 |
[
1,
83,
41,
13
] | 56 | [
"1+83=84",
"41-13=28",
"84-28=56"
] | Current State: 56:[1, 83, 41, 13], Operations: []
Exploring Operation: 1+83=84, Resulting Numbers: [41, 13, 84]
Generated Node #2: [41, 13, 84] from Operation: 1+83=84
Current State: 56:[41, 13, 84], Operations: ['1+83=84']
Exploring Operation: 41-13=28, Resulting Numbers: [84, 28]
Generated Node #3: [84, 28] from Operation: 41-13=28
Current State: 56:[84, 28], Operations: ['1+83=84', '41-13=28']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[1, 83, 41, 13], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [1, 13, 42]
Generated Node #0,0: 56:[1, 13, 42] Operation: 83-41=42
Moving to Node #0,0
Current State: 56:[1, 13, 42], Operations: ['83-41=42']
Exploring Operation: 13+42=55, Resulting Numbers: [1, 55]
Generated Node #0,0,0: 56:[1, 55] Operation: 13+42=55
Moving to Node #0,0,0
Current State: 56:[1, 55], Operations: ['83-41=42', '13+42=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[1, 83, 41, 13], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [1, 13, 42]
Generated Node #0,0: 56:[1, 13, 42] Operation: 83-41=42
Moving to Node #0,0
Current State: 56:[1, 13, 42], Operations: ['83-41=42']
Exploring Operation: 13+42=55, Resulting Numbers: [1, 55]
Generated Node #0,0,0: 56:[1, 55] Operation: 13+42=55
Moving to Node #0,0,0
Current State: 56:[1, 55], Operations: ['83-41=42', '13+42=55']
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
58,
18,
96,
52
] | 32 | [
"58+18=76",
"96-52=44",
"76-44=32"
] | Current State: 32:[58, 18, 96, 52], Operations: []
Exploring Operation: 58+18=76, Resulting Numbers: [96, 52, 76]
Generated Node #2: [96, 52, 76] from Operation: 58+18=76
Current State: 32:[96, 52, 76], Operations: ['58+18=76']
Exploring Operation: 96-52=44, Resulting Numbers: [76, 44]
Generated Node #3: [76, 44] from Operation: 96-52=44
Current State: 32:[76, 44], Operations: ['58+18=76', '96-52=44']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[58, 18, 96, 52], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [18, 52, 38]
Generated Node #0,0: 32:[18, 52, 38] Operation: 96-58=38
Exploring Operation: 96-52=44, Resulting Numbers: [58, 18, 44]
Generated Node #0,1: 32:[58, 18, 44] Operation: 96-52=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[18, 52, 38], Operations: ['96-58=38']
Exploring Operation: 52-18=34, Resulting Numbers: [38, 34]
Generated Node #0,0,0: 32:[38, 34] Operation: 52-18=34
Exploring Operation: 52-38=14, Resulting Numbers: [18, 14]
Generated Node #0,0,1: 32:[18, 14] Operation: 52-38=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[18, 14], Operations: ['96-58=38', '52-38=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[58, 18, 96, 52], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [18, 52, 38]
Generated Node #0,0: 32:[18, 52, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 32:[18, 52, 38], Operations: ['96-58=38']
Exploring Operation: 52-38=14, Resulting Numbers: [18, 14]
Generated Node #0,0,1: 32:[18, 14] Operation: 52-38=14
Moving to Node #0,0,1
Current State: 32:[18, 14], Operations: ['96-58=38', '52-38=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
28,
32,
23,
31
] | 73 | [
"31-28=3",
"32*3=96",
"96-23=73"
] | Current State: 73:[28, 32, 23, 31], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [32, 23, 3]
Generated Node #2: [32, 23, 3] from Operation: 31-28=3
Current State: 73:[32, 23, 3], Operations: ['31-28=3']
Exploring Operation: 32*3=96, Resulting Numbers: [23, 96]
Generated Node #3: [23, 96] from Operation: 32*3=96
Current State: 73:[23, 96], Operations: ['31-28=3', '32*3=96']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[28, 32, 23, 31], Operations: []
Exploring Operation: 28+31=59, Resulting Numbers: [32, 23, 59]
Generated Node #0,0: 73:[32, 23, 59] Operation: 28+31=59
Exploring Operation: 32+31=63, Resulting Numbers: [28, 23, 63]
Generated Node #0,1: 73:[28, 23, 63] Operation: 32+31=63
Exploring Operation: 32+23=55, Resulting Numbers: [28, 31, 55]
Generated Node #0,2: 73:[28, 31, 55] Operation: 32+23=55
Exploring Operation: 28+32=60, Resulting Numbers: [23, 31, 60]
Generated Node #0,3: 73:[23, 31, 60] Operation: 28+32=60
Exploring Operation: 28+23=51, Resulting Numbers: [32, 31, 51]
Generated Node #0,4: 73:[32, 31, 51] Operation: 28+23=51
Moving to Node #0,0
Current State: 73:[32, 23, 59], Operations: ['28+31=59']
Exploring Operation: 32-23=9, Resulting Numbers: [59, 9]
Generated Node #0,0,0: 73:[59, 9] Operation: 32-23=9
Exploring Operation: 32+59=91, Resulting Numbers: [23, 91]
Generated Node #0,0,1: 73:[23, 91] Operation: 32+59=91
Exploring Operation: 59-23=36, Resulting Numbers: [32, 36]
Generated Node #0,0,2: 73:[32, 36] Operation: 59-23=36
Exploring Operation: 23+59=82, Resulting Numbers: [32, 82]
Generated Node #0,0,3: 73:[32, 82] Operation: 23+59=82
Exploring Operation: 32+23=55, Resulting Numbers: [59, 55]
Generated Node #0,0,4: 73:[59, 55] Operation: 32+23=55
Moving to Node #0,2
Current State: 73:[28, 31, 55], Operations: ['32+23=55']
Exploring Operation: 55-28=27, Resulting Numbers: [31, 27]
Generated Node #0,2,0: 73:[31, 27] Operation: 55-28=27
Exploring Operation: 28+55=83, Resulting Numbers: [31, 83]
Generated Node #0,2,1: 73:[31, 83] Operation: 28+55=83
Exploring Operation: 31-28=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 73:[55, 3] Operation: 31-28=3
Exploring Operation: 31+55=86, Resulting Numbers: [28, 86]
Generated Node #0,2,3: 73:[28, 86] Operation: 31+55=86
Exploring Operation: 28+31=59, Resulting Numbers: [55, 59]
Generated Node #0,2,4: 73:[55, 59] Operation: 28+31=59
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 73:[55, 59], Operations: ['32+23=55', '28+31=59']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 55*59=3245, Resulting Numbers: [3245]
3245,73 unequal: No Solution
Exploring Operation: 55+59=114, Resulting Numbers: [114]
114,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[31, 83], Operations: ['32+23=55', '28+55=83']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[28, 86], Operations: ['32+23=55', '31+55=86']
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,73 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[31, 27], Operations: ['32+23=55', '55-28=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,73 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[55, 3], Operations: ['32+23=55', '31-28=3']
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 73:[32, 31, 51], Operations: ['28+23=51']
Exploring Operation: 31+51=82, Resulting Numbers: [32, 82]
Generated Node #0,4,0: 73:[32, 82] Operation: 31+51=82
Exploring Operation: 32-31=1, Resulting Numbers: [51, 1]
Generated Node #0,4,1: 73:[51, 1] Operation: 32-31=1
Exploring Operation: 32+31=63, Resulting Numbers: [51, 63]
Generated Node #0,4,2: 73:[51, 63] Operation: 32+31=63
Exploring Operation: 32+51=83, Resulting Numbers: [31, 83]
Generated Node #0,4,3: 73:[31, 83] Operation: 32+51=83
Exploring Operation: 51-31=20, Resulting Numbers: [32, 20]
Generated Node #0,4,4: 73:[32, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 73:[51, 63], Operations: ['28+23=51', '32+31=63']
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,73 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[32, 82], Operations: ['28+23=51', '31+51=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,73 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[31, 83], Operations: ['28+23=51', '32+51=83']
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,73 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 73:[51, 1], Operations: ['28+23=51', '32-31=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 73:[32, 20], Operations: ['28+23=51', '51-31=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,73 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[28, 23, 63], Operations: ['32+31=63']
Exploring Operation: 28-23=5, Resulting Numbers: [63, 5]
Generated Node #0,1,0: 73:[63, 5] Operation: 28-23=5
Exploring Operation: 63-23=40, Resulting Numbers: [28, 40]
Generated Node #0,1,1: 73:[28, 40] Operation: 63-23=40
Exploring Operation: 28+23=51, Resulting Numbers: [63, 51]
Generated Node #0,1,2: 73:[63, 51] Operation: 28+23=51
Exploring Operation: 28+63=91, Resulting Numbers: [23, 91]
Generated Node #0,1,3: 73:[23, 91] Operation: 28+63=91
Exploring Operation: 23+63=86, Resulting Numbers: [28, 86]
Generated Node #0,1,4: 73:[28, 86] Operation: 23+63=86
Moving to Node #0,3
Current State: 73:[23, 31, 60], Operations: ['28+32=60']
Exploring Operation: 23+31=54, Resulting Numbers: [60, 54]
Generated Node #0,3,0: 73:[60, 54] Operation: 23+31=54
Exploring Operation: 31+60=91, Resulting Numbers: [23, 91]
Generated Node #0,3,1: 73:[23, 91] Operation: 31+60=91
Exploring Operation: 23+60=83, Resulting Numbers: [31, 83]
Generated Node #0,3,2: 73:[31, 83] Operation: 23+60=83
Exploring Operation: 60-23=37, Resulting Numbers: [31, 37]
Generated Node #0,3,3: 73:[31, 37] Operation: 60-23=37
Exploring Operation: 31-23=8, Resulting Numbers: [60, 8]
Generated Node #0,3,4: 73:[60, 8] Operation: 31-23=8
Moving to Node #0,0,4
Current State: 73:[59, 55], Operations: ['28+31=59', '32+23=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[63, 51], Operations: ['32+31=63', '28+23=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[60, 54], Operations: ['28+32=60', '23+31=54']
Exploring Operation: 60*54=3240, Resulting Numbers: [3240]
3240,73 unequal: No Solution
Exploring Operation: 60+54=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[32, 82], Operations: ['28+31=59', '23+59=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[31, 83], Operations: ['28+32=60', '23+60=83']
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,73 unequal: No Solution
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[28, 86], Operations: ['32+31=63', '23+63=86']
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,73 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[23, 91], Operations: ['28+31=59', '32+59=91']
Exploring Operation: 23*91=2093, Resulting Numbers: [2093]
2093,73 unequal: No Solution
Exploring Operation: 23+91=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[23, 91], Operations: ['28+32=60', '31+60=91']
Exploring Operation: 23*91=2093, Resulting Numbers: [2093]
2093,73 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 23+91=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[23, 91], Operations: ['32+31=63', '28+63=91']
Exploring Operation: 23+91=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 23*91=2093, Resulting Numbers: [2093]
2093,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[31, 37], Operations: ['28+32=60', '60-23=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,73 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[28, 40], Operations: ['32+31=63', '63-23=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,73 unequal: No Solution
Moving to Node #0,3,4
Current State: 73:[60, 8], Operations: ['28+32=60', '31-23=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[59, 9], Operations: ['28+31=59', '32-23=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,73 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[32, 36], Operations: ['28+31=59', '59-23=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,73 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[63, 5], Operations: ['32+31=63', '28-23=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
42,
35,
74,
1
] | 82 | [
"42-35=7",
"74+1=75",
"7+75=82"
] | Current State: 82:[42, 35, 74, 1], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [74, 1, 7]
Generated Node #2: [74, 1, 7] from Operation: 42-35=7
Current State: 82:[74, 1, 7], Operations: ['42-35=7']
Exploring Operation: 74+1=75, Resulting Numbers: [7, 75]
Generated Node #3: [7, 75] from Operation: 74+1=75
Current State: 82:[7, 75], Operations: ['42-35=7', '74+1=75']
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[42, 35, 74, 1], Operations: []
Exploring Operation: 42+35=77, Resulting Numbers: [74, 1, 77]
Generated Node #0,0: 82:[74, 1, 77] Operation: 42+35=77
Exploring Operation: 35+1=36, Resulting Numbers: [42, 74, 36]
Generated Node #0,1: 82:[42, 74, 36] Operation: 35+1=36
Exploring Operation: 74-35=39, Resulting Numbers: [42, 1, 39]
Generated Node #0,2: 82:[42, 1, 39] Operation: 74-35=39
Exploring Operation: 42-1=41, Resulting Numbers: [35, 74, 41]
Generated Node #0,3: 82:[35, 74, 41] Operation: 42-1=41
Exploring Operation: 42-35=7, Resulting Numbers: [74, 1, 7]
Generated Node #0,4: 82:[74, 1, 7] Operation: 42-35=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[42, 1, 39], Operations: ['74-35=39']
Exploring Operation: 42*1=42, Resulting Numbers: [39, 42]
Generated Node #0,2,0: 82:[39, 42] Operation: 42*1=42
Exploring Operation: 42-1=41, Resulting Numbers: [39, 41]
Generated Node #0,2,1: 82:[39, 41] Operation: 42-1=41
Exploring Operation: 42-39=3, Resulting Numbers: [1, 3]
Generated Node #0,2,2: 82:[1, 3] Operation: 42-39=3
Exploring Operation: 1+39=40, Resulting Numbers: [42, 40]
Generated Node #0,2,3: 82:[42, 40] Operation: 1+39=40
Exploring Operation: 42+39=81, Resulting Numbers: [1, 81]
Generated Node #0,2,4: 82:[1, 81] Operation: 42+39=81
Moving to Node #0,2,1
Current State: 82:[39, 41], Operations: ['74-35=39', '42-1=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,82 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[42, 40], Operations: ['74-35=39', '1+39=40']
Exploring Operation: 42*40=1680, Resulting Numbers: [1680]
1680,82 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[42, 35, 74, 1], Operations: []
Exploring Operation: 74-35=39, Resulting Numbers: [42, 1, 39]
Generated Node #0,2: 82:[42, 1, 39] Operation: 74-35=39
Moving to Node #0,2
Current State: 82:[42, 1, 39], Operations: ['74-35=39']
Exploring Operation: 1+39=40, Resulting Numbers: [42, 40]
Generated Node #0,2,3: 82:[42, 40] Operation: 1+39=40
Moving to Node #0,2,3
Current State: 82:[42, 40], Operations: ['74-35=39', '1+39=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
32,
74,
58,
42
] | 40 | [
"74-58=16",
"32/16=2",
"42-2=40"
] | Current State: 40:[32, 74, 58, 42], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [32, 42, 16]
Generated Node #2: [32, 42, 16] from Operation: 74-58=16
Current State: 40:[32, 42, 16], Operations: ['74-58=16']
Exploring Operation: 32/16=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 32/16=2
Current State: 40:[42, 2], Operations: ['74-58=16', '32/16=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[32, 74, 58, 42], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [58, 42, 42]
Generated Node #0,0: 40:[58, 42, 42] Operation: 74-32=42
Exploring Operation: 74-58=16, Resulting Numbers: [32, 42, 16]
Generated Node #0,1: 40:[32, 42, 16] Operation: 74-58=16
Moving to Node #0,1
Current State: 40:[32, 42, 16], Operations: ['74-58=16']
Exploring Operation: 42-32=10, Resulting Numbers: [16, 10]
Generated Node #0,1,0: 40:[16, 10] Operation: 42-32=10
Exploring Operation: 32/16=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 40:[42, 2] Operation: 32/16=2
Moving to Node #0,0
Current State: 40:[58, 42, 42], Operations: ['74-32=42']
Exploring Operation: 58-42=16, Resulting Numbers: [42, 16]
Generated Node #0,0,0: 40:[42, 16] Operation: 58-42=16
Exploring Operation: 58-42=16, Resulting Numbers: [42, 16]
Generated Node #0,0,1: 40:[42, 16] Operation: 58-42=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[42, 16], Operations: ['74-32=42', '58-42=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[42, 16], Operations: ['74-32=42', '58-42=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 40:[42, 2], Operations: ['74-58=16', '32/16=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[32, 74, 58, 42], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [32, 42, 16]
Generated Node #0,1: 40:[32, 42, 16] Operation: 74-58=16
Moving to Node #0,1
Current State: 40:[32, 42, 16], Operations: ['74-58=16']
Exploring Operation: 32/16=2, Resulting Numbers: [42, 2]
Generated Node #0,1,1: 40:[42, 2] Operation: 32/16=2
Moving to Node #0,1,1
Current State: 40:[42, 2], Operations: ['74-58=16', '32/16=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
91,
21,
90,
36
] | 58 | [
"91+21=112",
"90-36=54",
"112-54=58"
] | Current State: 58:[91, 21, 90, 36], Operations: []
Exploring Operation: 91+21=112, Resulting Numbers: [90, 36, 112]
Generated Node #2: [90, 36, 112] from Operation: 91+21=112
Current State: 58:[90, 36, 112], Operations: ['91+21=112']
Exploring Operation: 90-36=54, Resulting Numbers: [112, 54]
Generated Node #3: [112, 54] from Operation: 90-36=54
Current State: 58:[112, 54], Operations: ['91+21=112', '90-36=54']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[91, 21, 90, 36], Operations: []
Exploring Operation: 91-36=55, Resulting Numbers: [21, 90, 55]
Generated Node #0,0: 58:[21, 90, 55] Operation: 91-36=55
Exploring Operation: 91-90=1, Resulting Numbers: [21, 36, 1]
Generated Node #0,1: 58:[21, 36, 1] Operation: 91-90=1
Moving to Node #0,1
Current State: 58:[21, 36, 1], Operations: ['91-90=1']
Exploring Operation: 21+36=57, Resulting Numbers: [1, 57]
Generated Node #0,1,0: 58:[1, 57] Operation: 21+36=57
Exploring Operation: 36-21=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 58:[1, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[1, 57], Operations: ['91-90=1', '21+36=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[91, 21, 90, 36], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [21, 36, 1]
Generated Node #0,1: 58:[21, 36, 1] Operation: 91-90=1
Moving to Node #0,1
Current State: 58:[21, 36, 1], Operations: ['91-90=1']
Exploring Operation: 21+36=57, Resulting Numbers: [1, 57]
Generated Node #0,1,0: 58:[1, 57] Operation: 21+36=57
Moving to Node #0,1,0
Current State: 58:[1, 57], Operations: ['91-90=1', '21+36=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
28,
30,
76,
35
] | 99 | [
"28+30=58",
"76-35=41",
"58+41=99"
] | Current State: 99:[28, 30, 76, 35], Operations: []
Exploring Operation: 28+30=58, Resulting Numbers: [76, 35, 58]
Generated Node #2: [76, 35, 58] from Operation: 28+30=58
Current State: 99:[76, 35, 58], Operations: ['28+30=58']
Exploring Operation: 76-35=41, Resulting Numbers: [58, 41]
Generated Node #3: [58, 41] from Operation: 76-35=41
Current State: 99:[58, 41], Operations: ['28+30=58', '76-35=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 30, 76, 35], Operations: []
Exploring Operation: 28+76=104, Resulting Numbers: [30, 35, 104]
Generated Node #0,0: 99:[30, 35, 104] Operation: 28+76=104
Moving to Node #0,0
Current State: 99:[30, 35, 104], Operations: ['28+76=104']
Exploring Operation: 35-30=5, Resulting Numbers: [104, 5]
Generated Node #0,0,0: 99:[104, 5] Operation: 35-30=5
Moving to Node #0,0,0
Current State: 99:[104, 5], Operations: ['28+76=104', '35-30=5']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[28, 30, 76, 35], Operations: []
Exploring Operation: 28+76=104, Resulting Numbers: [30, 35, 104]
Generated Node #0,0: 99:[30, 35, 104] Operation: 28+76=104
Moving to Node #0,0
Current State: 99:[30, 35, 104], Operations: ['28+76=104']
Exploring Operation: 35-30=5, Resulting Numbers: [104, 5]
Generated Node #0,0,0: 99:[104, 5] Operation: 35-30=5
Moving to Node #0,0,0
Current State: 99:[104, 5], Operations: ['28+76=104', '35-30=5']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
48,
74,
22,
69
] | 14 | [
"48+22=70",
"74-69=5",
"70/5=14"
] | Current State: 14:[48, 74, 22, 69], Operations: []
Exploring Operation: 48+22=70, Resulting Numbers: [74, 69, 70]
Generated Node #2: [74, 69, 70] from Operation: 48+22=70
Current State: 14:[74, 69, 70], Operations: ['48+22=70']
Exploring Operation: 74-69=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 74-69=5
Current State: 14:[70, 5], Operations: ['48+22=70', '74-69=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[48, 74, 22, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [48, 22, 5]
Generated Node #0,0: 14:[48, 22, 5] Operation: 74-69=5
Moving to Node #0,0
Current State: 14:[48, 22, 5], Operations: ['74-69=5']
Exploring Operation: 48-22=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 14:[5, 26] Operation: 48-22=26
Moving to Node #0,0,0
Current State: 14:[5, 26], Operations: ['74-69=5', '48-22=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
22,
17,
60
] | 58 | [
"22-7=15",
"60-17=43",
"15+43=58"
] | Current State: 58:[7, 22, 17, 60], Operations: []
Exploring Operation: 22-7=15, Resulting Numbers: [17, 60, 15]
Generated Node #2: [17, 60, 15] from Operation: 22-7=15
Current State: 58:[17, 60, 15], Operations: ['22-7=15']
Exploring Operation: 60-17=43, Resulting Numbers: [15, 43]
Generated Node #3: [15, 43] from Operation: 60-17=43
Current State: 58:[15, 43], Operations: ['22-7=15', '60-17=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 22, 17, 60], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [7, 60, 5]
Generated Node #0,0: 58:[7, 60, 5] Operation: 22-17=5
Exploring Operation: 7+22=29, Resulting Numbers: [17, 60, 29]
Generated Node #0,1: 58:[17, 60, 29] Operation: 7+22=29
Exploring Operation: 17-7=10, Resulting Numbers: [22, 60, 10]
Generated Node #0,2: 58:[22, 60, 10] Operation: 17-7=10
Exploring Operation: 7+17=24, Resulting Numbers: [22, 60, 24]
Generated Node #0,3: 58:[22, 60, 24] Operation: 7+17=24
Moving to Node #0,0
Current State: 58:[7, 60, 5], Operations: ['22-17=5']
Exploring Operation: 60-5=55, Resulting Numbers: [7, 55]
Generated Node #0,0,0: 58:[7, 55] Operation: 60-5=55
Exploring Operation: 7-5=2, Resulting Numbers: [60, 2]
Generated Node #0,0,1: 58:[60, 2] Operation: 7-5=2
Exploring Operation: 60-7=53, Resulting Numbers: [5, 53]
Generated Node #0,0,2: 58:[5, 53] Operation: 60-7=53
Exploring Operation: 7*5=35, Resulting Numbers: [60, 35]
Generated Node #0,0,3: 58:[60, 35] Operation: 7*5=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[60, 2], Operations: ['22-17=5', '7-5=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[7, 22, 17, 60], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [7, 60, 5]
Generated Node #0,0: 58:[7, 60, 5] Operation: 22-17=5
Moving to Node #0,0
Current State: 58:[7, 60, 5], Operations: ['22-17=5']
Exploring Operation: 7-5=2, Resulting Numbers: [60, 2]
Generated Node #0,0,1: 58:[60, 2] Operation: 7-5=2
Moving to Node #0,0,1
Current State: 58:[60, 2], Operations: ['22-17=5', '7-5=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
32,
80,
31,
80
] | 80 | [
"32*80=2560",
"31*80=2480",
"2560-2480=80"
] | Current State: 80:[32, 80, 31, 80], Operations: []
Exploring Operation: 32*80=2560, Resulting Numbers: [31, 2560]
Generated Node #2: [31, 2560] from Operation: 32*80=2560
Current State: 80:[31, 2560], Operations: ['32*80=2560']
Exploring Operation: 31*80=2480, Resulting Numbers: [2560, 2480]
Generated Node #3: [2560, 2480] from Operation: 31*80=2480
Current State: 80:[2560, 2480], Operations: ['32*80=2560', '31*80=2480']
Exploring Operation: 2560-2480=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[32, 80, 31, 80], Operations: []
Exploring Operation: 80-32=48, Resulting Numbers: [31, 80, 48]
Generated Node #0,0: 80:[31, 80, 48] Operation: 80-32=48
Exploring Operation: 32-31=1, Resulting Numbers: [80, 80, 1]
Generated Node #0,1: 80:[80, 80, 1] Operation: 32-31=1
Moving to Node #0,1
Current State: 80:[80, 80, 1], Operations: ['32-31=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80, 80]
Generated Node #0,1,0: 80:[80, 80] Operation: 80*1=80
Exploring Operation: 80/1=80, Resulting Numbers: [80, 80]
Generated Node #0,1,1: 80:[80, 80] Operation: 80/1=80
Moving to Node #0,0
Current State: 80:[31, 80, 48], Operations: ['80-32=48']
Exploring Operation: 48-31=17, Resulting Numbers: [80, 17]
Generated Node #0,0,0: 80:[80, 17] Operation: 48-31=17
Exploring Operation: 31+48=79, Resulting Numbers: [80, 79]
Generated Node #0,0,1: 80:[80, 79] Operation: 31+48=79
Moving to Node #0,1,0
Current State: 80:[80, 80], Operations: ['32-31=1', '80*1=80']
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[80, 80], Operations: ['32-31=1', '80/1=80']
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[80, 79], Operations: ['80-32=48', '31+48=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,80 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[80, 17], Operations: ['80-32=48', '48-31=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
26,
24,
29
] | 52 | [
"73-26=47",
"29-24=5",
"47+5=52"
] | Current State: 52:[73, 26, 24, 29], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [24, 29, 47]
Generated Node #2: [24, 29, 47] from Operation: 73-26=47
Current State: 52:[24, 29, 47], Operations: ['73-26=47']
Exploring Operation: 29-24=5, Resulting Numbers: [47, 5]
Generated Node #3: [47, 5] from Operation: 29-24=5
Current State: 52:[47, 5], Operations: ['73-26=47', '29-24=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[73, 26, 24, 29], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [26, 29, 49]
Generated Node #0,0: 52:[26, 29, 49] Operation: 73-24=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[26, 29, 49], Operations: ['73-24=49']
Exploring Operation: 29-26=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 29-26=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['73-24=49', '29-26=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[73, 26, 24, 29], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [26, 29, 49]
Generated Node #0,0: 52:[26, 29, 49] Operation: 73-24=49
Moving to Node #0,0
Current State: 52:[26, 29, 49], Operations: ['73-24=49']
Exploring Operation: 29-26=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['73-24=49', '29-26=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
72,
20,
25,
16
] | 28 | [
"20-16=4",
"25*4=100",
"100-72=28"
] | Current State: 28:[72, 20, 25, 16], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [72, 25, 4]
Generated Node #2: [72, 25, 4] from Operation: 20-16=4
Current State: 28:[72, 25, 4], Operations: ['20-16=4']
Exploring Operation: 25*4=100, Resulting Numbers: [72, 100]
Generated Node #3: [72, 100] from Operation: 25*4=100
Current State: 28:[72, 100], Operations: ['20-16=4', '25*4=100']
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[72, 20, 25, 16], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [20, 16, 47]
Generated Node #0,0: 28:[20, 16, 47] Operation: 72-25=47
Exploring Operation: 72-20=52, Resulting Numbers: [25, 16, 52]
Generated Node #0,1: 28:[25, 16, 52] Operation: 72-20=52
Exploring Operation: 72-16=56, Resulting Numbers: [20, 25, 56]
Generated Node #0,2: 28:[20, 25, 56] Operation: 72-16=56
Moving to Node #0,0
Current State: 28:[20, 16, 47], Operations: ['72-25=47']
Exploring Operation: 47-16=31, Resulting Numbers: [20, 31]
Generated Node #0,0,0: 28:[20, 31] Operation: 47-16=31
Exploring Operation: 20-16=4, Resulting Numbers: [47, 4]
Generated Node #0,0,1: 28:[47, 4] Operation: 20-16=4
Exploring Operation: 47-20=27, Resulting Numbers: [16, 27]
Generated Node #0,0,2: 28:[16, 27] Operation: 47-20=27
Moving to Node #0,1
Current State: 28:[25, 16, 52], Operations: ['72-20=52']
Exploring Operation: 52-16=36, Resulting Numbers: [25, 36]
Generated Node #0,1,0: 28:[25, 36] Operation: 52-16=36
Exploring Operation: 25-16=9, Resulting Numbers: [52, 9]
Generated Node #0,1,1: 28:[52, 9] Operation: 25-16=9
Exploring Operation: 52-25=27, Resulting Numbers: [16, 27]
Generated Node #0,1,2: 28:[16, 27] Operation: 52-25=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[16, 27], Operations: ['72-20=52', '52-25=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,28 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[25, 36], Operations: ['72-20=52', '52-16=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,28 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[52, 9], Operations: ['72-20=52', '25-16=9']
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,28 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 28:[20, 25, 56], Operations: ['72-16=56']
Exploring Operation: 25-20=5, Resulting Numbers: [56, 5]
Generated Node #0,2,0: 28:[56, 5] Operation: 25-20=5
Exploring Operation: 56-20=36, Resulting Numbers: [25, 36]
Generated Node #0,2,1: 28:[25, 36] Operation: 56-20=36
Exploring Operation: 56-25=31, Resulting Numbers: [20, 31]
Generated Node #0,2,2: 28:[20, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[20, 31], Operations: ['72-16=56', '56-25=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,28 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,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,2,1
Current State: 28:[25, 36], Operations: ['72-16=56', '56-20=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,28 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,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,2,0
Current State: 28:[56, 5], Operations: ['72-16=56', '25-20=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,28 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 28:[16, 27], Operations: ['72-25=47', '47-20=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[20, 31], Operations: ['72-25=47', '47-16=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[47, 4], Operations: ['72-25=47', '20-16=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,28 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
9,
72,
72
] | 76 | [
"27-9=18",
"72/18=4",
"72+4=76"
] | Current State: 76:[27, 9, 72, 72], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [72, 72, 18]
Generated Node #2: [72, 72, 18] from Operation: 27-9=18
Current State: 76:[72, 72, 18], Operations: ['27-9=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,76 equal: Goal Reached
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[27, 9, 72, 72], Operations: []
Exploring Operation: 72-72=0, Resulting Numbers: [27, 9, 0]
Generated Node #0,0: 76:[27, 9, 0] Operation: 72-72=0
Exploring Operation: 27+9=36, Resulting Numbers: [72, 72, 36]
Generated Node #0,1: 76:[72, 72, 36] Operation: 27+9=36
Exploring Operation: 72/72=1, Resulting Numbers: [27, 9, 1]
Generated Node #0,2: 76:[27, 9, 1] Operation: 72/72=1
Exploring Operation: 27-9=18, Resulting Numbers: [72, 72, 18]
Generated Node #0,3: 76:[72, 72, 18] Operation: 27-9=18
Exploring Operation: 27/9=3, Resulting Numbers: [72, 72, 3]
Generated Node #0,4: 76:[72, 72, 3] Operation: 27/9=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[72, 72, 18], Operations: ['27-9=18']
Exploring Operation: 72/72=1, Resulting Numbers: [18, 1]
Generated Node #0,3,0: 76:[18, 1] Operation: 72/72=1
Exploring Operation: 72/18=4, Resulting Numbers: [72, 4]
Generated Node #0,3,1: 76:[72, 4] Operation: 72/18=4
Exploring Operation: 72+18=90, Resulting Numbers: [72, 90]
Generated Node #0,3,2: 76:[72, 90] Operation: 72+18=90
Exploring Operation: 72-72=0, Resulting Numbers: [18, 0]
Generated Node #0,3,3: 76:[18, 0] Operation: 72-72=0
Exploring Operation: 72/18=4, Resulting Numbers: [72, 4]
Generated Node #0,3,4: 76:[72, 4] Operation: 72/18=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[18, 1], Operations: ['27-9=18', '72/72=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,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,3,3
Current State: 76:[18, 0], Operations: ['27-9=18', '72-72=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,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,3,1
Current State: 76:[72, 4], Operations: ['27-9=18', '72/18=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,76 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[27, 9, 72, 72], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [72, 72, 18]
Generated Node #0,3: 76:[72, 72, 18] Operation: 27-9=18
Moving to Node #0,3
Current State: 76:[72, 72, 18], Operations: ['27-9=18']
Exploring Operation: 72/18=4, Resulting Numbers: [72, 4]
Generated Node #0,3,1: 76:[72, 4] Operation: 72/18=4
Moving to Node #0,3,1
Current State: 76:[72, 4], Operations: ['27-9=18', '72/18=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
45,
9,
23,
39
] | 99 | [
"39-23=16",
"9*16=144",
"144-45=99"
] | Current State: 99:[45, 9, 23, 39], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [45, 9, 16]
Generated Node #2: [45, 9, 16] from Operation: 39-23=16
Current State: 99:[45, 9, 16], Operations: ['39-23=16']
Exploring Operation: 9*16=144, Resulting Numbers: [45, 144]
Generated Node #3: [45, 144] from Operation: 9*16=144
Current State: 99:[45, 144], Operations: ['39-23=16', '9*16=144']
Exploring Operation: 144-45=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[45, 9, 23, 39], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [9, 39, 22]
Generated Node #0,0: 99:[9, 39, 22] Operation: 45-23=22
Exploring Operation: 45-39=6, Resulting Numbers: [9, 23, 6]
Generated Node #0,1: 99:[9, 23, 6] Operation: 45-39=6
Moving to Node #0,1
Current State: 99:[9, 23, 6], Operations: ['45-39=6']
Exploring Operation: 23+6=29, Resulting Numbers: [9, 29]
Generated Node #0,1,0: 99:[9, 29] Operation: 23+6=29
Exploring Operation: 9+23=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 99:[6, 32] Operation: 9+23=32
Moving to Node #0,0
Current State: 99:[9, 39, 22], Operations: ['45-23=22']
Exploring Operation: 9+22=31, Resulting Numbers: [39, 31]
Generated Node #0,0,0: 99:[39, 31] Operation: 9+22=31
Exploring Operation: 39-22=17, Resulting Numbers: [9, 17]
Generated Node #0,0,1: 99:[9, 17] Operation: 39-22=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[9, 17], Operations: ['45-23=22', '39-22=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[39, 31], Operations: ['45-23=22', '9+22=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,99 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: 99:[9, 29], Operations: ['45-39=6', '23+6=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[6, 32], Operations: ['45-39=6', '9+23=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
44,
29,
86
] | 44 | [
"6*29=174",
"44+86=130",
"174-130=44"
] | Current State: 44:[6, 44, 29, 86], Operations: []
Exploring Operation: 6*29=174, Resulting Numbers: [44, 86, 174]
Generated Node #2: [44, 86, 174] from Operation: 6*29=174
Current State: 44:[44, 86, 174], Operations: ['6*29=174']
Exploring Operation: 44+86=130, Resulting Numbers: [174, 130]
Generated Node #3: [174, 130] from Operation: 44+86=130
Current State: 44:[174, 130], Operations: ['6*29=174', '44+86=130']
Exploring Operation: 174-130=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[6, 44, 29, 86], Operations: []
Exploring Operation: 86-29=57, Resulting Numbers: [6, 44, 57]
Generated Node #0,0: 44:[6, 44, 57] Operation: 86-29=57
Exploring Operation: 86-44=42, Resulting Numbers: [6, 29, 42]
Generated Node #0,1: 44:[6, 29, 42] Operation: 86-44=42
Exploring Operation: 29-6=23, Resulting Numbers: [44, 86, 23]
Generated Node #0,2: 44:[44, 86, 23] Operation: 29-6=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[6, 29, 42], Operations: ['86-44=42']
Exploring Operation: 42/6=7, Resulting Numbers: [29, 7]
Generated Node #0,1,0: 44:[29, 7] Operation: 42/6=7
Exploring Operation: 42-29=13, Resulting Numbers: [6, 13]
Generated Node #0,1,1: 44:[6, 13] Operation: 42-29=13
Exploring Operation: 29-6=23, Resulting Numbers: [42, 23]
Generated Node #0,1,2: 44:[42, 23] Operation: 29-6=23
Moving to Node #0,1,2
Current State: 44:[42, 23], Operations: ['86-44=42', '29-6=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,44 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[6, 13], Operations: ['86-44=42', '42-29=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[29, 7], Operations: ['86-44=42', '42/6=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,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,0
Current State: 44:[6, 44, 57], Operations: ['86-29=57']
Exploring Operation: 57-6=51, Resulting Numbers: [44, 51]
Generated Node #0,0,0: 44:[44, 51] Operation: 57-6=51
Exploring Operation: 6+44=50, Resulting Numbers: [57, 50]
Generated Node #0,0,1: 44:[57, 50] Operation: 6+44=50
Exploring Operation: 57-44=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 44:[6, 13] Operation: 57-44=13
Moving to Node #0,0,2
Current State: 44:[6, 13], Operations: ['86-29=57', '57-44=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,44 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[44, 51], Operations: ['86-29=57', '57-6=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[57, 50], Operations: ['86-29=57', '6+44=50']
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,44 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,44 unequal: No Solution
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,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:[44, 86, 23], Operations: ['29-6=23']
Exploring Operation: 44-23=21, Resulting Numbers: [86, 21]
Generated Node #0,2,0: 44:[86, 21] Operation: 44-23=21
Exploring Operation: 86-23=63, Resulting Numbers: [44, 63]
Generated Node #0,2,1: 44:[44, 63] Operation: 86-23=63
Exploring Operation: 86-44=42, Resulting Numbers: [23, 42]
Generated Node #0,2,2: 44:[23, 42] Operation: 86-44=42
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[23, 42], Operations: ['29-6=23', '86-44=42']
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,44 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,44 unequal: No Solution
Exploring Operation: 42-23=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,2,1
Current State: 44:[44, 63], Operations: ['29-6=23', '86-23=63']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 44+63=107, Resulting Numbers: [107]
107,44 unequal: No Solution
Exploring Operation: 44*63=2772, Resulting Numbers: [2772]
2772,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:[86, 21], Operations: ['29-6=23', '44-23=21']
Exploring Operation: 86+21=107, Resulting Numbers: [107]
107,44 unequal: No Solution
Exploring Operation: 86*21=1806, Resulting Numbers: [1806]
1806,44 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,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 | sum_heuristic |
[
22,
5,
63,
37
] | 33 | [
"22*63=1386",
"5+37=42",
"1386/42=33"
] | Current State: 33:[22, 5, 63, 37], Operations: []
Exploring Operation: 22*63=1386, Resulting Numbers: [5, 37, 1386]
Generated Node #2: [5, 37, 1386] from Operation: 22*63=1386
Current State: 33:[5, 37, 1386], Operations: ['22*63=1386']
Exploring Operation: 5+37=42, Resulting Numbers: [1386, 42]
Generated Node #3: [1386, 42] from Operation: 5+37=42
Current State: 33:[1386, 42], Operations: ['22*63=1386', '5+37=42']
Exploring Operation: 1386/42=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[22, 5, 63, 37], Operations: []
Exploring Operation: 22-5=17, Resulting Numbers: [63, 37, 17]
Generated Node #0,0: 33:[63, 37, 17] Operation: 22-5=17
Exploring Operation: 22+5=27, Resulting Numbers: [63, 37, 27]
Generated Node #0,1: 33:[63, 37, 27] Operation: 22+5=27
Exploring Operation: 37-22=15, Resulting Numbers: [5, 63, 15]
Generated Node #0,2: 33:[5, 63, 15] Operation: 37-22=15
Exploring Operation: 63-37=26, Resulting Numbers: [22, 5, 26]
Generated Node #0,3: 33:[22, 5, 26] Operation: 63-37=26
Exploring Operation: 63-22=41, Resulting Numbers: [5, 37, 41]
Generated Node #0,4: 33:[5, 37, 41] Operation: 63-22=41
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[5, 37, 41], Operations: ['63-22=41']
Exploring Operation: 41-5=36, Resulting Numbers: [37, 36]
Generated Node #0,4,0: 33:[37, 36] Operation: 41-5=36
Exploring Operation: 37-5=32, Resulting Numbers: [41, 32]
Generated Node #0,4,1: 33:[41, 32] Operation: 37-5=32
Exploring Operation: 5+41=46, Resulting Numbers: [37, 46]
Generated Node #0,4,2: 33:[37, 46] Operation: 5+41=46
Exploring Operation: 5+37=42, Resulting Numbers: [41, 42]
Generated Node #0,4,3: 33:[41, 42] Operation: 5+37=42
Exploring Operation: 41-37=4, Resulting Numbers: [5, 4]
Generated Node #0,4,4: 33:[5, 4] Operation: 41-37=4
Moving to Node #0,4,4
Current State: 33:[5, 4], Operations: ['63-22=41', '41-37=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[37, 36], Operations: ['63-22=41', '41-5=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[41, 32], Operations: ['63-22=41', '37-5=32']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[37, 46], Operations: ['63-22=41', '5+41=46']
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,33 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,33 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[41, 42], Operations: ['63-22=41', '5+37=42']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,33 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[22, 5, 26], Operations: ['63-37=26']
Exploring Operation: 22+26=48, Resulting Numbers: [5, 48]
Generated Node #0,3,0: 33:[5, 48] Operation: 22+26=48
Exploring Operation: 22+5=27, Resulting Numbers: [26, 27]
Generated Node #0,3,1: 33:[26, 27] Operation: 22+5=27
Exploring Operation: 26-22=4, Resulting Numbers: [5, 4]
Generated Node #0,3,2: 33:[5, 4] Operation: 26-22=4
Exploring Operation: 5+26=31, Resulting Numbers: [22, 31]
Generated Node #0,3,3: 33:[22, 31] Operation: 5+26=31
Exploring Operation: 22-5=17, Resulting Numbers: [26, 17]
Generated Node #0,3,4: 33:[26, 17] Operation: 22-5=17
Moving to Node #0,3,2
Current State: 33:[5, 4], Operations: ['63-37=26', '26-22=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[22, 31], Operations: ['63-37=26', '5+26=31']
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,33 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[26, 27], Operations: ['63-37=26', '22+5=27']
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,33 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[26, 17], Operations: ['63-37=26', '22-5=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,33 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[5, 48], Operations: ['63-37=26', '22+26=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[5, 63, 15], Operations: ['37-22=15']
Exploring Operation: 5+63=68, Resulting Numbers: [15, 68]
Generated Node #0,2,0: 33:[15, 68] Operation: 5+63=68
Exploring Operation: 15-5=10, Resulting Numbers: [63, 10]
Generated Node #0,2,1: 33:[63, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [63, 3]
Generated Node #0,2,2: 33:[63, 3] Operation: 15/5=3
Exploring Operation: 63-15=48, Resulting Numbers: [5, 48]
Generated Node #0,2,3: 33:[5, 48] Operation: 63-15=48
Exploring Operation: 63-5=58, Resulting Numbers: [15, 58]
Generated Node #0,2,4: 33:[15, 58] Operation: 63-5=58
Moving to Node #0,2,3
Current State: 33:[5, 48], Operations: ['37-22=15', '63-15=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[15, 58], Operations: ['37-22=15', '63-5=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[63, 3], Operations: ['37-22=15', '15/5=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,33 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,33 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[63, 10], Operations: ['37-22=15', '15-5=10']
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,33 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[15, 68], Operations: ['37-22=15', '5+63=68']
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,33 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[63, 37, 17], Operations: ['22-5=17']
Exploring Operation: 63-37=26, Resulting Numbers: [17, 26]
Generated Node #0,0,0: 33:[17, 26] Operation: 63-37=26
Exploring Operation: 63+17=80, Resulting Numbers: [37, 80]
Generated Node #0,0,1: 33:[37, 80] Operation: 63+17=80
Exploring Operation: 37-17=20, Resulting Numbers: [63, 20]
Generated Node #0,0,2: 33:[63, 20] Operation: 37-17=20
Exploring Operation: 37+17=54, Resulting Numbers: [63, 54]
Generated Node #0,0,3: 33:[63, 54] Operation: 37+17=54
Exploring Operation: 63-17=46, Resulting Numbers: [37, 46]
Generated Node #0,0,4: 33:[37, 46] Operation: 63-17=46
Moving to Node #0,0,0
Current State: 33:[17, 26], Operations: ['22-5=17', '63-37=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[37, 46], Operations: ['22-5=17', '63-17=46']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,33 unequal: No Solution
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[63, 20], Operations: ['22-5=17', '37-17=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,33 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[37, 80], Operations: ['22-5=17', '63+17=80']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 37*80=2960, Resulting Numbers: [2960]
2960,33 unequal: No Solution
Exploring Operation: 37+80=117, Resulting Numbers: [117]
117,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[63, 54], Operations: ['22-5=17', '37+17=54']
Exploring Operation: 63*54=3402, Resulting Numbers: [3402]
3402,33 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[63, 37, 27], Operations: ['22+5=27']
Exploring Operation: 37+27=64, Resulting Numbers: [63, 64]
Generated Node #0,1,0: 33:[63, 64] Operation: 37+27=64
Exploring Operation: 63-37=26, Resulting Numbers: [27, 26]
Generated Node #0,1,1: 33:[27, 26] Operation: 63-37=26
Exploring Operation: 63-27=36, Resulting Numbers: [37, 36]
Generated Node #0,1,2: 33:[37, 36] Operation: 63-27=36
Exploring Operation: 63+27=90, Resulting Numbers: [37, 90]
Generated Node #0,1,3: 33:[37, 90] Operation: 63+27=90
Exploring Operation: 37-27=10, Resulting Numbers: [63, 10]
Generated Node #0,1,4: 33:[63, 10] Operation: 37-27=10
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[37, 36], Operations: ['22+5=27', '63-27=36']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[27, 26], Operations: ['22+5=27', '63-37=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,33 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 33:[63, 10], Operations: ['22+5=27', '37-27=10']
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[63, 64], Operations: ['22+5=27', '37+27=64']
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,33 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[37, 90], Operations: ['22+5=27', '63+27=90']
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,33 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
65,
47,
93,
75
] | 94 | [
"65+47=112",
"93-75=18",
"112-18=94"
] | Current State: 94:[65, 47, 93, 75], Operations: []
Exploring Operation: 65+47=112, Resulting Numbers: [93, 75, 112]
Generated Node #2: [93, 75, 112] from Operation: 65+47=112
Current State: 94:[93, 75, 112], Operations: ['65+47=112']
Exploring Operation: 93-75=18, Resulting Numbers: [112, 18]
Generated Node #3: [112, 18] from Operation: 93-75=18
Current State: 94:[112, 18], Operations: ['65+47=112', '93-75=18']
Exploring Operation: 112-18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[65, 47, 93, 75], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [47, 93, 10]
Generated Node #0,0: 94:[47, 93, 10] Operation: 75-65=10
Exploring Operation: 93-75=18, Resulting Numbers: [65, 47, 18]
Generated Node #0,1: 94:[65, 47, 18] Operation: 93-75=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[47, 93, 10], Operations: ['75-65=10']
Exploring Operation: 93+10=103, Resulting Numbers: [47, 103]
Generated Node #0,0,0: 94:[47, 103] Operation: 93+10=103
Exploring Operation: 93-47=46, Resulting Numbers: [10, 46]
Generated Node #0,0,1: 94:[10, 46] Operation: 93-47=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[47, 103], Operations: ['75-65=10', '93+10=103']
Exploring Operation: 47+103=150, Resulting Numbers: [150]
150,94 unequal: No Solution
Exploring Operation: 103-47=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[10, 46], Operations: ['75-65=10', '93-47=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[65, 47, 18], Operations: ['93-75=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47, 47]
Generated Node #0,1,0: 94:[47, 47] Operation: 65-18=47
Exploring Operation: 65+18=83, Resulting Numbers: [47, 83]
Generated Node #0,1,1: 94:[47, 83] Operation: 65+18=83
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[47, 47], Operations: ['93-75=18', '65-18=47']
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[65, 47, 93, 75], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [65, 47, 18]
Generated Node #0,1: 94:[65, 47, 18] Operation: 93-75=18
Moving to Node #0,1
Current State: 94:[65, 47, 18], Operations: ['93-75=18']
Exploring Operation: 65-18=47, Resulting Numbers: [47, 47]
Generated Node #0,1,0: 94:[47, 47] Operation: 65-18=47
Moving to Node #0,1,0
Current State: 94:[47, 47], Operations: ['93-75=18', '65-18=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
56,
44,
39,
27
] | 34 | [
"56+44=100",
"39+27=66",
"100-66=34"
] | Current State: 34:[56, 44, 39, 27], Operations: []
Exploring Operation: 56+44=100, Resulting Numbers: [39, 27, 100]
Generated Node #2: [39, 27, 100] from Operation: 56+44=100
Current State: 34:[39, 27, 100], Operations: ['56+44=100']
Exploring Operation: 39+27=66, Resulting Numbers: [100, 66]
Generated Node #3: [100, 66] from Operation: 39+27=66
Current State: 34:[100, 66], Operations: ['56+44=100', '39+27=66']
Exploring Operation: 100-66=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[56, 44, 39, 27], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [39, 27, 12]
Generated Node #0,0: 34:[39, 27, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[39, 27, 12], Operations: ['56-44=12']
Exploring Operation: 27-12=15, Resulting Numbers: [39, 15]
Generated Node #0,0,0: 34:[39, 15] Operation: 27-12=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[39, 15], Operations: ['56-44=12', '27-12=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
96,
31,
24
] | 18 | [
"30+96=126",
"31-24=7",
"126/7=18"
] | Current State: 18:[30, 96, 31, 24], Operations: []
Exploring Operation: 30+96=126, Resulting Numbers: [31, 24, 126]
Generated Node #2: [31, 24, 126] from Operation: 30+96=126
Current State: 18:[31, 24, 126], Operations: ['30+96=126']
Exploring Operation: 31-24=7, Resulting Numbers: [126, 7]
Generated Node #3: [126, 7] from Operation: 31-24=7
Current State: 18:[126, 7], Operations: ['30+96=126', '31-24=7']
Exploring Operation: 126/7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 96, 31, 24], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [30, 24, 65]
Generated Node #0,0: 18:[30, 24, 65] Operation: 96-31=65
Exploring Operation: 96/24=4, Resulting Numbers: [30, 31, 4]
Generated Node #0,1: 18:[30, 31, 4] Operation: 96/24=4
Exploring Operation: 96-30=66, Resulting Numbers: [31, 24, 66]
Generated Node #0,2: 18:[31, 24, 66] Operation: 96-30=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[30, 31, 4], Operations: ['96/24=4']
Exploring Operation: 31-4=27, Resulting Numbers: [30, 27]
Generated Node #0,1,0: 18:[30, 27] Operation: 31-4=27
Exploring Operation: 30-4=26, Resulting Numbers: [31, 26]
Generated Node #0,1,1: 18:[31, 26] Operation: 30-4=26
Exploring Operation: 31-30=1, Resulting Numbers: [4, 1]
Generated Node #0,1,2: 18:[4, 1] Operation: 31-30=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[4, 1], Operations: ['96/24=4', '31-30=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[30, 27], Operations: ['96/24=4', '31-4=27']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,18 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[31, 26], Operations: ['96/24=4', '30-4=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,18 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[30, 24, 65], Operations: ['96-31=65']
Exploring Operation: 30-24=6, Resulting Numbers: [65, 6]
Generated Node #0,0,0: 18:[65, 6] Operation: 30-24=6
Exploring Operation: 65-30=35, Resulting Numbers: [24, 35]
Generated Node #0,0,1: 18:[24, 35] Operation: 65-30=35
Exploring Operation: 65-24=41, Resulting Numbers: [30, 41]
Generated Node #0,0,2: 18:[30, 41] Operation: 65-24=41
Moving to Node #0,0,1
Current State: 18:[24, 35], Operations: ['96-31=65', '65-30=35']
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,18 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[30, 41], Operations: ['96-31=65', '65-24=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,18 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[65, 6], Operations: ['96-31=65', '30-24=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,18 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,18 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[31, 24, 66], Operations: ['96-30=66']
Exploring Operation: 31-24=7, Resulting Numbers: [66, 7]
Generated Node #0,2,0: 18:[66, 7] Operation: 31-24=7
Exploring Operation: 66-31=35, Resulting Numbers: [24, 35]
Generated Node #0,2,1: 18:[24, 35] Operation: 66-31=35
Exploring Operation: 66-24=42, Resulting Numbers: [31, 42]
Generated Node #0,2,2: 18:[31, 42] Operation: 66-24=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[24, 35], Operations: ['96-30=66', '66-31=35']
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,18 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[31, 42], Operations: ['96-30=66', '66-24=42']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 31*42=1302, Resulting Numbers: [1302]
1302,18 unequal: No Solution
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[66, 7], Operations: ['96-30=66', '31-24=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
59,
90,
10,
9
] | 30 | [
"90-59=31",
"10-9=1",
"31-1=30"
] | Current State: 30:[59, 90, 10, 9], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [10, 9, 31]
Generated Node #2: [10, 9, 31] from Operation: 90-59=31
Current State: 30:[10, 9, 31], Operations: ['90-59=31']
Exploring Operation: 10-9=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 10-9=1
Current State: 30:[31, 1], Operations: ['90-59=31', '10-9=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[59, 90, 10, 9], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [10, 9, 31]
Generated Node #0,0: 30:[10, 9, 31] Operation: 90-59=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[10, 9, 31], Operations: ['90-59=31']
Exploring Operation: 10-9=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['90-59=31', '10-9=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[59, 90, 10, 9], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [10, 9, 31]
Generated Node #0,0: 30:[10, 9, 31] Operation: 90-59=31
Moving to Node #0,0
Current State: 30:[10, 9, 31], Operations: ['90-59=31']
Exploring Operation: 10-9=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 30:[31, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 30:[31, 1], Operations: ['90-59=31', '10-9=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
86,
46,
54,
34
] | 23 | [
"86-54=32",
"34-32=2",
"46/2=23"
] | Current State: 23:[86, 46, 54, 34], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [46, 34, 32]
Generated Node #2: [46, 34, 32] from Operation: 86-54=32
Current State: 23:[46, 34, 32], Operations: ['86-54=32']
Exploring Operation: 34-32=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 34-32=2
Current State: 23:[46, 2], Operations: ['86-54=32', '34-32=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[86, 46, 54, 34], Operations: []
Exploring Operation: 86-34=52, Resulting Numbers: [46, 54, 52]
Generated Node #0,0: 23:[46, 54, 52] Operation: 86-34=52
Exploring Operation: 86-54=32, Resulting Numbers: [46, 34, 32]
Generated Node #0,1: 23:[46, 34, 32] Operation: 86-54=32
Exploring Operation: 86-46=40, Resulting Numbers: [54, 34, 40]
Generated Node #0,2: 23:[54, 34, 40] Operation: 86-46=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[46, 34, 32], Operations: ['86-54=32']
Exploring Operation: 34-32=2, Resulting Numbers: [46, 2]
Generated Node #0,1,0: 23:[46, 2] Operation: 34-32=2
Exploring Operation: 46-32=14, Resulting Numbers: [34, 14]
Generated Node #0,1,1: 23:[34, 14] Operation: 46-32=14
Exploring Operation: 46-34=12, Resulting Numbers: [32, 12]
Generated Node #0,1,2: 23:[32, 12] Operation: 46-34=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[34, 14], Operations: ['86-54=32', '46-32=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,23 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[32, 12], Operations: ['86-54=32', '46-34=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,23 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[46, 2], Operations: ['86-54=32', '34-32=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[86, 46, 54, 34], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [46, 34, 32]
Generated Node #0,1: 23:[46, 34, 32] Operation: 86-54=32
Moving to Node #0,1
Current State: 23:[46, 34, 32], Operations: ['86-54=32']
Exploring Operation: 34-32=2, Resulting Numbers: [46, 2]
Generated Node #0,1,0: 23:[46, 2] Operation: 34-32=2
Moving to Node #0,1,0
Current State: 23:[46, 2], Operations: ['86-54=32', '34-32=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
3,
22,
58,
74
] | 98 | [
"74-22=52",
"3*52=156",
"156-58=98"
] | Current State: 98:[3, 22, 58, 74], Operations: []
Exploring Operation: 74-22=52, Resulting Numbers: [3, 58, 52]
Generated Node #2: [3, 58, 52] from Operation: 74-22=52
Current State: 98:[3, 58, 52], Operations: ['74-22=52']
Exploring Operation: 3*52=156, Resulting Numbers: [58, 156]
Generated Node #3: [58, 156] from Operation: 3*52=156
Current State: 98:[58, 156], Operations: ['74-22=52', '3*52=156']
Exploring Operation: 156-58=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 22, 58, 74], Operations: []
Exploring Operation: 22+74=96, Resulting Numbers: [3, 58, 96]
Generated Node #0,0: 98:[3, 58, 96] Operation: 22+74=96
Exploring Operation: 74-58=16, Resulting Numbers: [3, 22, 16]
Generated Node #0,1: 98:[3, 22, 16] Operation: 74-58=16
Exploring Operation: 74-22=52, Resulting Numbers: [3, 58, 52]
Generated Node #0,2: 98:[3, 58, 52] Operation: 74-22=52
Exploring Operation: 22-3=19, Resulting Numbers: [58, 74, 19]
Generated Node #0,3: 98:[58, 74, 19] Operation: 22-3=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[3, 22, 16], Operations: ['74-58=16']
Exploring Operation: 16-3=13, Resulting Numbers: [22, 13]
Generated Node #0,1,0: 98:[22, 13] Operation: 16-3=13
Exploring Operation: 3*16=48, Resulting Numbers: [22, 48]
Generated Node #0,1,1: 98:[22, 48] Operation: 3*16=48
Exploring Operation: 22-3=19, Resulting Numbers: [16, 19]
Generated Node #0,1,2: 98:[16, 19] Operation: 22-3=19
Exploring Operation: 22-16=6, Resulting Numbers: [3, 6]
Generated Node #0,1,3: 98:[3, 6] Operation: 22-16=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[3, 6], Operations: ['74-58=16', '22-16=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[16, 19], Operations: ['74-58=16', '22-3=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,98 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[22, 13], Operations: ['74-58=16', '16-3=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,98 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[22, 48], Operations: ['74-58=16', '3*16=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[3, 58, 96], Operations: ['22+74=96']
Exploring Operation: 58-3=55, Resulting Numbers: [96, 55]
Generated Node #0,0,0: 98:[96, 55] Operation: 58-3=55
Exploring Operation: 96-58=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 98:[3, 38] Operation: 96-58=38
Exploring Operation: 3+58=61, Resulting Numbers: [96, 61]
Generated Node #0,0,2: 98:[96, 61] Operation: 3+58=61
Exploring Operation: 3+96=99, Resulting Numbers: [58, 99]
Generated Node #0,0,3: 98:[58, 99] Operation: 3+96=99
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[96, 55], Operations: ['22+74=96', '58-3=55']
Exploring Operation: 96*55=5280, Resulting Numbers: [5280]
5280,98 unequal: No Solution
Exploring Operation: 96+55=151, Resulting Numbers: [151]
151,98 unequal: No Solution
Exploring Operation: 96-55=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[58, 99], Operations: ['22+74=96', '3+96=99']
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,98 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[3, 38], Operations: ['22+74=96', '96-58=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[96, 61], Operations: ['22+74=96', '3+58=61']
Exploring Operation: 96-61=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 96+61=157, Resulting Numbers: [157]
157,98 unequal: No Solution
Exploring Operation: 96*61=5856, Resulting Numbers: [5856]
5856,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[3, 58, 52], Operations: ['74-22=52']
Exploring Operation: 58-3=55, Resulting Numbers: [52, 55]
Generated Node #0,2,0: 98:[52, 55] Operation: 58-3=55
Exploring Operation: 52-3=49, Resulting Numbers: [58, 49]
Generated Node #0,2,1: 98:[58, 49] Operation: 52-3=49
Exploring Operation: 58-52=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 98:[3, 6] Operation: 58-52=6
Exploring Operation: 58+52=110, Resulting Numbers: [3, 110]
Generated Node #0,2,3: 98:[3, 110] Operation: 58+52=110
Moving to Node #0,2,2
Current State: 98:[3, 6], Operations: ['74-22=52', '58-52=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[58, 49], Operations: ['74-22=52', '52-3=49']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[52, 55], Operations: ['74-22=52', '58-3=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[3, 110], Operations: ['74-22=52', '58+52=110']
Exploring Operation: 3*110=330, Resulting Numbers: [330]
330,98 unequal: No Solution
Exploring Operation: 3+110=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 110-3=107, Resulting Numbers: [107]
107,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[58, 74, 19], Operations: ['22-3=19']
Exploring Operation: 74-19=55, Resulting Numbers: [58, 55]
Generated Node #0,3,0: 98:[58, 55] Operation: 74-19=55
Exploring Operation: 58-19=39, Resulting Numbers: [74, 39]
Generated Node #0,3,1: 98:[74, 39] Operation: 58-19=39
Exploring Operation: 74+19=93, Resulting Numbers: [58, 93]
Generated Node #0,3,2: 98:[58, 93] Operation: 74+19=93
Exploring Operation: 74-58=16, Resulting Numbers: [19, 16]
Generated Node #0,3,3: 98:[19, 16] Operation: 74-58=16
Moving to Node #0,3,3
Current State: 98:[19, 16], Operations: ['22-3=19', '74-58=16']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 19*16=304, Resulting Numbers: [304]
304,98 unequal: No Solution
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[58, 93], Operations: ['22-3=19', '74+19=93']
Exploring Operation: 58+93=151, Resulting Numbers: [151]
151,98 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 58*93=5394, Resulting Numbers: [5394]
5394,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[58, 55], Operations: ['22-3=19', '74-19=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,98 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[74, 39], Operations: ['22-3=19', '58-19=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,98 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
13,
69,
73
] | 80 | [
"75-13=62",
"69+73=142",
"142-62=80"
] | Current State: 80:[75, 13, 69, 73], Operations: []
Exploring Operation: 75-13=62, Resulting Numbers: [69, 73, 62]
Generated Node #2: [69, 73, 62] from Operation: 75-13=62
Current State: 80:[69, 73, 62], Operations: ['75-13=62']
Exploring Operation: 69+73=142, Resulting Numbers: [62, 142]
Generated Node #3: [62, 142] from Operation: 69+73=142
Current State: 80:[62, 142], Operations: ['75-13=62', '69+73=142']
Exploring Operation: 142-62=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[75, 13, 69, 73], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [13, 69, 2]
Generated Node #0,0: 80:[13, 69, 2] Operation: 75-73=2
Exploring Operation: 73-69=4, Resulting Numbers: [75, 13, 4]
Generated Node #0,1: 80:[75, 13, 4] Operation: 73-69=4
Exploring Operation: 13+69=82, Resulting Numbers: [75, 73, 82]
Generated Node #0,2: 80:[75, 73, 82] Operation: 13+69=82
Exploring Operation: 75-69=6, Resulting Numbers: [13, 73, 6]
Generated Node #0,3: 80:[13, 73, 6] Operation: 75-69=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[75, 13, 4], Operations: ['73-69=4']
Exploring Operation: 75+4=79, Resulting Numbers: [13, 79]
Generated Node #0,1,0: 80:[13, 79] Operation: 75+4=79
Exploring Operation: 75+13=88, Resulting Numbers: [4, 88]
Generated Node #0,1,1: 80:[4, 88] Operation: 75+13=88
Exploring Operation: 13-4=9, Resulting Numbers: [75, 9]
Generated Node #0,1,2: 80:[75, 9] Operation: 13-4=9
Exploring Operation: 13+4=17, Resulting Numbers: [75, 17]
Generated Node #0,1,3: 80:[75, 17] Operation: 13+4=17
Moving to Node #0,1,0
Current State: 80:[13, 79], Operations: ['73-69=4', '75+4=79']
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,80 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[75, 17], Operations: ['73-69=4', '13+4=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[75, 9], Operations: ['73-69=4', '13-4=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,80 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[4, 88], Operations: ['73-69=4', '75+13=88']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,80 unequal: No Solution
Exploring Operation: 4+88=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 4*88=352, Resulting Numbers: [352]
352,80 unequal: No Solution
No 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: 80:[13, 73, 6], Operations: ['75-69=6']
Exploring Operation: 13+73=86, Resulting Numbers: [6, 86]
Generated Node #0,3,0: 80:[6, 86] Operation: 13+73=86
Exploring Operation: 13+6=19, Resulting Numbers: [73, 19]
Generated Node #0,3,1: 80:[73, 19] Operation: 13+6=19
Exploring Operation: 73+6=79, Resulting Numbers: [13, 79]
Generated Node #0,3,2: 80:[13, 79] Operation: 73+6=79
Exploring Operation: 13-6=7, Resulting Numbers: [73, 7]
Generated Node #0,3,3: 80:[73, 7] Operation: 13-6=7
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 80:[13, 79], Operations: ['75-69=6', '73+6=79']
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,80 unequal: No Solution
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,80 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,80 unequal: No Solution
No 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: 80:[6, 86], Operations: ['75-69=6', '13+73=86']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[75, 13, 69, 73], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [13, 73, 6]
Generated Node #0,3: 80:[13, 73, 6] Operation: 75-69=6
Moving to Node #0,3
Current State: 80:[13, 73, 6], Operations: ['75-69=6']
Exploring Operation: 13+73=86, Resulting Numbers: [6, 86]
Generated Node #0,3,0: 80:[6, 86] Operation: 13+73=86
Moving to Node #0,3,0
Current State: 80:[6, 86], Operations: ['75-69=6', '13+73=86']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
9,
49,
5,
57
] | 67 | [
"57-49=8",
"9*8=72",
"72-5=67"
] | Current State: 67:[9, 49, 5, 57], Operations: []
Exploring Operation: 57-49=8, Resulting Numbers: [9, 5, 8]
Generated Node #2: [9, 5, 8] from Operation: 57-49=8
Current State: 67:[9, 5, 8], Operations: ['57-49=8']
Exploring Operation: 9*8=72, Resulting Numbers: [5, 72]
Generated Node #3: [5, 72] from Operation: 9*8=72
Current State: 67:[5, 72], Operations: ['57-49=8', '9*8=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[9, 49, 5, 57], Operations: []
Exploring Operation: 9+49=58, Resulting Numbers: [5, 57, 58]
Generated Node #0,0: 67:[5, 57, 58] Operation: 9+49=58
Exploring Operation: 9*5=45, Resulting Numbers: [49, 57, 45]
Generated Node #0,1: 67:[49, 57, 45] Operation: 9*5=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[49, 57, 45], Operations: ['9*5=45']
Exploring Operation: 57+45=102, Resulting Numbers: [49, 102]
Generated Node #0,1,0: 67:[49, 102] Operation: 57+45=102
Exploring Operation: 49+45=94, Resulting Numbers: [57, 94]
Generated Node #0,1,1: 67:[57, 94] Operation: 49+45=94
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[57, 94], Operations: ['9*5=45', '49+45=94']
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,67 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,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:[49, 102], Operations: ['9*5=45', '57+45=102']
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,67 unequal: No Solution
Exploring Operation: 49+102=151, Resulting Numbers: [151]
151,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:[5, 57, 58], Operations: ['9+49=58']
Exploring Operation: 5+57=62, Resulting Numbers: [58, 62]
Generated Node #0,0,0: 67:[58, 62] Operation: 5+57=62
Exploring Operation: 5+58=63, Resulting Numbers: [57, 63]
Generated Node #0,0,1: 67:[57, 63] Operation: 5+58=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[58, 62], Operations: ['9+49=58', '5+57=62']
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[57, 63], Operations: ['9+49=58', '5+58=63']
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
83,
31,
71
] | 93 | [
"83-71=12",
"12/4=3",
"31*3=93"
] | Current State: 93:[4, 83, 31, 71], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [4, 31, 12]
Generated Node #2: [4, 31, 12] from Operation: 83-71=12
Current State: 93:[4, 31, 12], Operations: ['83-71=12']
Exploring Operation: 12/4=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 12/4=3
Current State: 93:[31, 3], Operations: ['83-71=12', '12/4=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[4, 83, 31, 71], Operations: []
Exploring Operation: 31+71=102, Resulting Numbers: [4, 83, 102]
Generated Node #0,0: 93:[4, 83, 102] Operation: 31+71=102
Exploring Operation: 83-71=12, Resulting Numbers: [4, 31, 12]
Generated Node #0,1: 93:[4, 31, 12] Operation: 83-71=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[4, 31, 12], Operations: ['83-71=12']
Exploring Operation: 12-4=8, Resulting Numbers: [31, 8]
Generated Node #0,1,0: 93:[31, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [31, 3]
Generated Node #0,1,1: 93:[31, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[31, 3], Operations: ['83-71=12', '12/4=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[4, 83, 31, 71], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [4, 31, 12]
Generated Node #0,1: 93:[4, 31, 12] Operation: 83-71=12
Moving to Node #0,1
Current State: 93:[4, 31, 12], Operations: ['83-71=12']
Exploring Operation: 12/4=3, Resulting Numbers: [31, 3]
Generated Node #0,1,1: 93:[31, 3] Operation: 12/4=3
Moving to Node #0,1,1
Current State: 93:[31, 3], Operations: ['83-71=12', '12/4=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
99,
46,
53,
71
] | 70 | [
"99-46=53",
"53/53=1",
"71-1=70"
] | Current State: 70:[99, 46, 53, 71], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [53, 71, 53]
Generated Node #2: [53, 71, 53] from Operation: 99-46=53
Current State: 70:[53, 71, 53], Operations: ['99-46=53']
Exploring Operation: 53/53=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 53/53=1
Current State: 70:[71, 1], Operations: ['99-46=53', '53/53=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[99, 46, 53, 71], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [46, 53, 28]
Generated Node #0,0: 70:[46, 53, 28] Operation: 99-71=28
Exploring Operation: 99-46=53, Resulting Numbers: [53, 71, 53]
Generated Node #0,1: 70:[53, 71, 53] Operation: 99-46=53
Exploring Operation: 53-46=7, Resulting Numbers: [99, 71, 7]
Generated Node #0,2: 70:[99, 71, 7] Operation: 53-46=7
Exploring Operation: 99-53=46, Resulting Numbers: [46, 71, 46]
Generated Node #0,3: 70:[46, 71, 46] Operation: 99-53=46
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[46, 71, 46], Operations: ['99-53=46']
Exploring Operation: 46-46=0, Resulting Numbers: [71, 0]
Generated Node #0,3,0: 70:[71, 0] Operation: 46-46=0
Exploring Operation: 71-46=25, Resulting Numbers: [46, 25]
Generated Node #0,3,1: 70:[46, 25] Operation: 71-46=25
Exploring Operation: 46/46=1, Resulting Numbers: [71, 1]
Generated Node #0,3,2: 70:[71, 1] Operation: 46/46=1
Exploring Operation: 71-46=25, Resulting Numbers: [46, 25]
Generated Node #0,3,3: 70:[46, 25] Operation: 71-46=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[71, 1], Operations: ['99-53=46', '46/46=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[99, 46, 53, 71], Operations: []
Exploring Operation: 99-53=46, Resulting Numbers: [46, 71, 46]
Generated Node #0,3: 70:[46, 71, 46] Operation: 99-53=46
Moving to Node #0,3
Current State: 70:[46, 71, 46], Operations: ['99-53=46']
Exploring Operation: 46/46=1, Resulting Numbers: [71, 1]
Generated Node #0,3,2: 70:[71, 1] Operation: 46/46=1
Moving to Node #0,3,2
Current State: 70:[71, 1], Operations: ['99-53=46', '46/46=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
40,
80,
10,
52
] | 20 | [
"52-40=12",
"80/10=8",
"12+8=20"
] | Current State: 20:[40, 80, 10, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [80, 10, 12]
Generated Node #2: [80, 10, 12] from Operation: 52-40=12
Current State: 20:[80, 10, 12], Operations: ['52-40=12']
Exploring Operation: 80/10=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 80/10=8
Current State: 20:[12, 8], Operations: ['52-40=12', '80/10=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[40, 80, 10, 52], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [40, 10, 28]
Generated Node #0,0: 20:[40, 10, 28] Operation: 80-52=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[40, 10, 28], Operations: ['80-52=28']
Exploring Operation: 40-28=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 20:[10, 12] Operation: 40-28=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[10, 12], Operations: ['80-52=28', '40-28=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
36,
35,
25
] | 20 | [
"25-5=20",
"36-35=1",
"20*1=20"
] | Current State: 20:[5, 36, 35, 25], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [36, 35, 20]
Generated Node #2: [36, 35, 20] from Operation: 25-5=20
Current State: 20:[36, 35, 20], Operations: ['25-5=20']
Exploring Operation: 36-35=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 36-35=1
Current State: 20:[20, 1], Operations: ['25-5=20', '36-35=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[5, 36, 35, 25], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [36, 25, 7]
Generated Node #0,0: 20:[36, 25, 7] Operation: 35/5=7
Exploring Operation: 36-25=11, Resulting Numbers: [5, 35, 11]
Generated Node #0,1: 20:[5, 35, 11] Operation: 36-25=11
Exploring Operation: 36-35=1, Resulting Numbers: [5, 25, 1]
Generated Node #0,2: 20:[5, 25, 1] Operation: 36-35=1
Exploring Operation: 35-25=10, Resulting Numbers: [5, 36, 10]
Generated Node #0,3: 20:[5, 36, 10] Operation: 35-25=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[5, 25, 1], Operations: ['36-35=1']
Exploring Operation: 5*1=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 20:[25, 5] Operation: 5*1=5
Exploring Operation: 25-1=24, Resulting Numbers: [5, 24]
Generated Node #0,2,1: 20:[5, 24] Operation: 25-1=24
Exploring Operation: 25-5=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 20:[1, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [1, 5]
Generated Node #0,2,3: 20:[1, 5] Operation: 25/5=5
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[1, 20], Operations: ['36-35=1', '25-5=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[5, 36, 35, 25], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [5, 25, 1]
Generated Node #0,2: 20:[5, 25, 1] Operation: 36-35=1
Moving to Node #0,2
Current State: 20:[5, 25, 1], Operations: ['36-35=1']
Exploring Operation: 25-5=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 20:[1, 20] Operation: 25-5=20
Moving to Node #0,2,2
Current State: 20:[1, 20], Operations: ['36-35=1', '25-5=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
17,
14,
61,
42
] | 81 | [
"17+61=78",
"42/14=3",
"78+3=81"
] | Current State: 81:[17, 14, 61, 42], Operations: []
Exploring Operation: 17+61=78, Resulting Numbers: [14, 42, 78]
Generated Node #2: [14, 42, 78] from Operation: 17+61=78
Current State: 81:[14, 42, 78], Operations: ['17+61=78']
Exploring Operation: 42/14=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 42/14=3
Current State: 81:[78, 3], Operations: ['17+61=78', '42/14=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[17, 14, 61, 42], Operations: []
Exploring Operation: 14+61=75, Resulting Numbers: [17, 42, 75]
Generated Node #0,0: 81:[17, 42, 75] Operation: 14+61=75
Exploring Operation: 61-42=19, Resulting Numbers: [17, 14, 19]
Generated Node #0,1: 81:[17, 14, 19] Operation: 61-42=19
Exploring Operation: 42-17=25, Resulting Numbers: [14, 61, 25]
Generated Node #0,2: 81:[14, 61, 25] Operation: 42-17=25
Exploring Operation: 17+61=78, Resulting Numbers: [14, 42, 78]
Generated Node #0,3: 81:[14, 42, 78] Operation: 17+61=78
Exploring Operation: 42/14=3, Resulting Numbers: [17, 61, 3]
Generated Node #0,4: 81:[17, 61, 3] Operation: 42/14=3
Moving to Node #0,1
Current State: 81:[17, 14, 19], Operations: ['61-42=19']
Exploring Operation: 17+14=31, Resulting Numbers: [19, 31]
Generated Node #0,1,0: 81:[19, 31] Operation: 17+14=31
Exploring Operation: 17+19=36, Resulting Numbers: [14, 36]
Generated Node #0,1,1: 81:[14, 36] Operation: 17+19=36
Exploring Operation: 19-14=5, Resulting Numbers: [17, 5]
Generated Node #0,1,2: 81:[17, 5] Operation: 19-14=5
Exploring Operation: 17-14=3, Resulting Numbers: [19, 3]
Generated Node #0,1,3: 81:[19, 3] Operation: 17-14=3
Exploring Operation: 19-17=2, Resulting Numbers: [14, 2]
Generated Node #0,1,4: 81:[14, 2] Operation: 19-17=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 81:[14, 2], Operations: ['61-42=19', '19-17=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[19, 3], Operations: ['61-42=19', '17-14=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[17, 5], Operations: ['61-42=19', '19-14=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[19, 31], Operations: ['61-42=19', '17+14=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,81 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[14, 36], Operations: ['61-42=19', '17+19=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,81 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 81:[14, 42, 78], Operations: ['17+61=78']
Exploring Operation: 78-42=36, Resulting Numbers: [14, 36]
Generated Node #0,3,0: 81:[14, 36] Operation: 78-42=36
Exploring Operation: 14+42=56, Resulting Numbers: [78, 56]
Generated Node #0,3,1: 81:[78, 56] Operation: 14+42=56
Exploring Operation: 42-14=28, Resulting Numbers: [78, 28]
Generated Node #0,3,2: 81:[78, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [78, 3]
Generated Node #0,3,3: 81:[78, 3] Operation: 42/14=3
Exploring Operation: 14+78=92, Resulting Numbers: [42, 92]
Generated Node #0,3,4: 81:[42, 92] Operation: 14+78=92
Moving to Node #0,2
Current State: 81:[14, 61, 25], Operations: ['42-17=25']
Exploring Operation: 25-14=11, Resulting Numbers: [61, 11]
Generated Node #0,2,0: 81:[61, 11] Operation: 25-14=11
Exploring Operation: 61-14=47, Resulting Numbers: [25, 47]
Generated Node #0,2,1: 81:[25, 47] Operation: 61-14=47
Exploring Operation: 61+25=86, Resulting Numbers: [14, 86]
Generated Node #0,2,2: 81:[14, 86] Operation: 61+25=86
Exploring Operation: 14+61=75, Resulting Numbers: [25, 75]
Generated Node #0,2,3: 81:[25, 75] Operation: 14+61=75
Exploring Operation: 61-25=36, Resulting Numbers: [14, 36]
Generated Node #0,2,4: 81:[14, 36] Operation: 61-25=36
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[25, 75], Operations: ['42-17=25', '14+61=75']
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 25*75=1875, Resulting Numbers: [1875]
1875,81 unequal: No Solution
Exploring Operation: 25+75=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[14, 86], Operations: ['42-17=25', '61+25=86']
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,81 unequal: No Solution
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 81:[14, 36], Operations: ['42-17=25', '61-25=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,81 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[61, 11], Operations: ['42-17=25', '25-14=11']
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[25, 47], Operations: ['42-17=25', '61-14=47']
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,81 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,81 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: 81:[17, 61, 3], Operations: ['42/14=3']
Exploring Operation: 61-17=44, Resulting Numbers: [3, 44]
Generated Node #0,4,0: 81:[3, 44] Operation: 61-17=44
Exploring Operation: 17+61=78, Resulting Numbers: [3, 78]
Generated Node #0,4,1: 81:[3, 78] Operation: 17+61=78
Exploring Operation: 17+3=20, Resulting Numbers: [61, 20]
Generated Node #0,4,2: 81:[61, 20] Operation: 17+3=20
Exploring Operation: 61+3=64, Resulting Numbers: [17, 64]
Generated Node #0,4,3: 81:[17, 64] Operation: 61+3=64
Exploring Operation: 17-3=14, Resulting Numbers: [61, 14]
Generated Node #0,4,4: 81:[61, 14] Operation: 17-3=14
Moving to Node #0,0
Current State: 81:[17, 42, 75], Operations: ['14+61=75']
Exploring Operation: 42-17=25, Resulting Numbers: [75, 25]
Generated Node #0,0,0: 81:[75, 25] Operation: 42-17=25
Exploring Operation: 17+75=92, Resulting Numbers: [42, 92]
Generated Node #0,0,1: 81:[42, 92] Operation: 17+75=92
Exploring Operation: 75-42=33, Resulting Numbers: [17, 33]
Generated Node #0,0,2: 81:[17, 33] Operation: 75-42=33
Exploring Operation: 75-17=58, Resulting Numbers: [42, 58]
Generated Node #0,0,3: 81:[42, 58] Operation: 75-17=58
Exploring Operation: 17+42=59, Resulting Numbers: [75, 59]
Generated Node #0,0,4: 81:[75, 59] Operation: 17+42=59
Moving to Node #0,3,3
Current State: 81:[78, 3], Operations: ['17+61=78', '42/14=3']
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[17, 14, 61, 42], Operations: []
Exploring Operation: 17+61=78, Resulting Numbers: [14, 42, 78]
Generated Node #0,3: 81:[14, 42, 78] Operation: 17+61=78
Moving to Node #0,3
Current State: 81:[14, 42, 78], Operations: ['17+61=78']
Exploring Operation: 42/14=3, Resulting Numbers: [78, 3]
Generated Node #0,3,3: 81:[78, 3] Operation: 42/14=3
Moving to Node #0,3,3
Current State: 81:[78, 3], Operations: ['17+61=78', '42/14=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
13,
50,
77,
52
] | 92 | [
"50-13=37",
"77+52=129",
"129-37=92"
] | Current State: 92:[13, 50, 77, 52], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [77, 52, 37]
Generated Node #2: [77, 52, 37] from Operation: 50-13=37
Current State: 92:[77, 52, 37], Operations: ['50-13=37']
Exploring Operation: 77+52=129, Resulting Numbers: [37, 129]
Generated Node #3: [37, 129] from Operation: 77+52=129
Current State: 92:[37, 129], Operations: ['50-13=37', '77+52=129']
Exploring Operation: 129-37=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[13, 50, 77, 52], Operations: []
Exploring Operation: 13+77=90, Resulting Numbers: [50, 52, 90]
Generated Node #0,0: 92:[50, 52, 90] Operation: 13+77=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[50, 52, 90], Operations: ['13+77=90']
Exploring Operation: 52-50=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 92:[90, 2] Operation: 52-50=2
Moving to Node #0,0,0
Current State: 92:[90, 2], Operations: ['13+77=90', '52-50=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[13, 50, 77, 52], Operations: []
Exploring Operation: 13+77=90, Resulting Numbers: [50, 52, 90]
Generated Node #0,0: 92:[50, 52, 90] Operation: 13+77=90
Moving to Node #0,0
Current State: 92:[50, 52, 90], Operations: ['13+77=90']
Exploring Operation: 52-50=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 92:[90, 2] Operation: 52-50=2
Moving to Node #0,0,0
Current State: 92:[90, 2], Operations: ['13+77=90', '52-50=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
40,
31,
72
] | 23 | [
"30*72=2160",
"2160/40=54",
"54-31=23"
] | Current State: 23:[30, 40, 31, 72], Operations: []
Exploring Operation: 30*72=2160, Resulting Numbers: [40, 31, 2160]
Generated Node #2: [40, 31, 2160] from Operation: 30*72=2160
Current State: 23:[40, 31, 2160], Operations: ['30*72=2160']
Exploring Operation: 2160/40=54, Resulting Numbers: [31, 54]
Generated Node #3: [31, 54] from Operation: 2160/40=54
Current State: 23:[31, 54], Operations: ['30*72=2160', '2160/40=54']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 40, 31, 72], Operations: []
Exploring Operation: 72-31=41, Resulting Numbers: [30, 40, 41]
Generated Node #0,0: 23:[30, 40, 41] Operation: 72-31=41
Exploring Operation: 72-30=42, Resulting Numbers: [40, 31, 42]
Generated Node #0,1: 23:[40, 31, 42] Operation: 72-30=42
Exploring Operation: 40-30=10, Resulting Numbers: [31, 72, 10]
Generated Node #0,2: 23:[31, 72, 10] Operation: 40-30=10
Exploring Operation: 72-40=32, Resulting Numbers: [30, 31, 32]
Generated Node #0,3: 23:[30, 31, 32] Operation: 72-40=32
Moving to Node #0,3
Current State: 23:[30, 31, 32], Operations: ['72-40=32']
Exploring Operation: 30+31=61, Resulting Numbers: [32, 61]
Generated Node #0,3,0: 23:[32, 61] Operation: 30+31=61
Exploring Operation: 32-30=2, Resulting Numbers: [31, 2]
Generated Node #0,3,1: 23:[31, 2] Operation: 32-30=2
Exploring Operation: 32-31=1, Resulting Numbers: [30, 1]
Generated Node #0,3,2: 23:[30, 1] Operation: 32-31=1
Exploring Operation: 31-30=1, Resulting Numbers: [32, 1]
Generated Node #0,3,3: 23:[32, 1] Operation: 31-30=1
Moving to Node #0,0
Current State: 23:[30, 40, 41], Operations: ['72-31=41']
Exploring Operation: 41-40=1, Resulting Numbers: [30, 1]
Generated Node #0,0,0: 23:[30, 1] Operation: 41-40=1
Exploring Operation: 40-30=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 23:[41, 10] Operation: 40-30=10
Exploring Operation: 30+40=70, Resulting Numbers: [41, 70]
Generated Node #0,0,2: 23:[41, 70] Operation: 30+40=70
Exploring Operation: 41-30=11, Resulting Numbers: [40, 11]
Generated Node #0,0,3: 23:[40, 11] Operation: 41-30=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[30, 1], Operations: ['72-31=41', '41-40=1']
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[40, 11], Operations: ['72-31=41', '41-30=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[41, 10], Operations: ['72-31=41', '40-30=10']
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,23 unequal: No Solution
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[41, 70], Operations: ['72-31=41', '30+40=70']
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,23 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 23:[40, 31, 42], Operations: ['72-30=42']
Exploring Operation: 42-31=11, Resulting Numbers: [40, 11]
Generated Node #0,1,0: 23:[40, 11] Operation: 42-31=11
Exploring Operation: 42-40=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 23:[31, 2] Operation: 42-40=2
Exploring Operation: 40+31=71, Resulting Numbers: [42, 71]
Generated Node #0,1,2: 23:[42, 71] Operation: 40+31=71
Exploring Operation: 40-31=9, Resulting Numbers: [42, 9]
Generated Node #0,1,3: 23:[42, 9] Operation: 40-31=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[40, 11], Operations: ['72-30=42', '42-31=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[31, 2], Operations: ['72-30=42', '42-40=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[42, 9], Operations: ['72-30=42', '40-31=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[42, 71], Operations: ['72-30=42', '40+31=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,23 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,23 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: 23:[31, 72, 10], Operations: ['40-30=10']
Exploring Operation: 72-10=62, Resulting Numbers: [31, 62]
Generated Node #0,2,0: 23:[31, 62] Operation: 72-10=62
Exploring Operation: 72-31=41, Resulting Numbers: [10, 41]
Generated Node #0,2,1: 23:[10, 41] Operation: 72-31=41
Exploring Operation: 31+10=41, Resulting Numbers: [72, 41]
Generated Node #0,2,2: 23:[72, 41] Operation: 31+10=41
Exploring Operation: 31-10=21, Resulting Numbers: [72, 21]
Generated Node #0,2,3: 23:[72, 21] Operation: 31-10=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[10, 41], Operations: ['40-30=10', '72-31=41']
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,23 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[31, 62], Operations: ['40-30=10', '72-10=62']
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,23 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[72, 21], Operations: ['40-30=10', '31-10=21']
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,23 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[72, 41], Operations: ['40-30=10', '31+10=41']
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,23 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 23:[31, 2], Operations: ['72-40=32', '32-30=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[30, 1], Operations: ['72-40=32', '32-31=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[32, 1], Operations: ['72-40=32', '31-30=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[32, 61], Operations: ['72-40=32', '30+31=61']
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,23 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
75,
62,
76
] | 17 | [
"76/19=4",
"75-62=13",
"4+13=17"
] | Current State: 17:[19, 75, 62, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [75, 62, 4]
Generated Node #2: [75, 62, 4] from Operation: 76/19=4
Current State: 17:[75, 62, 4], Operations: ['76/19=4']
Exploring Operation: 75-62=13, Resulting Numbers: [4, 13]
Generated Node #3: [4, 13] from Operation: 75-62=13
Current State: 17:[4, 13], Operations: ['76/19=4', '75-62=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[19, 75, 62, 76], Operations: []
Exploring Operation: 76-75=1, Resulting Numbers: [19, 62, 1]
Generated Node #0,0: 17:[19, 62, 1] Operation: 76-75=1
Exploring Operation: 76-62=14, Resulting Numbers: [19, 75, 14]
Generated Node #0,1: 17:[19, 75, 14] Operation: 76-62=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[19, 62, 1], Operations: ['76-75=1']
Exploring Operation: 62-19=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 17:[1, 43] Operation: 62-19=43
Exploring Operation: 19-1=18, Resulting Numbers: [62, 18]
Generated Node #0,0,1: 17:[62, 18] Operation: 19-1=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[1, 43], Operations: ['76-75=1', '62-19=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No 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: 17:[62, 18], Operations: ['76-75=1', '19-1=18']
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,17 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: 17:[19, 75, 14], Operations: ['76-62=14']
Exploring Operation: 75-19=56, Resulting Numbers: [14, 56]
Generated Node #0,1,0: 17:[14, 56] Operation: 75-19=56
Exploring Operation: 75-14=61, Resulting Numbers: [19, 61]
Generated Node #0,1,1: 17:[19, 61] Operation: 75-14=61
Moving to Node #0,1,0
Current State: 17:[14, 56], Operations: ['76-62=14', '75-19=56']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[19, 61], Operations: ['76-62=14', '75-14=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,17 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 |
[
60,
53,
30,
44
] | 10 | [
"60+30=90",
"53-44=9",
"90/9=10"
] | Current State: 10:[60, 53, 30, 44], Operations: []
Exploring Operation: 60+30=90, Resulting Numbers: [53, 44, 90]
Generated Node #2: [53, 44, 90] from Operation: 60+30=90
Current State: 10:[53, 44, 90], Operations: ['60+30=90']
Exploring Operation: 53-44=9, Resulting Numbers: [90, 9]
Generated Node #3: [90, 9] from Operation: 53-44=9
Current State: 10:[90, 9], Operations: ['60+30=90', '53-44=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[60, 53, 30, 44], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [60, 30, 9]
Generated Node #0,0: 10:[60, 30, 9] Operation: 53-44=9
Exploring Operation: 60-53=7, Resulting Numbers: [30, 44, 7]
Generated Node #0,1: 10:[30, 44, 7] Operation: 60-53=7
Exploring Operation: 60/30=2, Resulting Numbers: [53, 44, 2]
Generated Node #0,2: 10:[53, 44, 2] Operation: 60/30=2
Exploring Operation: 60-44=16, Resulting Numbers: [53, 30, 16]
Generated Node #0,3: 10:[53, 30, 16] Operation: 60-44=16
Moving to Node #0,1
Current State: 10:[30, 44, 7], Operations: ['60-53=7']
Exploring Operation: 30-7=23, Resulting Numbers: [44, 23]
Generated Node #0,1,0: 10:[44, 23] Operation: 30-7=23
Exploring Operation: 44-7=37, Resulting Numbers: [30, 37]
Generated Node #0,1,1: 10:[30, 37] Operation: 44-7=37
Exploring Operation: 30+7=37, Resulting Numbers: [44, 37]
Generated Node #0,1,2: 10:[44, 37] Operation: 30+7=37
Exploring Operation: 44-30=14, Resulting Numbers: [7, 14]
Generated Node #0,1,3: 10:[7, 14] Operation: 44-30=14
Moving to Node #0,3
Current State: 10:[53, 30, 16], Operations: ['60-44=16']
Exploring Operation: 30-16=14, Resulting Numbers: [53, 14]
Generated Node #0,3,0: 10:[53, 14] Operation: 30-16=14
Exploring Operation: 53-30=23, Resulting Numbers: [16, 23]
Generated Node #0,3,1: 10:[16, 23] Operation: 53-30=23
Exploring Operation: 53-16=37, Resulting Numbers: [30, 37]
Generated Node #0,3,2: 10:[30, 37] Operation: 53-16=37
Exploring Operation: 53+30=83, Resulting Numbers: [16, 83]
Generated Node #0,3,3: 10:[16, 83] Operation: 53+30=83
Moving to Node #0,0
Current State: 10:[60, 30, 9], Operations: ['53-44=9']
Exploring Operation: 60-30=30, Resulting Numbers: [9, 30]
Generated Node #0,0,0: 10:[9, 30] Operation: 60-30=30
Exploring Operation: 60-9=51, Resulting Numbers: [30, 51]
Generated Node #0,0,1: 10:[30, 51] Operation: 60-9=51
Exploring Operation: 60/30=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 10:[9, 2] Operation: 60/30=2
Exploring Operation: 30-9=21, Resulting Numbers: [60, 21]
Generated Node #0,0,3: 10:[60, 21] Operation: 30-9=21
Moving to Node #0,2
Current State: 10:[53, 44, 2], Operations: ['60/30=2']
Exploring Operation: 44-2=42, Resulting Numbers: [53, 42]
Generated Node #0,2,0: 10:[53, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [53, 22]
Generated Node #0,2,1: 10:[53, 22] Operation: 44/2=22
Exploring Operation: 53-44=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 10:[2, 9] Operation: 53-44=9
Exploring Operation: 53-2=51, Resulting Numbers: [44, 51]
Generated Node #0,2,3: 10:[44, 51] Operation: 53-2=51
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[2, 9], Operations: ['60/30=2', '53-44=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[53, 22], Operations: ['60/30=2', '44/2=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,10 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[53, 42], Operations: ['60/30=2', '44-2=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,10 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[44, 51], Operations: ['60/30=2', '53-2=51']
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,10 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 10:[9, 2], Operations: ['53-44=9', '60/30=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[7, 14], Operations: ['60-53=7', '44-30=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[16, 23], Operations: ['60-44=16', '53-30=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,10 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[9, 30], Operations: ['53-44=9', '60-30=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[30, 37], Operations: ['60-53=7', '44-7=37']
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,10 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[30, 37], Operations: ['60-44=16', '53-16=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,10 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[53, 14], Operations: ['60-44=16', '30-16=14']
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,10 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[44, 23], Operations: ['60-53=7', '30-7=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,10 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[60, 21], Operations: ['53-44=9', '30-9=21']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[30, 51], Operations: ['53-44=9', '60-9=51']
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 30*51=1530, Resulting Numbers: [1530]
1530,10 unequal: No Solution
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[44, 37], Operations: ['60-53=7', '30+7=37']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,10 unequal: No Solution
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[16, 83], Operations: ['60-44=16', '53+30=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,10 unequal: No Solution
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,10 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
61,
71,
2,
38
] | 66 | [
"71-61=10",
"2*38=76",
"76-10=66"
] | Current State: 66:[61, 71, 2, 38], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [2, 38, 10]
Generated Node #2: [2, 38, 10] from Operation: 71-61=10
Current State: 66:[2, 38, 10], Operations: ['71-61=10']
Exploring Operation: 2*38=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 2*38=76
Current State: 66:[10, 76], Operations: ['71-61=10', '2*38=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[61, 71, 2, 38], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [61, 2, 33]
Generated Node #0,0: 66:[61, 2, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[61, 2, 33], Operations: ['71-38=33']
Exploring Operation: 61+2=63, Resulting Numbers: [33, 63]
Generated Node #0,0,0: 66:[33, 63] Operation: 61+2=63
Moving to Node #0,0,0
Current State: 66:[33, 63], Operations: ['71-38=33', '61+2=63']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,66 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,
73,
17,
92
] | 14 | [
"73-12=61",
"92-17=75",
"75-61=14"
] | Current State: 14:[12, 73, 17, 92], Operations: []
Exploring Operation: 73-12=61, Resulting Numbers: [17, 92, 61]
Generated Node #2: [17, 92, 61] from Operation: 73-12=61
Current State: 14:[17, 92, 61], Operations: ['73-12=61']
Exploring Operation: 92-17=75, Resulting Numbers: [61, 75]
Generated Node #3: [61, 75] from Operation: 92-17=75
Current State: 14:[61, 75], Operations: ['73-12=61', '92-17=75']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[12, 73, 17, 92], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [12, 17, 19]
Generated Node #0,0: 14:[12, 17, 19] Operation: 92-73=19
Moving to Node #0,0
Current State: 14:[12, 17, 19], Operations: ['92-73=19']
Exploring Operation: 19-17=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 14:[12, 2] Operation: 19-17=2
Moving to Node #0,0,0
Current State: 14:[12, 2], Operations: ['92-73=19', '19-17=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[12, 73, 17, 92], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [12, 17, 19]
Generated Node #0,0: 14:[12, 17, 19] Operation: 92-73=19
Moving to Node #0,0
Current State: 14:[12, 17, 19], Operations: ['92-73=19']
Exploring Operation: 19-17=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 14:[12, 2] Operation: 19-17=2
Moving to Node #0,0,0
Current State: 14:[12, 2], Operations: ['92-73=19', '19-17=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
89,
35,
33,
55
] | 32 | [
"89-35=54",
"55-33=22",
"54-22=32"
] | Current State: 32:[89, 35, 33, 55], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [33, 55, 54]
Generated Node #2: [33, 55, 54] from Operation: 89-35=54
Current State: 32:[33, 55, 54], Operations: ['89-35=54']
Exploring Operation: 55-33=22, Resulting Numbers: [54, 22]
Generated Node #3: [54, 22] from Operation: 55-33=22
Current State: 32:[54, 22], Operations: ['89-35=54', '55-33=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[89, 35, 33, 55], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [35, 55, 56]
Generated Node #0,0: 32:[35, 55, 56] Operation: 89-33=56
Exploring Operation: 89-55=34, Resulting Numbers: [35, 33, 34]
Generated Node #0,1: 32:[35, 33, 34] Operation: 89-55=34
Exploring Operation: 55-33=22, Resulting Numbers: [89, 35, 22]
Generated Node #0,2: 32:[89, 35, 22] Operation: 55-33=22
Exploring Operation: 89-35=54, Resulting Numbers: [33, 55, 54]
Generated Node #0,3: 32:[33, 55, 54] Operation: 89-35=54
Exploring Operation: 55-35=20, Resulting Numbers: [89, 33, 20]
Generated Node #0,4: 32:[89, 33, 20] Operation: 55-35=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[35, 33, 34], Operations: ['89-55=34']
Exploring Operation: 34-33=1, Resulting Numbers: [35, 1]
Generated Node #0,1,0: 32:[35, 1] Operation: 34-33=1
Exploring Operation: 35+34=69, Resulting Numbers: [33, 69]
Generated Node #0,1,1: 32:[33, 69] Operation: 35+34=69
Exploring Operation: 35-34=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 32:[33, 1] Operation: 35-34=1
Exploring Operation: 35-33=2, Resulting Numbers: [34, 2]
Generated Node #0,1,3: 32:[34, 2] Operation: 35-33=2
Exploring Operation: 35+33=68, Resulting Numbers: [34, 68]
Generated Node #0,1,4: 32:[34, 68] Operation: 35+33=68
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[33, 1], Operations: ['89-55=34', '35-34=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[89, 35, 33, 55], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [35, 33, 34]
Generated Node #0,1: 32:[35, 33, 34] Operation: 89-55=34
Moving to Node #0,1
Current State: 32:[35, 33, 34], Operations: ['89-55=34']
Exploring Operation: 35-34=1, Resulting Numbers: [33, 1]
Generated Node #0,1,2: 32:[33, 1] Operation: 35-34=1
Moving to Node #0,1,2
Current State: 32:[33, 1], Operations: ['89-55=34', '35-34=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
98,
75,
64,
20
] | 89 | [
"98+75=173",
"64+20=84",
"173-84=89"
] | Current State: 89:[98, 75, 64, 20], Operations: []
Exploring Operation: 98+75=173, Resulting Numbers: [64, 20, 173]
Generated Node #2: [64, 20, 173] from Operation: 98+75=173
Current State: 89:[64, 20, 173], Operations: ['98+75=173']
Exploring Operation: 64+20=84, Resulting Numbers: [173, 84]
Generated Node #3: [173, 84] from Operation: 64+20=84
Current State: 89:[173, 84], Operations: ['98+75=173', '64+20=84']
Exploring Operation: 173-84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[98, 75, 64, 20], Operations: []
Exploring Operation: 64+20=84, Resulting Numbers: [98, 75, 84]
Generated Node #0,0: 89:[98, 75, 84] Operation: 64+20=84
Exploring Operation: 75+20=95, Resulting Numbers: [98, 64, 95]
Generated Node #0,1: 89:[98, 64, 95] Operation: 75+20=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[98, 75, 84], Operations: ['64+20=84']
Exploring Operation: 98-75=23, Resulting Numbers: [84, 23]
Generated Node #0,0,0: 89:[84, 23] Operation: 98-75=23
Exploring Operation: 75+84=159, Resulting Numbers: [98, 159]
Generated Node #0,0,1: 89:[98, 159] Operation: 75+84=159
Moving to Node #0,0,0
Current State: 89:[84, 23], Operations: ['64+20=84', '98-75=23']
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[98, 159], Operations: ['64+20=84', '75+84=159']
Exploring Operation: 159-98=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 98+159=257, Resulting Numbers: [257]
257,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
Current State: 89:[98, 64, 95], Operations: ['75+20=95']
Exploring Operation: 95-64=31, Resulting Numbers: [98, 31]
Generated Node #0,1,0: 89:[98, 31] Operation: 95-64=31
Exploring Operation: 98-64=34, Resulting Numbers: [95, 34]
Generated Node #0,1,1: 89:[95, 34] Operation: 98-64=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[95, 34], Operations: ['75+20=95', '98-64=34']
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,89 unequal: No Solution
No 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: 89:[98, 31], Operations: ['75+20=95', '95-64=31']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,89 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 |
[
4,
72,
13,
75
] | 25 | [
"75-72=3",
"4*3=12",
"13+12=25"
] | Current State: 25:[4, 72, 13, 75], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [4, 13, 3]
Generated Node #2: [4, 13, 3] from Operation: 75-72=3
Current State: 25:[4, 13, 3], Operations: ['75-72=3']
Exploring Operation: 4*3=12, Resulting Numbers: [13, 12]
Generated Node #3: [13, 12] from Operation: 4*3=12
Current State: 25:[13, 12], Operations: ['75-72=3', '4*3=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[4, 72, 13, 75], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [4, 13, 3]
Generated Node #0,0: 25:[4, 13, 3] Operation: 75-72=3
Moving to Node #0,0
Current State: 25:[4, 13, 3], Operations: ['75-72=3']
Exploring Operation: 13-4=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 25:[3, 9] Operation: 13-4=9
Moving to Node #0,0,0
Current State: 25:[3, 9], Operations: ['75-72=3', '13-4=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
26,
41,
65
] | 90 | [
"41/41=1",
"26+65=91",
"91-1=90"
] | Current State: 90:[41, 26, 41, 65], Operations: []
Exploring Operation: 41/41=1, Resulting Numbers: [26, 65, 1]
Generated Node #2: [26, 65, 1] from Operation: 41/41=1
Current State: 90:[26, 65, 1], Operations: ['41/41=1']
Exploring Operation: 26+65=91, Resulting Numbers: [1, 91]
Generated Node #3: [1, 91] from Operation: 26+65=91
Current State: 90:[1, 91], Operations: ['41/41=1', '26+65=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[41, 26, 41, 65], Operations: []
Exploring Operation: 26+65=91, Resulting Numbers: [41, 41, 91]
Generated Node #0,0: 90:[41, 41, 91] Operation: 26+65=91
Exploring Operation: 65-41=24, Resulting Numbers: [26, 41, 24]
Generated Node #0,1: 90:[26, 41, 24] Operation: 65-41=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[41, 41, 91], Operations: ['26+65=91']
Exploring Operation: 41-41=0, Resulting Numbers: [91, 0]
Generated Node #0,0,0: 90:[91, 0] Operation: 41-41=0
Exploring Operation: 41/41=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 90:[91, 1] Operation: 41/41=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[91, 1], Operations: ['26+65=91', '41/41=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[41, 26, 41, 65], Operations: []
Exploring Operation: 26+65=91, Resulting Numbers: [41, 41, 91]
Generated Node #0,0: 90:[41, 41, 91] Operation: 26+65=91
Moving to Node #0,0
Current State: 90:[41, 41, 91], Operations: ['26+65=91']
Exploring Operation: 41/41=1, Resulting Numbers: [91, 1]
Generated Node #0,0,1: 90:[91, 1] Operation: 41/41=1
Moving to Node #0,0,1
Current State: 90:[91, 1], Operations: ['26+65=91', '41/41=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
83,
71,
82,
9
] | 85 | [
"83-71=12",
"82-9=73",
"12+73=85"
] | Current State: 85:[83, 71, 82, 9], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [82, 9, 12]
Generated Node #2: [82, 9, 12] from Operation: 83-71=12
Current State: 85:[82, 9, 12], Operations: ['83-71=12']
Exploring Operation: 82-9=73, Resulting Numbers: [12, 73]
Generated Node #3: [12, 73] from Operation: 82-9=73
Current State: 85:[12, 73], Operations: ['83-71=12', '82-9=73']
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[83, 71, 82, 9], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [83, 9, 11]
Generated Node #0,0: 85:[83, 9, 11] Operation: 82-71=11
Exploring Operation: 83-82=1, Resulting Numbers: [71, 9, 1]
Generated Node #0,1: 85:[71, 9, 1] Operation: 83-82=1
Exploring Operation: 83-71=12, Resulting Numbers: [82, 9, 12]
Generated Node #0,2: 85:[82, 9, 12] Operation: 83-71=12
Exploring Operation: 71+9=80, Resulting Numbers: [83, 82, 80]
Generated Node #0,3: 85:[83, 82, 80] Operation: 71+9=80
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[83, 82, 80], Operations: ['71+9=80']
Exploring Operation: 83-80=3, Resulting Numbers: [82, 3]
Generated Node #0,3,0: 85:[82, 3] Operation: 83-80=3
Exploring Operation: 82+80=162, Resulting Numbers: [83, 162]
Generated Node #0,3,1: 85:[83, 162] Operation: 82+80=162
Exploring Operation: 83-82=1, Resulting Numbers: [80, 1]
Generated Node #0,3,2: 85:[80, 1] Operation: 83-82=1
Exploring Operation: 82-80=2, Resulting Numbers: [83, 2]
Generated Node #0,3,3: 85:[83, 2] Operation: 82-80=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[82, 3], Operations: ['71+9=80', '83-80=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[83, 71, 82, 9], Operations: []
Exploring Operation: 71+9=80, Resulting Numbers: [83, 82, 80]
Generated Node #0,3: 85:[83, 82, 80] Operation: 71+9=80
Moving to Node #0,3
Current State: 85:[83, 82, 80], Operations: ['71+9=80']
Exploring Operation: 83-80=3, Resulting Numbers: [82, 3]
Generated Node #0,3,0: 85:[82, 3] Operation: 83-80=3
Moving to Node #0,3,0
Current State: 85:[82, 3], Operations: ['71+9=80', '83-80=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
7,
2,
25,
3
] | 56 | [
"25-7=18",
"3*18=54",
"2+54=56"
] | Current State: 56:[7, 2, 25, 3], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [2, 3, 18]
Generated Node #2: [2, 3, 18] from Operation: 25-7=18
Current State: 56:[2, 3, 18], Operations: ['25-7=18']
Exploring Operation: 3*18=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 3*18=54
Current State: 56:[2, 54], Operations: ['25-7=18', '3*18=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[7, 2, 25, 3], Operations: []
Exploring Operation: 2+25=27, Resulting Numbers: [7, 3, 27]
Generated Node #0,0: 56:[7, 3, 27] Operation: 2+25=27
Exploring Operation: 7*2=14, Resulting Numbers: [25, 3, 14]
Generated Node #0,1: 56:[25, 3, 14] Operation: 7*2=14
Exploring Operation: 25+3=28, Resulting Numbers: [7, 2, 28]
Generated Node #0,2: 56:[7, 2, 28] Operation: 25+3=28
Exploring Operation: 7-3=4, Resulting Numbers: [2, 25, 4]
Generated Node #0,3: 56:[2, 25, 4] Operation: 7-3=4
Exploring Operation: 2+3=5, Resulting Numbers: [7, 25, 5]
Generated Node #0,4: 56:[7, 25, 5] Operation: 2+3=5
Moving to Node #0,2
Current State: 56:[7, 2, 28], Operations: ['25+3=28']
Exploring Operation: 7+2=9, Resulting Numbers: [28, 9]
Generated Node #0,2,0: 56:[28, 9] Operation: 7+2=9
Exploring Operation: 28/7=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 56:[2, 4] Operation: 28/7=4
Exploring Operation: 2*28=56, Resulting Numbers: [7, 56]
Generated Node #0,2,2: 56:[7, 56] Operation: 2*28=56
Exploring Operation: 28/2=14, Resulting Numbers: [7, 14]
Generated Node #0,2,3: 56:[7, 14] Operation: 28/2=14
Exploring Operation: 7*2=14, Resulting Numbers: [28, 14]
Generated Node #0,2,4: 56:[28, 14] Operation: 7*2=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[2, 4], Operations: ['25+3=28', '28/7=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[7, 56], Operations: ['25+3=28', '2*28=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,56 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[7, 14], Operations: ['25+3=28', '28/2=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,56 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[28, 14], Operations: ['25+3=28', '7*2=14']
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,56 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[28, 9], Operations: ['25+3=28', '7+2=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,56 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,56 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: 56:[7, 3, 27], Operations: ['2+25=27']
Exploring Operation: 27/3=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 56:[7, 9] Operation: 27/3=9
Exploring Operation: 3+27=30, Resulting Numbers: [7, 30]
Generated Node #0,0,1: 56:[7, 30] Operation: 3+27=30
Exploring Operation: 7-3=4, Resulting Numbers: [27, 4]
Generated Node #0,0,2: 56:[27, 4] Operation: 7-3=4
Exploring Operation: 27-3=24, Resulting Numbers: [7, 24]
Generated Node #0,0,3: 56:[7, 24] Operation: 27-3=24
Exploring Operation: 7+3=10, Resulting Numbers: [27, 10]
Generated Node #0,0,4: 56:[27, 10] Operation: 7+3=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[7, 9], Operations: ['2+25=27', '27/3=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[27, 4], Operations: ['2+25=27', '7-3=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[7, 30], Operations: ['2+25=27', '3+27=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[27, 10], Operations: ['2+25=27', '7+3=10']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,56 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[7, 24], Operations: ['2+25=27', '27-3=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,56 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 56:[2, 25, 4], Operations: ['7-3=4']
Exploring Operation: 25+4=29, Resulting Numbers: [2, 29]
Generated Node #0,3,0: 56:[2, 29] Operation: 25+4=29
Exploring Operation: 4-2=2, Resulting Numbers: [25, 2]
Generated Node #0,3,1: 56:[25, 2] Operation: 4-2=2
Exploring Operation: 4/2=2, Resulting Numbers: [25, 2]
Generated Node #0,3,2: 56:[25, 2] Operation: 4/2=2
Exploring Operation: 2+25=27, Resulting Numbers: [4, 27]
Generated Node #0,3,3: 56:[4, 27] Operation: 2+25=27
Exploring Operation: 2*4=8, Resulting Numbers: [25, 8]
Generated Node #0,3,4: 56:[25, 8] Operation: 2*4=8
Moving to Node #0,1
Current State: 56:[25, 3, 14], Operations: ['7*2=14']
Exploring Operation: 14-3=11, Resulting Numbers: [25, 11]
Generated Node #0,1,0: 56:[25, 11] Operation: 14-3=11
Exploring Operation: 25+3=28, Resulting Numbers: [14, 28]
Generated Node #0,1,1: 56:[14, 28] Operation: 25+3=28
Exploring Operation: 3+14=17, Resulting Numbers: [25, 17]
Generated Node #0,1,2: 56:[25, 17] Operation: 3+14=17
Exploring Operation: 25-3=22, Resulting Numbers: [14, 22]
Generated Node #0,1,3: 56:[14, 22] Operation: 25-3=22
Exploring Operation: 25-14=11, Resulting Numbers: [3, 11]
Generated Node #0,1,4: 56:[3, 11] Operation: 25-14=11
Moving to Node #0,4
Current State: 56:[7, 25, 5], Operations: ['2+3=5']
Exploring Operation: 7+25=32, Resulting Numbers: [5, 32]
Generated Node #0,4,0: 56:[5, 32] Operation: 7+25=32
Exploring Operation: 25+5=30, Resulting Numbers: [7, 30]
Generated Node #0,4,1: 56:[7, 30] Operation: 25+5=30
Exploring Operation: 25/5=5, Resulting Numbers: [7, 5]
Generated Node #0,4,2: 56:[7, 5] Operation: 25/5=5
Exploring Operation: 25-7=18, Resulting Numbers: [5, 18]
Generated Node #0,4,3: 56:[5, 18] Operation: 25-7=18
Exploring Operation: 7-5=2, Resulting Numbers: [25, 2]
Generated Node #0,4,4: 56:[25, 2] Operation: 7-5=2
Moving to Node #0,1,1
Current State: 56:[14, 28], Operations: ['7*2=14', '25+3=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[2, 29], Operations: ['7-3=4', '25+4=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[4, 27], Operations: ['7-3=4', '2+25=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[7, 5], Operations: ['2+3=5', '25/5=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[7, 30], Operations: ['2+3=5', '25+5=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,56 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[25, 2], Operations: ['2+3=5', '7-5=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[25, 2], Operations: ['7-3=4', '4-2=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[25, 8], Operations: ['7-3=4', '2*4=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[25, 2], Operations: ['7-3=4', '4/2=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[3, 11], Operations: ['7*2=14', '25-14=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,4,3
Current State: 56:[5, 18], Operations: ['2+3=5', '25-7=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[5, 32], Operations: ['2+3=5', '7+25=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[14, 22], Operations: ['7*2=14', '25-3=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,56 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[25, 11], Operations: ['7*2=14', '14-3=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,56 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[25, 17], Operations: ['7*2=14', '3+14=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,56 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
24,
86,
11
] | 88 | [
"89-86=3",
"24*11=264",
"264/3=88"
] | Current State: 88:[89, 24, 86, 11], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [24, 11, 3]
Generated Node #2: [24, 11, 3] from Operation: 89-86=3
Current State: 88:[24, 11, 3], Operations: ['89-86=3']
Exploring Operation: 24*11=264, Resulting Numbers: [3, 264]
Generated Node #3: [3, 264] from Operation: 24*11=264
Current State: 88:[3, 264], Operations: ['89-86=3', '24*11=264']
Exploring Operation: 264/3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[89, 24, 86, 11], Operations: []
Exploring Operation: 86+11=97, Resulting Numbers: [89, 24, 97]
Generated Node #0,0: 88:[89, 24, 97] Operation: 86+11=97
Exploring Operation: 89-86=3, Resulting Numbers: [24, 11, 3]
Generated Node #0,1: 88:[24, 11, 3] Operation: 89-86=3
Exploring Operation: 24+11=35, Resulting Numbers: [89, 86, 35]
Generated Node #0,2: 88:[89, 86, 35] Operation: 24+11=35
Exploring Operation: 24-11=13, Resulting Numbers: [89, 86, 13]
Generated Node #0,3: 88:[89, 86, 13] Operation: 24-11=13
Moving to Node #0,1
Current State: 88:[24, 11, 3], Operations: ['89-86=3']
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,1,0: 88:[11, 8] Operation: 24/3=8
Exploring Operation: 11-3=8, Resulting Numbers: [24, 8]
Generated Node #0,1,1: 88:[24, 8] Operation: 11-3=8
Exploring Operation: 24-3=21, Resulting Numbers: [11, 21]
Generated Node #0,1,2: 88:[11, 21] Operation: 24-3=21
Exploring Operation: 24-11=13, Resulting Numbers: [3, 13]
Generated Node #0,1,3: 88:[3, 13] Operation: 24-11=13
Moving to Node #0,3
Current State: 88:[89, 86, 13], Operations: ['24-11=13']
Exploring Operation: 89-86=3, Resulting Numbers: [13, 3]
Generated Node #0,3,0: 88:[13, 3] Operation: 89-86=3
Exploring Operation: 89+13=102, Resulting Numbers: [86, 102]
Generated Node #0,3,1: 88:[86, 102] Operation: 89+13=102
Exploring Operation: 89-13=76, Resulting Numbers: [86, 76]
Generated Node #0,3,2: 88:[86, 76] Operation: 89-13=76
Exploring Operation: 86+13=99, Resulting Numbers: [89, 99]
Generated Node #0,3,3: 88:[89, 99] Operation: 86+13=99
Moving to Node #0,2
Current State: 88:[89, 86, 35], Operations: ['24+11=35']
Exploring Operation: 89-35=54, Resulting Numbers: [86, 54]
Generated Node #0,2,0: 88:[86, 54] Operation: 89-35=54
Exploring Operation: 89-86=3, Resulting Numbers: [35, 3]
Generated Node #0,2,1: 88:[35, 3] Operation: 89-86=3
Exploring Operation: 86+35=121, Resulting Numbers: [89, 121]
Generated Node #0,2,2: 88:[89, 121] Operation: 86+35=121
Exploring Operation: 86-35=51, Resulting Numbers: [89, 51]
Generated Node #0,2,3: 88:[89, 51] Operation: 86-35=51
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[89, 51], Operations: ['24+11=35', '86-35=51']
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,88 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,88 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[35, 3], Operations: ['24+11=35', '89-86=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,88 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[86, 54], Operations: ['24+11=35', '89-35=54']
Exploring Operation: 86*54=4644, Resulting Numbers: [4644]
4644,88 unequal: No Solution
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 86+54=140, Resulting Numbers: [140]
140,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[89, 121], Operations: ['24+11=35', '86+35=121']
Exploring Operation: 89*121=10769, Resulting Numbers: [10769]
10769,88 unequal: No Solution
Exploring Operation: 121-89=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 89+121=210, Resulting Numbers: [210]
210,88 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: 88:[89, 24, 97], Operations: ['86+11=97']
Exploring Operation: 89-24=65, Resulting Numbers: [97, 65]
Generated Node #0,0,0: 88:[97, 65] Operation: 89-24=65
Exploring Operation: 97-89=8, Resulting Numbers: [24, 8]
Generated Node #0,0,1: 88:[24, 8] Operation: 97-89=8
Exploring Operation: 89+24=113, Resulting Numbers: [97, 113]
Generated Node #0,0,2: 88:[97, 113] Operation: 89+24=113
Exploring Operation: 97-24=73, Resulting Numbers: [89, 73]
Generated Node #0,0,3: 88:[89, 73] Operation: 97-24=73
Moving to Node #0,1,0
Current State: 88:[11, 8], Operations: ['89-86=3', '24/3=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[89, 24, 86, 11], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [24, 11, 3]
Generated Node #0,1: 88:[24, 11, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 88:[24, 11, 3], Operations: ['89-86=3']
Exploring Operation: 24/3=8, Resulting Numbers: [11, 8]
Generated Node #0,1,0: 88:[11, 8] Operation: 24/3=8
Moving to Node #0,1,0
Current State: 88:[11, 8], Operations: ['89-86=3', '24/3=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
14,
23,
37,
54
] | 95 | [
"14*54=756",
"23*37=851",
"851-756=95"
] | Current State: 95:[14, 23, 37, 54], Operations: []
Exploring Operation: 14*54=756, Resulting Numbers: [23, 37, 756]
Generated Node #2: [23, 37, 756] from Operation: 14*54=756
Current State: 95:[23, 37, 756], Operations: ['14*54=756']
Exploring Operation: 23*37=851, Resulting Numbers: [756, 851]
Generated Node #3: [756, 851] from Operation: 23*37=851
Current State: 95:[756, 851], Operations: ['14*54=756', '23*37=851']
Exploring Operation: 851-756=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[14, 23, 37, 54], Operations: []
Exploring Operation: 37+54=91, Resulting Numbers: [14, 23, 91]
Generated Node #0,0: 95:[14, 23, 91] Operation: 37+54=91
Exploring Operation: 54-37=17, Resulting Numbers: [14, 23, 17]
Generated Node #0,1: 95:[14, 23, 17] Operation: 54-37=17
Exploring Operation: 54-23=31, Resulting Numbers: [14, 37, 31]
Generated Node #0,2: 95:[14, 37, 31] Operation: 54-23=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[14, 23, 17], Operations: ['54-37=17']
Exploring Operation: 23-17=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 95:[14, 6] Operation: 23-17=6
Exploring Operation: 17-14=3, Resulting Numbers: [23, 3]
Generated Node #0,1,1: 95:[23, 3] Operation: 17-14=3
Exploring Operation: 23-14=9, Resulting Numbers: [17, 9]
Generated Node #0,1,2: 95:[17, 9] Operation: 23-14=9
Moving to Node #0,1,0
Current State: 95:[14, 6], Operations: ['54-37=17', '23-17=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[23, 3], Operations: ['54-37=17', '17-14=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[17, 9], Operations: ['54-37=17', '23-14=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[14, 23, 91], Operations: ['37+54=91']
Exploring Operation: 23-14=9, Resulting Numbers: [91, 9]
Generated Node #0,0,0: 95:[91, 9] Operation: 23-14=9
Exploring Operation: 14+91=105, Resulting Numbers: [23, 105]
Generated Node #0,0,1: 95:[23, 105] Operation: 14+91=105
Exploring Operation: 14+23=37, Resulting Numbers: [91, 37]
Generated Node #0,0,2: 95:[91, 37] Operation: 14+23=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[91, 9], Operations: ['37+54=91', '23-14=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,95 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,95 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[23, 105], Operations: ['37+54=91', '14+91=105']
Exploring Operation: 23*105=2415, Resulting Numbers: [2415]
2415,95 unequal: No Solution
Exploring Operation: 23+105=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 105-23=82, Resulting Numbers: [82]
82,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[91, 37], Operations: ['37+54=91', '14+23=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,95 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[14, 37, 31], Operations: ['54-23=31']
Exploring Operation: 31-14=17, Resulting Numbers: [37, 17]
Generated Node #0,2,0: 95:[37, 17] Operation: 31-14=17
Exploring Operation: 37-14=23, Resulting Numbers: [31, 23]
Generated Node #0,2,1: 95:[31, 23] Operation: 37-14=23
Exploring Operation: 37-31=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 95:[14, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[14, 6], Operations: ['54-23=31', '37-31=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[31, 23], Operations: ['54-23=31', '37-14=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,95 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[37, 17], Operations: ['54-23=31', '31-14=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,95 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
4,
96,
68
] | 19 | [
"51-4=47",
"96-68=28",
"47-28=19"
] | Current State: 19:[51, 4, 96, 68], Operations: []
Exploring Operation: 51-4=47, Resulting Numbers: [96, 68, 47]
Generated Node #2: [96, 68, 47] from Operation: 51-4=47
Current State: 19:[96, 68, 47], Operations: ['51-4=47']
Exploring Operation: 96-68=28, Resulting Numbers: [47, 28]
Generated Node #3: [47, 28] from Operation: 96-68=28
Current State: 19:[47, 28], Operations: ['51-4=47', '96-68=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[51, 4, 96, 68], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [51, 68, 24]
Generated Node #0,0: 19:[51, 68, 24] Operation: 96/4=24
Exploring Operation: 96-68=28, Resulting Numbers: [51, 4, 28]
Generated Node #0,1: 19:[51, 4, 28] Operation: 96-68=28
Moving to Node #0,1
Current State: 19:[51, 4, 28], Operations: ['96-68=28']
Exploring Operation: 51-4=47, Resulting Numbers: [28, 47]
Generated Node #0,1,0: 19:[28, 47] Operation: 51-4=47
Exploring Operation: 51-28=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 19:[4, 23] Operation: 51-28=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[4, 23], Operations: ['96-68=28', '51-28=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[51, 4, 96, 68], Operations: []
Exploring Operation: 96-68=28, Resulting Numbers: [51, 4, 28]
Generated Node #0,1: 19:[51, 4, 28] Operation: 96-68=28
Moving to Node #0,1
Current State: 19:[51, 4, 28], Operations: ['96-68=28']
Exploring Operation: 51-28=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 19:[4, 23] Operation: 51-28=23
Moving to Node #0,1,1
Current State: 19:[4, 23], Operations: ['96-68=28', '51-28=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
25,
85,
49,
73
] | 84 | [
"85-25=60",
"73-49=24",
"60+24=84"
] | Current State: 84:[25, 85, 49, 73], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [49, 73, 60]
Generated Node #2: [49, 73, 60] from Operation: 85-25=60
Current State: 84:[49, 73, 60], Operations: ['85-25=60']
Exploring Operation: 73-49=24, Resulting Numbers: [60, 24]
Generated Node #3: [60, 24] from Operation: 73-49=24
Current State: 84:[60, 24], Operations: ['85-25=60', '73-49=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[25, 85, 49, 73], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [85, 49, 48]
Generated Node #0,0: 84:[85, 49, 48] Operation: 73-25=48
Exploring Operation: 85-73=12, Resulting Numbers: [25, 49, 12]
Generated Node #0,1: 84:[25, 49, 12] Operation: 85-73=12
Exploring Operation: 73-49=24, Resulting Numbers: [25, 85, 24]
Generated Node #0,2: 84:[25, 85, 24] Operation: 73-49=24
Exploring Operation: 49-25=24, Resulting Numbers: [85, 73, 24]
Generated Node #0,3: 84:[85, 73, 24] Operation: 49-25=24
Moving to Node #0,2
Current State: 84:[25, 85, 24], Operations: ['73-49=24']
Exploring Operation: 85-24=61, Resulting Numbers: [25, 61]
Generated Node #0,2,0: 84:[25, 61] Operation: 85-24=61
Exploring Operation: 25-24=1, Resulting Numbers: [85, 1]
Generated Node #0,2,1: 84:[85, 1] Operation: 25-24=1
Exploring Operation: 85-25=60, Resulting Numbers: [24, 60]
Generated Node #0,2,2: 84:[24, 60] Operation: 85-25=60
Exploring Operation: 25+24=49, Resulting Numbers: [85, 49]
Generated Node #0,2,3: 84:[85, 49] Operation: 25+24=49
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[85, 1], Operations: ['73-49=24', '25-24=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[25, 85, 49, 73], Operations: []
Exploring Operation: 73-49=24, Resulting Numbers: [25, 85, 24]
Generated Node #0,2: 84:[25, 85, 24] Operation: 73-49=24
Moving to Node #0,2
Current State: 84:[25, 85, 24], Operations: ['73-49=24']
Exploring Operation: 25-24=1, Resulting Numbers: [85, 1]
Generated Node #0,2,1: 84:[85, 1] Operation: 25-24=1
Moving to Node #0,2,1
Current State: 84:[85, 1], Operations: ['73-49=24', '25-24=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
55,
2,
23,
50
] | 64 | [
"55+23=78",
"50+78=128",
"128/2=64"
] | Current State: 64:[55, 2, 23, 50], Operations: []
Exploring Operation: 55+23=78, Resulting Numbers: [2, 50, 78]
Generated Node #2: [2, 50, 78] from Operation: 55+23=78
Current State: 64:[2, 50, 78], Operations: ['55+23=78']
Exploring Operation: 50+78=128, Resulting Numbers: [2, 128]
Generated Node #3: [2, 128] from Operation: 50+78=128
Current State: 64:[2, 128], Operations: ['55+23=78', '50+78=128']
Exploring Operation: 128/2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[55, 2, 23, 50], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [2, 50, 32]
Generated Node #0,0: 64:[2, 50, 32] Operation: 55-23=32
Exploring Operation: 55-50=5, Resulting Numbers: [2, 23, 5]
Generated Node #0,1: 64:[2, 23, 5] Operation: 55-50=5
Exploring Operation: 50/2=25, Resulting Numbers: [55, 23, 25]
Generated Node #0,2: 64:[55, 23, 25] Operation: 50/2=25
Exploring Operation: 50-23=27, Resulting Numbers: [55, 2, 27]
Generated Node #0,3: 64:[55, 2, 27] Operation: 50-23=27
Exploring Operation: 23+50=73, Resulting Numbers: [55, 2, 73]
Generated Node #0,4: 64:[55, 2, 73] Operation: 23+50=73
Moving to Node #0,1
Current State: 64:[2, 23, 5], Operations: ['55-50=5']
Exploring Operation: 23-5=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 64:[2, 18] Operation: 23-5=18
Exploring Operation: 2+23=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 64:[5, 25] Operation: 2+23=25
Exploring Operation: 23+5=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 64:[2, 28] Operation: 23+5=28
Exploring Operation: 2+5=7, Resulting Numbers: [23, 7]
Generated Node #0,1,3: 64:[23, 7] Operation: 2+5=7
Exploring Operation: 23-2=21, Resulting Numbers: [5, 21]
Generated Node #0,1,4: 64:[5, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[2, 18], Operations: ['55-50=5', '23-5=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[2, 28], Operations: ['55-50=5', '23+5=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[5, 21], Operations: ['55-50=5', '23-2=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[5, 25], Operations: ['55-50=5', '2+23=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[23, 7], Operations: ['55-50=5', '2+5=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,64 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,64 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: 64:[55, 2, 27], Operations: ['50-23=27']
Exploring Operation: 2+27=29, Resulting Numbers: [55, 29]
Generated Node #0,3,0: 64:[55, 29] Operation: 2+27=29
Exploring Operation: 27-2=25, Resulting Numbers: [55, 25]
Generated Node #0,3,1: 64:[55, 25] Operation: 27-2=25
Exploring Operation: 55-2=53, Resulting Numbers: [27, 53]
Generated Node #0,3,2: 64:[27, 53] Operation: 55-2=53
Exploring Operation: 55-27=28, Resulting Numbers: [2, 28]
Generated Node #0,3,3: 64:[2, 28] Operation: 55-27=28
Exploring Operation: 55+2=57, Resulting Numbers: [27, 57]
Generated Node #0,3,4: 64:[27, 57] Operation: 55+2=57
Moving to Node #0,0
Current State: 64:[2, 50, 32], Operations: ['55-23=32']
Exploring Operation: 50/2=25, Resulting Numbers: [32, 25]
Generated Node #0,0,0: 64:[32, 25] Operation: 50/2=25
Exploring Operation: 32/2=16, Resulting Numbers: [50, 16]
Generated Node #0,0,1: 64:[50, 16] Operation: 32/2=16
Exploring Operation: 2+50=52, Resulting Numbers: [32, 52]
Generated Node #0,0,2: 64:[32, 52] Operation: 2+50=52
Exploring Operation: 2*32=64, Resulting Numbers: [50, 64]
Generated Node #0,0,3: 64:[50, 64] Operation: 2*32=64
Exploring Operation: 50-32=18, Resulting Numbers: [2, 18]
Generated Node #0,0,4: 64:[2, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 64:[2, 18], Operations: ['55-23=32', '50-32=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,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,0,0
Current State: 64:[32, 25], Operations: ['55-23=32', '50/2=25']
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,64 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,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,0,2
Current State: 64:[32, 52], Operations: ['55-23=32', '2+50=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,64 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,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,0,1
Current State: 64:[50, 16], Operations: ['55-23=32', '32/2=16']
Exploring Operation: 50+16=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 50*16=800, Resulting Numbers: [800]
800,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,0,3
Current State: 64:[50, 64], Operations: ['55-23=32', '2*32=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 50*64=3200, Resulting Numbers: [3200]
3200,64 unequal: No Solution
Exploring Operation: 50+64=114, Resulting Numbers: [114]
114,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 64:[55, 2, 73], Operations: ['23+50=73']
Exploring Operation: 2+73=75, Resulting Numbers: [55, 75]
Generated Node #0,4,0: 64:[55, 75] Operation: 2+73=75
Exploring Operation: 73-55=18, Resulting Numbers: [2, 18]
Generated Node #0,4,1: 64:[2, 18] Operation: 73-55=18
Exploring Operation: 55-2=53, Resulting Numbers: [73, 53]
Generated Node #0,4,2: 64:[73, 53] Operation: 55-2=53
Exploring Operation: 55+2=57, Resulting Numbers: [73, 57]
Generated Node #0,4,3: 64:[73, 57] Operation: 55+2=57
Exploring Operation: 73-2=71, Resulting Numbers: [55, 71]
Generated Node #0,4,4: 64:[55, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[2, 18], Operations: ['23+50=73', '73-55=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[73, 57], Operations: ['23+50=73', '55+2=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,64 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[55, 71], Operations: ['23+50=73', '73-2=71']
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,64 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[55, 75], Operations: ['23+50=73', '2+73=75']
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 55*75=4125, Resulting Numbers: [4125]
4125,64 unequal: No Solution
Exploring Operation: 55+75=130, Resulting Numbers: [130]
130,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[73, 53], Operations: ['23+50=73', '55-2=53']
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,64 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: 64:[55, 23, 25], Operations: ['50/2=25']
Exploring Operation: 55-25=30, Resulting Numbers: [23, 30]
Generated Node #0,2,0: 64:[23, 30] Operation: 55-25=30
Exploring Operation: 25-23=2, Resulting Numbers: [55, 2]
Generated Node #0,2,1: 64:[55, 2] Operation: 25-23=2
Exploring Operation: 55+23=78, Resulting Numbers: [25, 78]
Generated Node #0,2,2: 64:[25, 78] Operation: 55+23=78
Exploring Operation: 55-23=32, Resulting Numbers: [25, 32]
Generated Node #0,2,3: 64:[25, 32] Operation: 55-23=32
Exploring Operation: 55+25=80, Resulting Numbers: [23, 80]
Generated Node #0,2,4: 64:[23, 80] Operation: 55+25=80
Moving to Node #0,3,3
Current State: 64:[2, 28], Operations: ['50-23=27', '55-27=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[25, 32], Operations: ['50/2=25', '55-23=32']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,64 unequal: No Solution
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[23, 30], Operations: ['50/2=25', '55-25=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[55, 2], Operations: ['50/2=25', '25-23=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[27, 57], Operations: ['50-23=27', '55+2=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 27*57=1539, Resulting Numbers: [1539]
1539,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[55, 29], Operations: ['50-23=27', '2+27=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[27, 53], Operations: ['50-23=27', '55-2=53']
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,64 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[55, 25], Operations: ['50-23=27', '27-2=25']
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[25, 78], Operations: ['50/2=25', '55+23=78']
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,64 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[23, 80], Operations: ['50/2=25', '55+25=80']
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,64 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,64 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
75,
12,
46,
66
] | 43 | [
"75-12=63",
"66-46=20",
"63-20=43"
] | Current State: 43:[75, 12, 46, 66], Operations: []
Exploring Operation: 75-12=63, Resulting Numbers: [46, 66, 63]
Generated Node #2: [46, 66, 63] from Operation: 75-12=63
Current State: 43:[46, 66, 63], Operations: ['75-12=63']
Exploring Operation: 66-46=20, Resulting Numbers: [63, 20]
Generated Node #3: [63, 20] from Operation: 66-46=20
Current State: 43:[63, 20], Operations: ['75-12=63', '66-46=20']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[75, 12, 46, 66], Operations: []
Exploring Operation: 46-12=34, Resulting Numbers: [75, 66, 34]
Generated Node #0,0: 43:[75, 66, 34] Operation: 46-12=34
Exploring Operation: 75-46=29, Resulting Numbers: [12, 66, 29]
Generated Node #0,1: 43:[12, 66, 29] Operation: 75-46=29
Exploring Operation: 66-12=54, Resulting Numbers: [75, 46, 54]
Generated Node #0,2: 43:[75, 46, 54] Operation: 66-12=54
Exploring Operation: 75-66=9, Resulting Numbers: [12, 46, 9]
Generated Node #0,3: 43:[12, 46, 9] Operation: 75-66=9
Exploring Operation: 75-12=63, Resulting Numbers: [46, 66, 63]
Generated Node #0,4: 43:[46, 66, 63] Operation: 75-12=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[75, 46, 54], Operations: ['66-12=54']
Exploring Operation: 75-54=21, Resulting Numbers: [46, 21]
Generated Node #0,2,0: 43:[46, 21] Operation: 75-54=21
Exploring Operation: 75-46=29, Resulting Numbers: [54, 29]
Generated Node #0,2,1: 43:[54, 29] Operation: 75-46=29
Exploring Operation: 75+54=129, Resulting Numbers: [46, 129]
Generated Node #0,2,2: 43:[46, 129] Operation: 75+54=129
Exploring Operation: 54-46=8, Resulting Numbers: [75, 8]
Generated Node #0,2,3: 43:[75, 8] Operation: 54-46=8
Exploring Operation: 75+46=121, Resulting Numbers: [54, 121]
Generated Node #0,2,4: 43:[54, 121] Operation: 75+46=121
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[46, 21], Operations: ['66-12=54', '75-54=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,43 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[54, 29], Operations: ['66-12=54', '75-46=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,43 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[75, 8], Operations: ['66-12=54', '54-46=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[46, 129], Operations: ['66-12=54', '75+54=129']
Exploring Operation: 46+129=175, Resulting Numbers: [175]
175,43 unequal: No Solution
Exploring Operation: 129-46=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 46*129=5934, Resulting Numbers: [5934]
5934,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[54, 121], Operations: ['66-12=54', '75+46=121']
Exploring Operation: 54*121=6534, Resulting Numbers: [6534]
6534,43 unequal: No Solution
Exploring Operation: 54+121=175, Resulting Numbers: [175]
175,43 unequal: No Solution
Exploring Operation: 121-54=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[46, 66, 63], Operations: ['75-12=63']
Exploring Operation: 46+66=112, Resulting Numbers: [63, 112]
Generated Node #0,4,0: 43:[63, 112] Operation: 46+66=112
Exploring Operation: 63-46=17, Resulting Numbers: [66, 17]
Generated Node #0,4,1: 43:[66, 17] Operation: 63-46=17
Exploring Operation: 46+63=109, Resulting Numbers: [66, 109]
Generated Node #0,4,2: 43:[66, 109] Operation: 46+63=109
Exploring Operation: 66-63=3, Resulting Numbers: [46, 3]
Generated Node #0,4,3: 43:[46, 3] Operation: 66-63=3
Exploring Operation: 66-46=20, Resulting Numbers: [63, 20]
Generated Node #0,4,4: 43:[63, 20] Operation: 66-46=20
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[46, 3], Operations: ['75-12=63', '66-63=3']
Exploring Operation: 46+3=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 46*3=138, Resulting Numbers: [138]
138,43 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[75, 12, 46, 66], Operations: []
Exploring Operation: 75-12=63, Resulting Numbers: [46, 66, 63]
Generated Node #0,4: 43:[46, 66, 63] Operation: 75-12=63
Moving to Node #0,4
Current State: 43:[46, 66, 63], Operations: ['75-12=63']
Exploring Operation: 66-63=3, Resulting Numbers: [46, 3]
Generated Node #0,4,3: 43:[46, 3] Operation: 66-63=3
Moving to Node #0,4,3
Current State: 43:[46, 3], Operations: ['75-12=63', '66-63=3']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
86,
60,
27,
3
] | 93 | [
"86+27=113",
"60/3=20",
"113-20=93"
] | Current State: 93:[86, 60, 27, 3], Operations: []
Exploring Operation: 86+27=113, Resulting Numbers: [60, 3, 113]
Generated Node #2: [60, 3, 113] from Operation: 86+27=113
Current State: 93:[60, 3, 113], Operations: ['86+27=113']
Exploring Operation: 60/3=20, Resulting Numbers: [113, 20]
Generated Node #3: [113, 20] from Operation: 60/3=20
Current State: 93:[113, 20], Operations: ['86+27=113', '60/3=20']
Exploring Operation: 113-20=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[86, 60, 27, 3], Operations: []
Exploring Operation: 60+27=87, Resulting Numbers: [86, 3, 87]
Generated Node #0,0: 93:[86, 3, 87] Operation: 60+27=87
Exploring Operation: 60-27=33, Resulting Numbers: [86, 3, 33]
Generated Node #0,1: 93:[86, 3, 33] Operation: 60-27=33
Exploring Operation: 86-60=26, Resulting Numbers: [27, 3, 26]
Generated Node #0,2: 93:[27, 3, 26] Operation: 86-60=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[86, 3, 33], Operations: ['60-27=33']
Exploring Operation: 33-3=30, Resulting Numbers: [86, 30]
Generated Node #0,1,0: 93:[86, 30] Operation: 33-3=30
Exploring Operation: 86-3=83, Resulting Numbers: [33, 83]
Generated Node #0,1,1: 93:[33, 83] Operation: 86-3=83
Exploring Operation: 86+3=89, Resulting Numbers: [33, 89]
Generated Node #0,1,2: 93:[33, 89] Operation: 86+3=89
Moving to Node #0,1,2
Current State: 93:[33, 89], Operations: ['60-27=33', '86+3=89']
Exploring Operation: 33+89=122, Resulting Numbers: [122]
122,93 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 33*89=2937, Resulting Numbers: [2937]
2937,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[86, 30], Operations: ['60-27=33', '33-3=30']
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,93 unequal: No Solution
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,93 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[33, 83], Operations: ['60-27=33', '86-3=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,93 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[27, 3, 26], Operations: ['86-60=26']
Exploring Operation: 27-26=1, Resulting Numbers: [3, 1]
Generated Node #0,2,0: 93:[3, 1] Operation: 27-26=1
Exploring Operation: 27+3=30, Resulting Numbers: [26, 30]
Generated Node #0,2,1: 93:[26, 30] Operation: 27+3=30
Exploring Operation: 3+26=29, Resulting Numbers: [27, 29]
Generated Node #0,2,2: 93:[27, 29] Operation: 3+26=29
Moving to Node #0,2,0
Current State: 93:[3, 1], Operations: ['86-60=26', '27-26=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[26, 30], Operations: ['86-60=26', '27+3=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,93 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[27, 29], Operations: ['86-60=26', '3+26=29']
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,93 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[86, 3, 87], Operations: ['60+27=87']
Exploring Operation: 87/3=29, Resulting Numbers: [86, 29]
Generated Node #0,0,0: 93:[86, 29] Operation: 87/3=29
Exploring Operation: 87-86=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 93:[3, 1] Operation: 87-86=1
Exploring Operation: 86+3=89, Resulting Numbers: [87, 89]
Generated Node #0,0,2: 93:[87, 89] Operation: 86+3=89
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[3, 1], Operations: ['60+27=87', '87-86=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[86, 29], Operations: ['60+27=87', '87/3=29']
Exploring Operation: 86*29=2494, Resulting Numbers: [2494]
2494,93 unequal: No Solution
Exploring Operation: 86+29=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[87, 89], Operations: ['60+27=87', '86+3=89']
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 87*89=7743, Resulting Numbers: [7743]
7743,93 unequal: No Solution
Exploring Operation: 87+89=176, Resulting Numbers: [176]
176,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
98,
53,
7,
49
] | 67 | [
"98*7=686",
"686/49=14",
"53+14=67"
] | Current State: 67:[98, 53, 7, 49], Operations: []
Exploring Operation: 98*7=686, Resulting Numbers: [53, 49, 686]
Generated Node #2: [53, 49, 686] from Operation: 98*7=686
Current State: 67:[53, 49, 686], Operations: ['98*7=686']
Exploring Operation: 686/49=14, Resulting Numbers: [53, 14]
Generated Node #3: [53, 14] from Operation: 686/49=14
Current State: 67:[53, 14], Operations: ['98*7=686', '686/49=14']
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[98, 53, 7, 49], Operations: []
Exploring Operation: 7+49=56, Resulting Numbers: [98, 53, 56]
Generated Node #0,0: 67:[98, 53, 56] Operation: 7+49=56
Exploring Operation: 98-7=91, Resulting Numbers: [53, 49, 91]
Generated Node #0,1: 67:[53, 49, 91] Operation: 98-7=91
Exploring Operation: 53+7=60, Resulting Numbers: [98, 49, 60]
Generated Node #0,2: 67:[98, 49, 60] Operation: 53+7=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[98, 53, 56], Operations: ['7+49=56']
Exploring Operation: 98-56=42, Resulting Numbers: [53, 42]
Generated Node #0,0,0: 67:[53, 42] Operation: 98-56=42
Exploring Operation: 98-53=45, Resulting Numbers: [56, 45]
Generated Node #0,0,1: 67:[56, 45] Operation: 98-53=45
Exploring Operation: 53+56=109, Resulting Numbers: [98, 109]
Generated Node #0,0,2: 67:[98, 109] Operation: 53+56=109
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[56, 45], Operations: ['7+49=56', '98-53=45']
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,67 unequal: No Solution
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,67 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,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:[53, 42], Operations: ['7+49=56', '98-56=42']
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,67 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[98, 109], Operations: ['7+49=56', '53+56=109']
Exploring Operation: 109-98=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 98+109=207, Resulting Numbers: [207]
207,67 unequal: No Solution
Exploring Operation: 98*109=10682, Resulting Numbers: [10682]
10682,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,1
Current State: 67:[53, 49, 91], Operations: ['98-7=91']
Exploring Operation: 53+49=102, Resulting Numbers: [91, 102]
Generated Node #0,1,0: 67:[91, 102] Operation: 53+49=102
Exploring Operation: 91-49=42, Resulting Numbers: [53, 42]
Generated Node #0,1,1: 67:[53, 42] Operation: 91-49=42
Exploring Operation: 91-53=38, Resulting Numbers: [49, 38]
Generated Node #0,1,2: 67:[49, 38] Operation: 91-53=38
Moving to Node #0,1,1
Current State: 67:[53, 42], Operations: ['98-7=91', '91-49=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,67 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[49, 38], Operations: ['98-7=91', '91-53=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,67 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[91, 102], Operations: ['98-7=91', '53+49=102']
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,67 unequal: No Solution
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,67 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,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,2
Current State: 67:[98, 49, 60], Operations: ['53+7=60']
Exploring Operation: 98-49=49, Resulting Numbers: [60, 49]
Generated Node #0,2,0: 67:[60, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [60, 2]
Generated Node #0,2,1: 67:[60, 2] Operation: 98/49=2
Exploring Operation: 98-60=38, Resulting Numbers: [49, 38]
Generated Node #0,2,2: 67:[49, 38] Operation: 98-60=38
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[60, 49], Operations: ['53+7=60', '98-49=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,67 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,67 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[49, 38], Operations: ['53+7=60', '98-60=38']
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,67 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,67 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[60, 2], Operations: ['53+7=60', '98/49=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
5,
47,
45
] | 36 | [
"90/5=18",
"47-45=2",
"18*2=36"
] | Current State: 36:[90, 5, 47, 45], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [47, 45, 18]
Generated Node #2: [47, 45, 18] from Operation: 90/5=18
Current State: 36:[47, 45, 18], Operations: ['90/5=18']
Exploring Operation: 47-45=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 47-45=2
Current State: 36:[18, 2], Operations: ['90/5=18', '47-45=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[90, 5, 47, 45], Operations: []
Exploring Operation: 90-47=43, Resulting Numbers: [5, 45, 43]
Generated Node #0,0: 36:[5, 45, 43] Operation: 90-47=43
Exploring Operation: 90/45=2, Resulting Numbers: [5, 47, 2]
Generated Node #0,1: 36:[5, 47, 2] Operation: 90/45=2
Exploring Operation: 90/5=18, Resulting Numbers: [47, 45, 18]
Generated Node #0,2: 36:[47, 45, 18] Operation: 90/5=18
Exploring Operation: 90-45=45, Resulting Numbers: [5, 47, 45]
Generated Node #0,3: 36:[5, 47, 45] Operation: 90-45=45
Moving to Node #0,1
Current State: 36:[5, 47, 2], Operations: ['90/45=2']
Exploring Operation: 47-5=42, Resulting Numbers: [2, 42]
Generated Node #0,1,0: 36:[2, 42] Operation: 47-5=42
Exploring Operation: 5-2=3, Resulting Numbers: [47, 3]
Generated Node #0,1,1: 36:[47, 3] Operation: 5-2=3
Exploring Operation: 5+2=7, Resulting Numbers: [47, 7]
Generated Node #0,1,2: 36:[47, 7] Operation: 5+2=7
Exploring Operation: 47-2=45, Resulting Numbers: [5, 45]
Generated Node #0,1,3: 36:[5, 45] Operation: 47-2=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[2, 42], Operations: ['90/45=2', '47-5=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,36 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[5, 45], Operations: ['90/45=2', '47-2=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[47, 3], Operations: ['90/45=2', '5-2=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,36 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[47, 7], Operations: ['90/45=2', '5+2=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,36 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 36:[5, 45, 43], Operations: ['90-47=43']
Exploring Operation: 45/5=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 36:[43, 9] Operation: 45/5=9
Exploring Operation: 45-43=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 36:[5, 2] Operation: 45-43=2
Exploring Operation: 45-5=40, Resulting Numbers: [43, 40]
Generated Node #0,0,2: 36:[43, 40] Operation: 45-5=40
Exploring Operation: 43-5=38, Resulting Numbers: [45, 38]
Generated Node #0,0,3: 36:[45, 38] Operation: 43-5=38
Moving to Node #0,2
Current State: 36:[47, 45, 18], Operations: ['90/5=18']
Exploring Operation: 47-45=2, Resulting Numbers: [18, 2]
Generated Node #0,2,0: 36:[18, 2] Operation: 47-45=2
Exploring Operation: 45-18=27, Resulting Numbers: [47, 27]
Generated Node #0,2,1: 36:[47, 27] Operation: 45-18=27
Exploring Operation: 47-18=29, Resulting Numbers: [45, 29]
Generated Node #0,2,2: 36:[45, 29] Operation: 47-18=29
Exploring Operation: 47+18=65, Resulting Numbers: [45, 65]
Generated Node #0,2,3: 36:[45, 65] Operation: 47+18=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[18, 2], Operations: ['90/5=18', '47-45=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[90, 5, 47, 45], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [47, 45, 18]
Generated Node #0,2: 36:[47, 45, 18] Operation: 90/5=18
Moving to Node #0,2
Current State: 36:[47, 45, 18], Operations: ['90/5=18']
Exploring Operation: 47-45=2, Resulting Numbers: [18, 2]
Generated Node #0,2,0: 36:[18, 2] Operation: 47-45=2
Moving to Node #0,2,0
Current State: 36:[18, 2], Operations: ['90/5=18', '47-45=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
2,
53,
51,
63
] | 46 | [
"63-53=10",
"10/2=5",
"51-5=46"
] | Current State: 46:[2, 53, 51, 63], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [2, 51, 10]
Generated Node #2: [2, 51, 10] from Operation: 63-53=10
Current State: 46:[2, 51, 10], Operations: ['63-53=10']
Exploring Operation: 10/2=5, Resulting Numbers: [51, 5]
Generated Node #3: [51, 5] from Operation: 10/2=5
Current State: 46:[51, 5], Operations: ['63-53=10', '10/2=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[2, 53, 51, 63], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [53, 63, 49]
Generated Node #0,0: 46:[53, 63, 49] Operation: 51-2=49
Exploring Operation: 53-2=51, Resulting Numbers: [51, 63, 51]
Generated Node #0,1: 46:[51, 63, 51] Operation: 53-2=51
Exploring Operation: 63-51=12, Resulting Numbers: [2, 53, 12]
Generated Node #0,2: 46:[2, 53, 12] Operation: 63-51=12
Exploring Operation: 63-53=10, Resulting Numbers: [2, 51, 10]
Generated Node #0,3: 46:[2, 51, 10] Operation: 63-53=10
Exploring Operation: 53-51=2, Resulting Numbers: [2, 63, 2]
Generated Node #0,4: 46:[2, 63, 2] Operation: 53-51=2
Moving to Node #0,3
Current State: 46:[2, 51, 10], Operations: ['63-53=10']
Exploring Operation: 10/2=5, Resulting Numbers: [51, 5]
Generated Node #0,3,0: 46:[51, 5] Operation: 10/2=5
Exploring Operation: 51-10=41, Resulting Numbers: [2, 41]
Generated Node #0,3,1: 46:[2, 41] Operation: 51-10=41
Exploring Operation: 51-2=49, Resulting Numbers: [10, 49]
Generated Node #0,3,2: 46:[10, 49] Operation: 51-2=49
Exploring Operation: 10-2=8, Resulting Numbers: [51, 8]
Generated Node #0,3,3: 46:[51, 8] Operation: 10-2=8
Exploring Operation: 2*10=20, Resulting Numbers: [51, 20]
Generated Node #0,3,4: 46:[51, 20] Operation: 2*10=20
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[2, 41], Operations: ['63-53=10', '51-10=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[51, 5], Operations: ['63-53=10', '10/2=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[2, 53, 51, 63], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [2, 51, 10]
Generated Node #0,3: 46:[2, 51, 10] Operation: 63-53=10
Moving to Node #0,3
Current State: 46:[2, 51, 10], Operations: ['63-53=10']
Exploring Operation: 10/2=5, Resulting Numbers: [51, 5]
Generated Node #0,3,0: 46:[51, 5] Operation: 10/2=5
Moving to Node #0,3,0
Current State: 46:[51, 5], Operations: ['63-53=10', '10/2=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
34,
60,
38,
95
] | 83 | [
"60-34=26",
"95-38=57",
"26+57=83"
] | Current State: 83:[34, 60, 38, 95], Operations: []
Exploring Operation: 60-34=26, Resulting Numbers: [38, 95, 26]
Generated Node #2: [38, 95, 26] from Operation: 60-34=26
Current State: 83:[38, 95, 26], Operations: ['60-34=26']
Exploring Operation: 95-38=57, Resulting Numbers: [26, 57]
Generated Node #3: [26, 57] from Operation: 95-38=57
Current State: 83:[26, 57], Operations: ['60-34=26', '95-38=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[34, 60, 38, 95], Operations: []
Exploring Operation: 34+38=72, Resulting Numbers: [60, 95, 72]
Generated Node #0,0: 83:[60, 95, 72] Operation: 34+38=72
Moving to Node #0,0
Current State: 83:[60, 95, 72], Operations: ['34+38=72']
Exploring Operation: 95-60=35, Resulting Numbers: [72, 35]
Generated Node #0,0,0: 83:[72, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[72, 35], Operations: ['34+38=72', '95-60=35']
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
83,
72,
41
] | 76 | [
"83-46=37",
"72+41=113",
"113-37=76"
] | Current State: 76:[46, 83, 72, 41], Operations: []
Exploring Operation: 83-46=37, Resulting Numbers: [72, 41, 37]
Generated Node #2: [72, 41, 37] from Operation: 83-46=37
Current State: 76:[72, 41, 37], Operations: ['83-46=37']
Exploring Operation: 72+41=113, Resulting Numbers: [37, 113]
Generated Node #3: [37, 113] from Operation: 72+41=113
Current State: 76:[37, 113], Operations: ['83-46=37', '72+41=113']
Exploring Operation: 113-37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[46, 83, 72, 41], Operations: []
Exploring Operation: 83-46=37, Resulting Numbers: [72, 41, 37]
Generated Node #0,0: 76:[72, 41, 37] Operation: 83-46=37
Exploring Operation: 83-41=42, Resulting Numbers: [46, 72, 42]
Generated Node #0,1: 76:[46, 72, 42] Operation: 83-41=42
Exploring Operation: 46-41=5, Resulting Numbers: [83, 72, 5]
Generated Node #0,2: 76:[83, 72, 5] Operation: 46-41=5
Moving to Node #0,0
Current State: 76:[72, 41, 37], Operations: ['83-46=37']
Exploring Operation: 41-37=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 76:[72, 4] Operation: 41-37=4
Exploring Operation: 72-37=35, Resulting Numbers: [41, 35]
Generated Node #0,0,1: 76:[41, 35] Operation: 72-37=35
Exploring Operation: 41+37=78, Resulting Numbers: [72, 78]
Generated Node #0,0,2: 76:[72, 78] Operation: 41+37=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[72, 4], Operations: ['83-46=37', '41-37=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[46, 83, 72, 41], Operations: []
Exploring Operation: 83-46=37, Resulting Numbers: [72, 41, 37]
Generated Node #0,0: 76:[72, 41, 37] Operation: 83-46=37
Moving to Node #0,0
Current State: 76:[72, 41, 37], Operations: ['83-46=37']
Exploring Operation: 41-37=4, Resulting Numbers: [72, 4]
Generated Node #0,0,0: 76:[72, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 76:[72, 4], Operations: ['83-46=37', '41-37=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
96,
8,
93,
74
] | 22 | [
"96-93=3",
"74-8=66",
"66/3=22"
] | Current State: 22:[96, 8, 93, 74], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [8, 74, 3]
Generated Node #2: [8, 74, 3] from Operation: 96-93=3
Current State: 22:[8, 74, 3], Operations: ['96-93=3']
Exploring Operation: 74-8=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 74-8=66
Current State: 22:[3, 66], Operations: ['96-93=3', '74-8=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[96, 8, 93, 74], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [8, 93, 22]
Generated Node #0,0: 22:[8, 93, 22] Operation: 96-74=22
Exploring Operation: 96-93=3, Resulting Numbers: [8, 74, 3]
Generated Node #0,1: 22:[8, 74, 3] Operation: 96-93=3
Exploring Operation: 96/8=12, Resulting Numbers: [93, 74, 12]
Generated Node #0,2: 22:[93, 74, 12] Operation: 96/8=12
Exploring Operation: 96-8=88, Resulting Numbers: [93, 74, 88]
Generated Node #0,3: 22:[93, 74, 88] Operation: 96-8=88
Exploring Operation: 93-74=19, Resulting Numbers: [96, 8, 19]
Generated Node #0,4: 22:[96, 8, 19] Operation: 93-74=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[8, 74, 3], Operations: ['96-93=3']
Exploring Operation: 8-3=5, Resulting Numbers: [74, 5]
Generated Node #0,1,0: 22:[74, 5] Operation: 8-3=5
Exploring Operation: 74-3=71, Resulting Numbers: [8, 71]
Generated Node #0,1,1: 22:[8, 71] Operation: 74-3=71
Exploring Operation: 8+3=11, Resulting Numbers: [74, 11]
Generated Node #0,1,2: 22:[74, 11] Operation: 8+3=11
Exploring Operation: 8*3=24, Resulting Numbers: [74, 24]
Generated Node #0,1,3: 22:[74, 24] Operation: 8*3=24
Exploring Operation: 74-8=66, Resulting Numbers: [3, 66]
Generated Node #0,1,4: 22:[3, 66] Operation: 74-8=66
Moving to Node #0,1,4
Current State: 22:[3, 66], Operations: ['96-93=3', '74-8=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[96, 8, 93, 74], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [8, 74, 3]
Generated Node #0,1: 22:[8, 74, 3] Operation: 96-93=3
Moving to Node #0,1
Current State: 22:[8, 74, 3], Operations: ['96-93=3']
Exploring Operation: 74-8=66, Resulting Numbers: [3, 66]
Generated Node #0,1,4: 22:[3, 66] Operation: 74-8=66
Moving to Node #0,1,4
Current State: 22:[3, 66], Operations: ['96-93=3', '74-8=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
14,
36,
19,
38
] | 47 | [
"38-36=2",
"14*2=28",
"19+28=47"
] | Current State: 47:[14, 36, 19, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [14, 19, 2]
Generated Node #2: [14, 19, 2] from Operation: 38-36=2
Current State: 47:[14, 19, 2], Operations: ['38-36=2']
Exploring Operation: 14*2=28, Resulting Numbers: [19, 28]
Generated Node #3: [19, 28] from Operation: 14*2=28
Current State: 47:[19, 28], Operations: ['38-36=2', '14*2=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[14, 36, 19, 38], Operations: []
Exploring Operation: 14+19=33, Resulting Numbers: [36, 38, 33]
Generated Node #0,0: 47:[36, 38, 33] Operation: 14+19=33
Moving to Node #0,0
Current State: 47:[36, 38, 33], Operations: ['14+19=33']
Exploring Operation: 36+33=69, Resulting Numbers: [38, 69]
Generated Node #0,0,0: 47:[38, 69] Operation: 36+33=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[38, 69], Operations: ['14+19=33', '36+33=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,47 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 |
[
18,
62,
16,
32
] | 82 | [
"18+62=80",
"32/16=2",
"80+2=82"
] | Current State: 82:[18, 62, 16, 32], Operations: []
Exploring Operation: 18+62=80, Resulting Numbers: [16, 32, 80]
Generated Node #2: [16, 32, 80] from Operation: 18+62=80
Current State: 82:[16, 32, 80], Operations: ['18+62=80']
Exploring Operation: 32/16=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 32/16=2
Current State: 82:[80, 2], Operations: ['18+62=80', '32/16=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[18, 62, 16, 32], Operations: []
Exploring Operation: 62-18=44, Resulting Numbers: [16, 32, 44]
Generated Node #0,0: 82:[16, 32, 44] Operation: 62-18=44
Exploring Operation: 18+62=80, Resulting Numbers: [16, 32, 80]
Generated Node #0,1: 82:[16, 32, 80] Operation: 18+62=80
Exploring Operation: 18-16=2, Resulting Numbers: [62, 32, 2]
Generated Node #0,2: 82:[62, 32, 2] Operation: 18-16=2
Exploring Operation: 62-16=46, Resulting Numbers: [18, 32, 46]
Generated Node #0,3: 82:[18, 32, 46] Operation: 62-16=46
Exploring Operation: 62+16=78, Resulting Numbers: [18, 32, 78]
Generated Node #0,4: 82:[18, 32, 78] Operation: 62+16=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[16, 32, 80], Operations: ['18+62=80']
Exploring Operation: 80/16=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 82:[32, 5] Operation: 80/16=5
Exploring Operation: 32/16=2, Resulting Numbers: [80, 2]
Generated Node #0,1,1: 82:[80, 2] Operation: 32/16=2
Exploring Operation: 80-32=48, Resulting Numbers: [16, 48]
Generated Node #0,1,2: 82:[16, 48] Operation: 80-32=48
Exploring Operation: 32-16=16, Resulting Numbers: [80, 16]
Generated Node #0,1,3: 82:[80, 16] Operation: 32-16=16
Exploring Operation: 16+32=48, Resulting Numbers: [80, 48]
Generated Node #0,1,4: 82:[80, 48] Operation: 16+32=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[80, 2], Operations: ['18+62=80', '32/16=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[18, 62, 16, 32], Operations: []
Exploring Operation: 18+62=80, Resulting Numbers: [16, 32, 80]
Generated Node #0,1: 82:[16, 32, 80] Operation: 18+62=80
Moving to Node #0,1
Current State: 82:[16, 32, 80], Operations: ['18+62=80']
Exploring Operation: 32/16=2, Resulting Numbers: [80, 2]
Generated Node #0,1,1: 82:[80, 2] Operation: 32/16=2
Moving to Node #0,1,1
Current State: 82:[80, 2], Operations: ['18+62=80', '32/16=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
21,
14,
90,
34
] | 26 | [
"14*90=1260",
"1260/21=60",
"60-34=26"
] | Current State: 26:[21, 14, 90, 34], Operations: []
Exploring Operation: 14*90=1260, Resulting Numbers: [21, 34, 1260]
Generated Node #2: [21, 34, 1260] from Operation: 14*90=1260
Current State: 26:[21, 34, 1260], Operations: ['14*90=1260']
Exploring Operation: 1260/21=60, Resulting Numbers: [34, 60]
Generated Node #3: [34, 60] from Operation: 1260/21=60
Current State: 26:[34, 60], Operations: ['14*90=1260', '1260/21=60']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[21, 14, 90, 34], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [21, 14, 56]
Generated Node #0,0: 26:[21, 14, 56] Operation: 90-34=56
Exploring Operation: 90-21=69, Resulting Numbers: [14, 34, 69]
Generated Node #0,1: 26:[14, 34, 69] Operation: 90-21=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[21, 14, 56], Operations: ['90-34=56']
Exploring Operation: 56/14=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 26:[21, 4] Operation: 56/14=4
Exploring Operation: 56-21=35, Resulting Numbers: [14, 35]
Generated Node #0,0,1: 26:[14, 35] Operation: 56-21=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[21, 4], Operations: ['90-34=56', '56/14=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[14, 35], Operations: ['90-34=56', '56-21=35']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[14, 34, 69], Operations: ['90-21=69']
Exploring Operation: 69-14=55, Resulting Numbers: [34, 55]
Generated Node #0,1,0: 26:[34, 55] Operation: 69-14=55
Exploring Operation: 69-34=35, Resulting Numbers: [14, 35]
Generated Node #0,1,1: 26:[14, 35] Operation: 69-34=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[14, 35], Operations: ['90-21=69', '69-34=35']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[34, 55], Operations: ['90-21=69', '69-14=55']
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.