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 |
|---|---|---|---|---|---|---|---|---|
[
9,
24,
71,
24
] | 79 | [
"9+71=80",
"24/24=1",
"80-1=79"
] | Current State: 79:[9, 24, 71, 24], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [24, 24, 80]
Generated Node #2: [24, 24, 80] from Operation: 9+71=80
Current State: 79:[24, 24, 80], Operations: ['9+71=80']
Exploring Operation: 24/24=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 24/24=1
Current State: 79:[80, 1], Operations: ['9+71=80', '24/24=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[9, 24, 71, 24], Operations: []
Exploring Operation: 9+24=33, Resulting Numbers: [24, 71, 33]
Generated Node #0,0: 79:[24, 71, 33] Operation: 9+24=33
Exploring Operation: 9+24=33, Resulting Numbers: [71, 24, 33]
Generated Node #0,1: 79:[71, 24, 33] Operation: 9+24=33
Exploring Operation: 24+24=48, Resulting Numbers: [9, 71, 48]
Generated Node #0,2: 79:[9, 71, 48] Operation: 24+24=48
Moving to Node #0,0
Current State: 79:[24, 71, 33], Operations: ['9+24=33']
Exploring Operation: 24+33=57, Resulting Numbers: [71, 57]
Generated Node #0,0,0: 79:[71, 57] Operation: 24+33=57
Exploring Operation: 71-24=47, Resulting Numbers: [33, 47]
Generated Node #0,0,1: 79:[33, 47] Operation: 71-24=47
Exploring Operation: 24+71=95, Resulting Numbers: [33, 95]
Generated Node #0,0,2: 79:[33, 95] Operation: 24+71=95
Moving to Node #0,1
Current State: 79:[71, 24, 33], Operations: ['9+24=33']
Exploring Operation: 71+24=95, Resulting Numbers: [33, 95]
Generated Node #0,1,0: 79:[33, 95] Operation: 71+24=95
Exploring Operation: 24+33=57, Resulting Numbers: [71, 57]
Generated Node #0,1,1: 79:[71, 57] Operation: 24+33=57
Exploring Operation: 71-24=47, Resulting Numbers: [33, 47]
Generated Node #0,1,2: 79:[33, 47] Operation: 71-24=47
Moving to Node #0,2
Current State: 79:[9, 71, 48], Operations: ['24+24=48']
Exploring Operation: 9+48=57, Resulting Numbers: [71, 57]
Generated Node #0,2,0: 79:[71, 57] Operation: 9+48=57
Exploring Operation: 9+71=80, Resulting Numbers: [48, 80]
Generated Node #0,2,1: 79:[48, 80] Operation: 9+71=80
Exploring Operation: 71-9=62, Resulting Numbers: [48, 62]
Generated Node #0,2,2: 79:[48, 62] Operation: 71-9=62
Moving to Node #0,0,0
Current State: 79:[71, 57], Operations: ['9+24=33', '24+33=57']
Exploring Operation: 71+57=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 71*57=4047, Resulting Numbers: [4047]
4047,79 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[71, 57], Operations: ['24+24=48', '9+48=57']
Exploring Operation: 71+57=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 71*57=4047, Resulting Numbers: [4047]
4047,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[71, 57], Operations: ['9+24=33', '24+33=57']
Exploring Operation: 71+57=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 71*57=4047, Resulting Numbers: [4047]
4047,79 unequal: No Solution
Exploring Operation: 71-57=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[48, 80], Operations: ['24+24=48', '9+71=80']
Exploring Operation: 48*80=3840, Resulting Numbers: [3840]
3840,79 unequal: No Solution
Exploring Operation: 48+80=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[48, 62], Operations: ['24+24=48', '71-9=62']
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 48*62=2976, Resulting Numbers: [2976]
2976,79 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[33, 95], Operations: ['9+24=33', '71+24=95']
Exploring Operation: 33*95=3135, Resulting Numbers: [3135]
3135,79 unequal: No Solution
Exploring Operation: 33+95=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[33, 95], Operations: ['9+24=33', '24+71=95']
Exploring Operation: 33+95=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 95-33=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 33*95=3135, Resulting Numbers: [3135]
3135,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[33, 47], Operations: ['9+24=33', '71-24=47']
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[33, 47], Operations: ['9+24=33', '71-24=47']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
88,
81,
54
] | 17 | [
"88-44=44",
"81-54=27",
"44-27=17"
] | Current State: 17:[44, 88, 81, 54], Operations: []
Exploring Operation: 88-44=44, Resulting Numbers: [81, 54, 44]
Generated Node #2: [81, 54, 44] from Operation: 88-44=44
Current State: 17:[81, 54, 44], Operations: ['88-44=44']
Exploring Operation: 81-54=27, Resulting Numbers: [44, 27]
Generated Node #3: [44, 27] from Operation: 81-54=27
Current State: 17:[44, 27], Operations: ['88-44=44', '81-54=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[44, 88, 81, 54], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [81, 54, 2]
Generated Node #0,0: 17:[81, 54, 2] Operation: 88/44=2
Exploring Operation: 88-54=34, Resulting Numbers: [44, 81, 34]
Generated Node #0,1: 17:[44, 81, 34] Operation: 88-54=34
Exploring Operation: 81-54=27, Resulting Numbers: [44, 88, 27]
Generated Node #0,2: 17:[44, 88, 27] Operation: 81-54=27
Exploring Operation: 88-81=7, Resulting Numbers: [44, 54, 7]
Generated Node #0,3: 17:[44, 54, 7] Operation: 88-81=7
Moving to Node #0,3
Current State: 17:[44, 54, 7], Operations: ['88-81=7']
Exploring Operation: 54-7=47, Resulting Numbers: [44, 47]
Generated Node #0,3,0: 17:[44, 47] Operation: 54-7=47
Exploring Operation: 44+7=51, Resulting Numbers: [54, 51]
Generated Node #0,3,1: 17:[54, 51] Operation: 44+7=51
Exploring Operation: 44-7=37, Resulting Numbers: [54, 37]
Generated Node #0,3,2: 17:[54, 37] Operation: 44-7=37
Exploring Operation: 54-44=10, Resulting Numbers: [7, 10]
Generated Node #0,3,3: 17:[7, 10] Operation: 54-44=10
Moving to Node #0,2
Current State: 17:[44, 88, 27], Operations: ['81-54=27']
Exploring Operation: 88-44=44, Resulting Numbers: [27, 44]
Generated Node #0,2,0: 17:[27, 44] Operation: 88-44=44
Exploring Operation: 44-27=17, Resulting Numbers: [88, 17]
Generated Node #0,2,1: 17:[88, 17] Operation: 44-27=17
Exploring Operation: 88-27=61, Resulting Numbers: [44, 61]
Generated Node #0,2,2: 17:[44, 61] Operation: 88-27=61
Exploring Operation: 88/44=2, Resulting Numbers: [27, 2]
Generated Node #0,2,3: 17:[27, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[27, 2], Operations: ['81-54=27', '88/44=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,17 unequal: No Solution
No 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: 17:[27, 44], Operations: ['81-54=27', '88-44=44']
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[44, 88, 81, 54], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [44, 88, 27]
Generated Node #0,2: 17:[44, 88, 27] Operation: 81-54=27
Moving to Node #0,2
Current State: 17:[44, 88, 27], Operations: ['81-54=27']
Exploring Operation: 88-44=44, Resulting Numbers: [27, 44]
Generated Node #0,2,0: 17:[27, 44] Operation: 88-44=44
Moving to Node #0,2,0
Current State: 17:[27, 44], Operations: ['81-54=27', '88-44=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
34,
3,
71,
10
] | 41 | [
"34*3=102",
"71-10=61",
"102-61=41"
] | Current State: 41:[34, 3, 71, 10], Operations: []
Exploring Operation: 34*3=102, Resulting Numbers: [71, 10, 102]
Generated Node #2: [71, 10, 102] from Operation: 34*3=102
Current State: 41:[71, 10, 102], Operations: ['34*3=102']
Exploring Operation: 71-10=61, Resulting Numbers: [102, 61]
Generated Node #3: [102, 61] from Operation: 71-10=61
Current State: 41:[102, 61], Operations: ['34*3=102', '71-10=61']
Exploring Operation: 102-61=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[34, 3, 71, 10], Operations: []
Exploring Operation: 34+3=37, Resulting Numbers: [71, 10, 37]
Generated Node #0,0: 41:[71, 10, 37] Operation: 34+3=37
Exploring Operation: 71-3=68, Resulting Numbers: [34, 10, 68]
Generated Node #0,1: 41:[34, 10, 68] Operation: 71-3=68
Exploring Operation: 3+10=13, Resulting Numbers: [34, 71, 13]
Generated Node #0,2: 41:[34, 71, 13] Operation: 3+10=13
Exploring Operation: 3*10=30, Resulting Numbers: [34, 71, 30]
Generated Node #0,3: 41:[34, 71, 30] Operation: 3*10=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[34, 71, 30], Operations: ['3*10=30']
Exploring Operation: 71-30=41, Resulting Numbers: [34, 41]
Generated Node #0,3,0: 41:[34, 41] Operation: 71-30=41
Exploring Operation: 34+30=64, Resulting Numbers: [71, 64]
Generated Node #0,3,1: 41:[71, 64] Operation: 34+30=64
Exploring Operation: 71-34=37, Resulting Numbers: [30, 37]
Generated Node #0,3,2: 41:[30, 37] Operation: 71-34=37
Exploring Operation: 34-30=4, Resulting Numbers: [71, 4]
Generated Node #0,3,3: 41:[71, 4] Operation: 34-30=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[34, 41], Operations: ['3*10=30', '71-30=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,41 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,41 unequal: No Solution
No 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: 41:[30, 37], Operations: ['3*10=30', '71-34=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,41 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,41 unequal: No Solution
No 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: 41:[71, 64], Operations: ['3*10=30', '34+30=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,41 unequal: No Solution
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,41 unequal: No Solution
No 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: 41:[71, 4], Operations: ['3*10=30', '34-30=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,41 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,41 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[71, 10, 37], Operations: ['34+3=37']
Exploring Operation: 71-37=34, Resulting Numbers: [10, 34]
Generated Node #0,0,0: 41:[10, 34] Operation: 71-37=34
Exploring Operation: 10+37=47, Resulting Numbers: [71, 47]
Generated Node #0,0,1: 41:[71, 47] Operation: 10+37=47
Exploring Operation: 71-10=61, Resulting Numbers: [37, 61]
Generated Node #0,0,2: 41:[37, 61] Operation: 71-10=61
Exploring Operation: 71+10=81, Resulting Numbers: [37, 81]
Generated Node #0,0,3: 41:[37, 81] Operation: 71+10=81
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[37, 61], Operations: ['34+3=37', '71-10=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,41 unequal: No Solution
No 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: 41:[71, 47], Operations: ['34+3=37', '10+37=47']
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,41 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,41 unequal: No Solution
No 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: 41:[10, 34], Operations: ['34+3=37', '71-37=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,41 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,41 unequal: No Solution
No 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: 41:[37, 81], Operations: ['34+3=37', '71+10=81']
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,41 unequal: No Solution
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[34, 10, 68], Operations: ['71-3=68']
Exploring Operation: 68-34=34, Resulting Numbers: [10, 34]
Generated Node #0,1,0: 41:[10, 34] Operation: 68-34=34
Exploring Operation: 34+10=44, Resulting Numbers: [68, 44]
Generated Node #0,1,1: 41:[68, 44] Operation: 34+10=44
Exploring Operation: 34-10=24, Resulting Numbers: [68, 24]
Generated Node #0,1,2: 41:[68, 24] Operation: 34-10=24
Exploring Operation: 68-10=58, Resulting Numbers: [34, 58]
Generated Node #0,1,3: 41:[34, 58] Operation: 68-10=58
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[34, 58], Operations: ['71-3=68', '68-10=58']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,41 unequal: No Solution
No 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: 41:[68, 44], Operations: ['71-3=68', '34+10=44']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,41 unequal: No Solution
No 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: 41:[10, 34], Operations: ['71-3=68', '68-34=34']
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,41 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,41 unequal: No Solution
No 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: 41:[68, 24], Operations: ['71-3=68', '34-10=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[34, 71, 13], Operations: ['3+10=13']
Exploring Operation: 34+13=47, Resulting Numbers: [71, 47]
Generated Node #0,2,0: 41:[71, 47] Operation: 34+13=47
Exploring Operation: 71-13=58, Resulting Numbers: [34, 58]
Generated Node #0,2,1: 41:[34, 58] Operation: 71-13=58
Exploring Operation: 71-34=37, Resulting Numbers: [13, 37]
Generated Node #0,2,2: 41:[13, 37] Operation: 71-34=37
Exploring Operation: 34-13=21, Resulting Numbers: [71, 21]
Generated Node #0,2,3: 41:[71, 21] Operation: 34-13=21
Moving to Node #0,2,1
Current State: 41:[34, 58], Operations: ['3+10=13', '71-13=58']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,41 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[13, 37], Operations: ['3+10=13', '71-34=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,41 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[71, 47], Operations: ['3+10=13', '34+13=47']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,41 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[71, 21], Operations: ['3+10=13', '34-13=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,41 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,41 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 |
[
80,
27,
14,
69
] | 24 | [
"80+27=107",
"14+69=83",
"107-83=24"
] | Current State: 24:[80, 27, 14, 69], Operations: []
Exploring Operation: 80+27=107, Resulting Numbers: [14, 69, 107]
Generated Node #2: [14, 69, 107] from Operation: 80+27=107
Current State: 24:[14, 69, 107], Operations: ['80+27=107']
Exploring Operation: 14+69=83, Resulting Numbers: [107, 83]
Generated Node #3: [107, 83] from Operation: 14+69=83
Current State: 24:[107, 83], Operations: ['80+27=107', '14+69=83']
Exploring Operation: 107-83=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[80, 27, 14, 69], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [27, 14, 11]
Generated Node #0,0: 24:[27, 14, 11] Operation: 80-69=11
Exploring Operation: 80-27=53, Resulting Numbers: [14, 69, 53]
Generated Node #0,1: 24:[14, 69, 53] Operation: 80-27=53
Exploring Operation: 69-27=42, Resulting Numbers: [80, 14, 42]
Generated Node #0,2: 24:[80, 14, 42] Operation: 69-27=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[27, 14, 11], Operations: ['80-69=11']
Exploring Operation: 27-14=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 24:[11, 13] Operation: 27-14=13
Exploring Operation: 14+11=25, Resulting Numbers: [27, 25]
Generated Node #0,0,1: 24:[27, 25] Operation: 14+11=25
Exploring Operation: 14-11=3, Resulting Numbers: [27, 3]
Generated Node #0,0,2: 24:[27, 3] Operation: 14-11=3
Moving to Node #0,0,0
Current State: 24:[11, 13], Operations: ['80-69=11', '27-14=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[80, 27, 14, 69], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [27, 14, 11]
Generated Node #0,0: 24:[27, 14, 11] Operation: 80-69=11
Moving to Node #0,0
Current State: 24:[27, 14, 11], Operations: ['80-69=11']
Exploring Operation: 27-14=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 24:[11, 13] Operation: 27-14=13
Moving to Node #0,0,0
Current State: 24:[11, 13], Operations: ['80-69=11', '27-14=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
86,
84,
2,
99
] | 55 | [
"99-86=13",
"84/2=42",
"13+42=55"
] | Current State: 55:[86, 84, 2, 99], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [84, 2, 13]
Generated Node #2: [84, 2, 13] from Operation: 99-86=13
Current State: 55:[84, 2, 13], Operations: ['99-86=13']
Exploring Operation: 84/2=42, Resulting Numbers: [13, 42]
Generated Node #3: [13, 42] from Operation: 84/2=42
Current State: 55:[13, 42], Operations: ['99-86=13', '84/2=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[86, 84, 2, 99], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [86, 99, 42]
Generated Node #0,0: 55:[86, 99, 42] Operation: 84/2=42
Exploring Operation: 99-86=13, Resulting Numbers: [84, 2, 13]
Generated Node #0,1: 55:[84, 2, 13] Operation: 99-86=13
Exploring Operation: 86/2=43, Resulting Numbers: [84, 99, 43]
Generated Node #0,2: 55:[84, 99, 43] Operation: 86/2=43
Exploring Operation: 86-84=2, Resulting Numbers: [2, 99, 2]
Generated Node #0,3: 55:[2, 99, 2] Operation: 86-84=2
Exploring Operation: 99-84=15, Resulting Numbers: [86, 2, 15]
Generated Node #0,4: 55:[86, 2, 15] Operation: 99-84=15
Moving to Node #0,1
Current State: 55:[84, 2, 13], Operations: ['99-86=13']
Exploring Operation: 13-2=11, Resulting Numbers: [84, 11]
Generated Node #0,1,0: 55:[84, 11] Operation: 13-2=11
Exploring Operation: 84+2=86, Resulting Numbers: [13, 86]
Generated Node #0,1,1: 55:[13, 86] Operation: 84+2=86
Exploring Operation: 84-2=82, Resulting Numbers: [13, 82]
Generated Node #0,1,2: 55:[13, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [13, 42]
Generated Node #0,1,3: 55:[13, 42] Operation: 84/2=42
Exploring Operation: 84-13=71, Resulting Numbers: [2, 71]
Generated Node #0,1,4: 55:[2, 71] Operation: 84-13=71
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[13, 42], Operations: ['99-86=13', '84/2=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,55 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[86, 84, 2, 99], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [84, 2, 13]
Generated Node #0,1: 55:[84, 2, 13] Operation: 99-86=13
Moving to Node #0,1
Current State: 55:[84, 2, 13], Operations: ['99-86=13']
Exploring Operation: 84/2=42, Resulting Numbers: [13, 42]
Generated Node #0,1,3: 55:[13, 42] Operation: 84/2=42
Moving to Node #0,1,3
Current State: 55:[13, 42], Operations: ['99-86=13', '84/2=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
33,
34,
35,
45
] | 78 | [
"33+45=78",
"35-34=1",
"78*1=78"
] | Current State: 78:[33, 34, 35, 45], Operations: []
Exploring Operation: 33+45=78, Resulting Numbers: [34, 35, 78]
Generated Node #2: [34, 35, 78] from Operation: 33+45=78
Current State: 78:[34, 35, 78], Operations: ['33+45=78']
Exploring Operation: 35-34=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 35-34=1
Current State: 78:[78, 1], Operations: ['33+45=78', '35-34=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[33, 34, 35, 45], Operations: []
Exploring Operation: 33+45=78, Resulting Numbers: [34, 35, 78]
Generated Node #0,0: 78:[34, 35, 78] Operation: 33+45=78
Exploring Operation: 45-33=12, Resulting Numbers: [34, 35, 12]
Generated Node #0,1: 78:[34, 35, 12] Operation: 45-33=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[34, 35, 78], Operations: ['33+45=78']
Exploring Operation: 34+35=69, Resulting Numbers: [78, 69]
Generated Node #0,0,0: 78:[78, 69] Operation: 34+35=69
Exploring Operation: 35-34=1, Resulting Numbers: [78, 1]
Generated Node #0,0,1: 78:[78, 1] Operation: 35-34=1
Moving to Node #0,0,1
Current State: 78:[78, 1], Operations: ['33+45=78', '35-34=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[33, 34, 35, 45], Operations: []
Exploring Operation: 33+45=78, Resulting Numbers: [34, 35, 78]
Generated Node #0,0: 78:[34, 35, 78] Operation: 33+45=78
Moving to Node #0,0
Current State: 78:[34, 35, 78], Operations: ['33+45=78']
Exploring Operation: 35-34=1, Resulting Numbers: [78, 1]
Generated Node #0,0,1: 78:[78, 1] Operation: 35-34=1
Moving to Node #0,0,1
Current State: 78:[78, 1], Operations: ['33+45=78', '35-34=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
72,
34,
40,
92
] | 94 | [
"72-34=38",
"40+92=132",
"132-38=94"
] | Current State: 94:[72, 34, 40, 92], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [40, 92, 38]
Generated Node #2: [40, 92, 38] from Operation: 72-34=38
Current State: 94:[40, 92, 38], Operations: ['72-34=38']
Exploring Operation: 40+92=132, Resulting Numbers: [38, 132]
Generated Node #3: [38, 132] from Operation: 40+92=132
Current State: 94:[38, 132], Operations: ['72-34=38', '40+92=132']
Exploring Operation: 132-38=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[72, 34, 40, 92], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [40, 92, 38]
Generated Node #0,0: 94:[40, 92, 38] Operation: 72-34=38
Exploring Operation: 40-34=6, Resulting Numbers: [72, 92, 6]
Generated Node #0,1: 94:[72, 92, 6] Operation: 40-34=6
Exploring Operation: 72+34=106, Resulting Numbers: [40, 92, 106]
Generated Node #0,2: 94:[40, 92, 106] Operation: 72+34=106
Moving to Node #0,0
Current State: 94:[40, 92, 38], Operations: ['72-34=38']
Exploring Operation: 40-38=2, Resulting Numbers: [92, 2]
Generated Node #0,0,0: 94:[92, 2] Operation: 40-38=2
Exploring Operation: 92-40=52, Resulting Numbers: [38, 52]
Generated Node #0,0,1: 94:[38, 52] Operation: 92-40=52
Exploring Operation: 92-38=54, Resulting Numbers: [40, 54]
Generated Node #0,0,2: 94:[40, 54] Operation: 92-38=54
Moving to Node #0,2
Current State: 94:[40, 92, 106], Operations: ['72+34=106']
Exploring Operation: 92-40=52, Resulting Numbers: [106, 52]
Generated Node #0,2,0: 94:[106, 52] Operation: 92-40=52
Exploring Operation: 106-92=14, Resulting Numbers: [40, 14]
Generated Node #0,2,1: 94:[40, 14] Operation: 106-92=14
Exploring Operation: 106-40=66, Resulting Numbers: [92, 66]
Generated Node #0,2,2: 94:[92, 66] Operation: 106-40=66
Moving to Node #0,1
Current State: 94:[72, 92, 6], Operations: ['40-34=6']
Exploring Operation: 72-6=66, Resulting Numbers: [92, 66]
Generated Node #0,1,0: 94:[92, 66] Operation: 72-6=66
Exploring Operation: 72+6=78, Resulting Numbers: [92, 78]
Generated Node #0,1,1: 94:[92, 78] Operation: 72+6=78
Exploring Operation: 72/6=12, Resulting Numbers: [92, 12]
Generated Node #0,1,2: 94:[92, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[92, 12], Operations: ['40-34=6', '72/6=12']
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,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,1
Current State: 94:[92, 78], Operations: ['40-34=6', '72+6=78']
Exploring Operation: 92+78=170, Resulting Numbers: [170]
170,94 unequal: No Solution
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 92*78=7176, Resulting Numbers: [7176]
7176,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,0
Current State: 94:[92, 66], Operations: ['40-34=6', '72-6=66']
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,94 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,94 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: 94:[92, 2], Operations: ['72-34=38', '40-38=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[72, 34, 40, 92], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [40, 92, 38]
Generated Node #0,0: 94:[40, 92, 38] Operation: 72-34=38
Moving to Node #0,0
Current State: 94:[40, 92, 38], Operations: ['72-34=38']
Exploring Operation: 40-38=2, Resulting Numbers: [92, 2]
Generated Node #0,0,0: 94:[92, 2] Operation: 40-38=2
Moving to Node #0,0,0
Current State: 94:[92, 2], Operations: ['72-34=38', '40-38=2']
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
1,
13,
42,
38
] | 68 | [
"13-1=12",
"42+38=80",
"80-12=68"
] | Current State: 68:[1, 13, 42, 38], Operations: []
Exploring Operation: 13-1=12, Resulting Numbers: [42, 38, 12]
Generated Node #2: [42, 38, 12] from Operation: 13-1=12
Current State: 68:[42, 38, 12], Operations: ['13-1=12']
Exploring Operation: 42+38=80, Resulting Numbers: [12, 80]
Generated Node #3: [12, 80] from Operation: 42+38=80
Current State: 68:[12, 80], Operations: ['13-1=12', '42+38=80']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[1, 13, 42, 38], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [1, 13, 4]
Generated Node #0,0: 68:[1, 13, 4] Operation: 42-38=4
Exploring Operation: 1+13=14, Resulting Numbers: [42, 38, 14]
Generated Node #0,1: 68:[42, 38, 14] Operation: 1+13=14
Exploring Operation: 42-13=29, Resulting Numbers: [1, 38, 29]
Generated Node #0,2: 68:[1, 38, 29] Operation: 42-13=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[1, 13, 4], Operations: ['42-38=4']
Exploring Operation: 1*13=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 68:[4, 13] Operation: 1*13=13
Exploring Operation: 1+13=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 68:[4, 14] Operation: 1+13=14
Exploring Operation: 13+4=17, Resulting Numbers: [1, 17]
Generated Node #0,0,2: 68:[1, 17] Operation: 13+4=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[1, 17], Operations: ['42-38=4', '13+4=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[4, 14], Operations: ['42-38=4', '1+13=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[4, 13], Operations: ['42-38=4', '1*13=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[1, 38, 29], Operations: ['42-13=29']
Exploring Operation: 38-29=9, Resulting Numbers: [1, 9]
Generated Node #0,2,0: 68:[1, 9] Operation: 38-29=9
Exploring Operation: 38+29=67, Resulting Numbers: [1, 67]
Generated Node #0,2,1: 68:[1, 67] Operation: 38+29=67
Exploring Operation: 38-1=37, Resulting Numbers: [29, 37]
Generated Node #0,2,2: 68:[29, 37] Operation: 38-1=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[1, 67], Operations: ['42-13=29', '38+29=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[1, 13, 42, 38], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [1, 38, 29]
Generated Node #0,2: 68:[1, 38, 29] Operation: 42-13=29
Moving to Node #0,2
Current State: 68:[1, 38, 29], Operations: ['42-13=29']
Exploring Operation: 38+29=67, Resulting Numbers: [1, 67]
Generated Node #0,2,1: 68:[1, 67] Operation: 38+29=67
Moving to Node #0,2,1
Current State: 68:[1, 67], Operations: ['42-13=29', '38+29=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
73,
21,
91,
95
] | 56 | [
"73-21=52",
"95-91=4",
"52+4=56"
] | Current State: 56:[73, 21, 91, 95], Operations: []
Exploring Operation: 73-21=52, Resulting Numbers: [91, 95, 52]
Generated Node #2: [91, 95, 52] from Operation: 73-21=52
Current State: 56:[91, 95, 52], Operations: ['73-21=52']
Exploring Operation: 95-91=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 95-91=4
Current State: 56:[52, 4], Operations: ['73-21=52', '95-91=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[73, 21, 91, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [73, 21, 4]
Generated Node #0,0: 56:[73, 21, 4] Operation: 95-91=4
Exploring Operation: 91-21=70, Resulting Numbers: [73, 95, 70]
Generated Node #0,1: 56:[73, 95, 70] Operation: 91-21=70
Exploring Operation: 91-73=18, Resulting Numbers: [21, 95, 18]
Generated Node #0,2: 56:[21, 95, 18] Operation: 91-73=18
Exploring Operation: 95-21=74, Resulting Numbers: [73, 91, 74]
Generated Node #0,3: 56:[73, 91, 74] Operation: 95-21=74
Exploring Operation: 95-73=22, Resulting Numbers: [21, 91, 22]
Generated Node #0,4: 56:[21, 91, 22] Operation: 95-73=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[73, 21, 4], Operations: ['95-91=4']
Exploring Operation: 73-21=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 56:[4, 52] Operation: 73-21=52
Exploring Operation: 73-4=69, Resulting Numbers: [21, 69]
Generated Node #0,0,1: 56:[21, 69] Operation: 73-4=69
Exploring Operation: 21+4=25, Resulting Numbers: [73, 25]
Generated Node #0,0,2: 56:[73, 25] Operation: 21+4=25
Exploring Operation: 21-4=17, Resulting Numbers: [73, 17]
Generated Node #0,0,3: 56:[73, 17] Operation: 21-4=17
Exploring Operation: 73+4=77, Resulting Numbers: [21, 77]
Generated Node #0,0,4: 56:[21, 77] Operation: 73+4=77
Moving to Node #0,0,0
Current State: 56:[4, 52], Operations: ['95-91=4', '73-21=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[73, 21, 91, 95], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [73, 21, 4]
Generated Node #0,0: 56:[73, 21, 4] Operation: 95-91=4
Moving to Node #0,0
Current State: 56:[73, 21, 4], Operations: ['95-91=4']
Exploring Operation: 73-21=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 56:[4, 52] Operation: 73-21=52
Moving to Node #0,0,0
Current State: 56:[4, 52], Operations: ['95-91=4', '73-21=52']
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
25,
84,
33,
6
] | 70 | [
"25+84=109",
"33+6=39",
"109-39=70"
] | Current State: 70:[25, 84, 33, 6], Operations: []
Exploring Operation: 25+84=109, Resulting Numbers: [33, 6, 109]
Generated Node #2: [33, 6, 109] from Operation: 25+84=109
Current State: 70:[33, 6, 109], Operations: ['25+84=109']
Exploring Operation: 33+6=39, Resulting Numbers: [109, 39]
Generated Node #3: [109, 39] from Operation: 33+6=39
Current State: 70:[109, 39], Operations: ['25+84=109', '33+6=39']
Exploring Operation: 109-39=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[25, 84, 33, 6], Operations: []
Exploring Operation: 84-25=59, Resulting Numbers: [33, 6, 59]
Generated Node #0,0: 70:[33, 6, 59] Operation: 84-25=59
Exploring Operation: 84-6=78, Resulting Numbers: [25, 33, 78]
Generated Node #0,1: 70:[25, 33, 78] Operation: 84-6=78
Exploring Operation: 84/6=14, Resulting Numbers: [25, 33, 14]
Generated Node #0,2: 70:[25, 33, 14] Operation: 84/6=14
Exploring Operation: 25+6=31, Resulting Numbers: [84, 33, 31]
Generated Node #0,3: 70:[84, 33, 31] Operation: 25+6=31
Exploring Operation: 33-25=8, Resulting Numbers: [84, 6, 8]
Generated Node #0,4: 70:[84, 6, 8] Operation: 33-25=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[25, 33, 14], Operations: ['84/6=14']
Exploring Operation: 33-14=19, Resulting Numbers: [25, 19]
Generated Node #0,2,0: 70:[25, 19] Operation: 33-14=19
Exploring Operation: 33-25=8, Resulting Numbers: [14, 8]
Generated Node #0,2,1: 70:[14, 8] Operation: 33-25=8
Exploring Operation: 25+14=39, Resulting Numbers: [33, 39]
Generated Node #0,2,2: 70:[33, 39] Operation: 25+14=39
Exploring Operation: 25-14=11, Resulting Numbers: [33, 11]
Generated Node #0,2,3: 70:[33, 11] Operation: 25-14=11
Exploring Operation: 25+33=58, Resulting Numbers: [14, 58]
Generated Node #0,2,4: 70:[14, 58] Operation: 25+33=58
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[14, 8], Operations: ['84/6=14', '33-25=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,70 unequal: No Solution
No 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: 70:[33, 11], Operations: ['84/6=14', '25-14=11']
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,70 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No 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: 70:[33, 39], Operations: ['84/6=14', '25+14=39']
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,70 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No 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: 70:[14, 58], Operations: ['84/6=14', '25+33=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,70 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No 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: 70:[25, 19], Operations: ['84/6=14', '33-14=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[33, 6, 59], Operations: ['84-25=59']
Exploring Operation: 33-6=27, Resulting Numbers: [59, 27]
Generated Node #0,0,0: 70:[59, 27] Operation: 33-6=27
Exploring Operation: 6+59=65, Resulting Numbers: [33, 65]
Generated Node #0,0,1: 70:[33, 65] Operation: 6+59=65
Exploring Operation: 59-6=53, Resulting Numbers: [33, 53]
Generated Node #0,0,2: 70:[33, 53] Operation: 59-6=53
Exploring Operation: 33+6=39, Resulting Numbers: [59, 39]
Generated Node #0,0,3: 70:[59, 39] Operation: 33+6=39
Exploring Operation: 59-33=26, Resulting Numbers: [6, 26]
Generated Node #0,0,4: 70:[6, 26] Operation: 59-33=26
Moving to Node #0,0,1
Current State: 70:[33, 65], Operations: ['84-25=59', '6+59=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,70 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[6, 26], Operations: ['84-25=59', '59-33=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[59, 39], Operations: ['84-25=59', '33+6=39']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,70 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[59, 27], Operations: ['84-25=59', '33-6=27']
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,70 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[33, 53], Operations: ['84-25=59', '59-6=53']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 33+53=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 33*53=1749, Resulting Numbers: [1749]
1749,70 unequal: No Solution
No 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: 70:[84, 6, 8], Operations: ['33-25=8']
Exploring Operation: 8-6=2, Resulting Numbers: [84, 2]
Generated Node #0,4,0: 70:[84, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [84, 14]
Generated Node #0,4,1: 70:[84, 14] Operation: 6+8=14
Exploring Operation: 84-8=76, Resulting Numbers: [6, 76]
Generated Node #0,4,2: 70:[6, 76] Operation: 84-8=76
Exploring Operation: 84/6=14, Resulting Numbers: [8, 14]
Generated Node #0,4,3: 70:[8, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [8, 78]
Generated Node #0,4,4: 70:[8, 78] Operation: 84-6=78
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[8, 14], Operations: ['33-25=8', '84/6=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,70 unequal: No Solution
No 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: 70:[6, 76], Operations: ['33-25=8', '84-8=76']
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,70 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[25, 84, 33, 6], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [84, 6, 8]
Generated Node #0,4: 70:[84, 6, 8] Operation: 33-25=8
Moving to Node #0,4
Current State: 70:[84, 6, 8], Operations: ['33-25=8']
Exploring Operation: 84-8=76, Resulting Numbers: [6, 76]
Generated Node #0,4,2: 70:[6, 76] Operation: 84-8=76
Moving to Node #0,4,2
Current State: 70:[6, 76], Operations: ['33-25=8', '84-8=76']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | mult_heuristic |
[
40,
15,
76,
49
] | 72 | [
"76-49=27",
"40*27=1080",
"1080/15=72"
] | Current State: 72:[40, 15, 76, 49], Operations: []
Exploring Operation: 76-49=27, Resulting Numbers: [40, 15, 27]
Generated Node #2: [40, 15, 27] from Operation: 76-49=27
Current State: 72:[40, 15, 27], Operations: ['76-49=27']
Exploring Operation: 40*27=1080, Resulting Numbers: [15, 1080]
Generated Node #3: [15, 1080] from Operation: 40*27=1080
Current State: 72:[15, 1080], Operations: ['76-49=27', '40*27=1080']
Exploring Operation: 1080/15=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[40, 15, 76, 49], Operations: []
Exploring Operation: 49-40=9, Resulting Numbers: [15, 76, 9]
Generated Node #0,0: 72:[15, 76, 9] Operation: 49-40=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[15, 76, 9], Operations: ['49-40=9']
Exploring Operation: 15+9=24, Resulting Numbers: [76, 24]
Generated Node #0,0,0: 72:[76, 24] Operation: 15+9=24
Moving to Node #0,0,0
Current State: 72:[76, 24], Operations: ['49-40=9', '15+9=24']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,72 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 |
[
7,
41,
47,
49
] | 91 | [
"47-41=6",
"7*6=42",
"49+42=91"
] | Current State: 91:[7, 41, 47, 49], Operations: []
Exploring Operation: 47-41=6, Resulting Numbers: [7, 49, 6]
Generated Node #2: [7, 49, 6] from Operation: 47-41=6
Current State: 91:[7, 49, 6], Operations: ['47-41=6']
Exploring Operation: 7*6=42, Resulting Numbers: [49, 42]
Generated Node #3: [49, 42] from Operation: 7*6=42
Current State: 91:[49, 42], Operations: ['47-41=6', '7*6=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[7, 41, 47, 49], Operations: []
Exploring Operation: 47+49=96, Resulting Numbers: [7, 41, 96]
Generated Node #0,0: 91:[7, 41, 96] Operation: 47+49=96
Exploring Operation: 49-47=2, Resulting Numbers: [7, 41, 2]
Generated Node #0,1: 91:[7, 41, 2] Operation: 49-47=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[7, 41, 96], Operations: ['47+49=96']
Exploring Operation: 96-7=89, Resulting Numbers: [41, 89]
Generated Node #0,0,0: 91:[41, 89] Operation: 96-7=89
Exploring Operation: 41-7=34, Resulting Numbers: [96, 34]
Generated Node #0,0,1: 91:[96, 34] Operation: 41-7=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[96, 34], Operations: ['47+49=96', '41-7=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,91 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,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:[41, 89], Operations: ['47+49=96', '96-7=89']
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,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:[7, 41, 2], Operations: ['49-47=2']
Exploring Operation: 41*2=82, Resulting Numbers: [7, 82]
Generated Node #0,1,0: 91:[7, 82] Operation: 41*2=82
Exploring Operation: 41-7=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 91:[2, 34] Operation: 41-7=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[7, 82], Operations: ['49-47=2', '41*2=82']
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[2, 34], Operations: ['49-47=2', '41-7=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
81,
84,
89
] | 95 | [
"19+81=100",
"89-84=5",
"100-5=95"
] | Current State: 95:[19, 81, 84, 89], Operations: []
Exploring Operation: 19+81=100, Resulting Numbers: [84, 89, 100]
Generated Node #2: [84, 89, 100] from Operation: 19+81=100
Current State: 95:[84, 89, 100], Operations: ['19+81=100']
Exploring Operation: 89-84=5, Resulting Numbers: [100, 5]
Generated Node #3: [100, 5] from Operation: 89-84=5
Current State: 95:[100, 5], Operations: ['19+81=100', '89-84=5']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[19, 81, 84, 89], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [19, 84, 8]
Generated Node #0,0: 95:[19, 84, 8] Operation: 89-81=8
Exploring Operation: 84-81=3, Resulting Numbers: [19, 89, 3]
Generated Node #0,1: 95:[19, 89, 3] Operation: 84-81=3
Exploring Operation: 89-84=5, Resulting Numbers: [19, 81, 5]
Generated Node #0,2: 95:[19, 81, 5] Operation: 89-84=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[19, 89, 3], Operations: ['84-81=3']
Exploring Operation: 89+3=92, Resulting Numbers: [19, 92]
Generated Node #0,1,0: 95:[19, 92] Operation: 89+3=92
Exploring Operation: 19+3=22, Resulting Numbers: [89, 22]
Generated Node #0,1,1: 95:[89, 22] Operation: 19+3=22
Exploring Operation: 19-3=16, Resulting Numbers: [89, 16]
Generated Node #0,1,2: 95:[89, 16] Operation: 19-3=16
Moving to Node #0,1,0
Current State: 95:[19, 92], Operations: ['84-81=3', '89+3=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,95 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[89, 22], Operations: ['84-81=3', '19+3=22']
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,95 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[89, 16], Operations: ['84-81=3', '19-3=16']
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,95 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,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:[19, 84, 8], Operations: ['89-81=8']
Exploring Operation: 19-8=11, Resulting Numbers: [84, 11]
Generated Node #0,0,0: 95:[84, 11] Operation: 19-8=11
Exploring Operation: 19+84=103, Resulting Numbers: [8, 103]
Generated Node #0,0,1: 95:[8, 103] Operation: 19+84=103
Exploring Operation: 84+8=92, Resulting Numbers: [19, 92]
Generated Node #0,0,2: 95:[19, 92] Operation: 84+8=92
Moving to Node #0,0,2
Current State: 95:[19, 92], Operations: ['89-81=8', '84+8=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,95 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[8, 103], Operations: ['89-81=8', '19+84=103']
Exploring Operation: 8*103=824, Resulting Numbers: [824]
824,95 unequal: No Solution
Exploring Operation: 8+103=111, Resulting Numbers: [111]
111,95 unequal: No Solution
Exploring Operation: 103-8=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[19, 81, 84, 89], Operations: []
Exploring Operation: 89-81=8, Resulting Numbers: [19, 84, 8]
Generated Node #0,0: 95:[19, 84, 8] Operation: 89-81=8
Moving to Node #0,0
Current State: 95:[19, 84, 8], Operations: ['89-81=8']
Exploring Operation: 19+84=103, Resulting Numbers: [8, 103]
Generated Node #0,0,1: 95:[8, 103] Operation: 19+84=103
Moving to Node #0,0,1
Current State: 95:[8, 103], Operations: ['89-81=8', '19+84=103']
Exploring Operation: 103-8=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
91,
52,
56,
50
] | 82 | [
"52*56=2912",
"2912/91=32",
"50+32=82"
] | Current State: 82:[91, 52, 56, 50], Operations: []
Exploring Operation: 52*56=2912, Resulting Numbers: [91, 50, 2912]
Generated Node #2: [91, 50, 2912] from Operation: 52*56=2912
Current State: 82:[91, 50, 2912], Operations: ['52*56=2912']
Exploring Operation: 2912/91=32, Resulting Numbers: [50, 32]
Generated Node #3: [50, 32] from Operation: 2912/91=32
Current State: 82:[50, 32], Operations: ['52*56=2912', '2912/91=32']
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[91, 52, 56, 50], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [91, 56, 2]
Generated Node #0,0: 82:[91, 56, 2] Operation: 52-50=2
Exploring Operation: 56-50=6, Resulting Numbers: [91, 52, 6]
Generated Node #0,1: 82:[91, 52, 6] Operation: 56-50=6
Exploring Operation: 56-52=4, Resulting Numbers: [91, 50, 4]
Generated Node #0,2: 82:[91, 50, 4] Operation: 56-52=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[91, 50, 4], Operations: ['56-52=4']
Exploring Operation: 50-4=46, Resulting Numbers: [91, 46]
Generated Node #0,2,0: 82:[91, 46] Operation: 50-4=46
Exploring Operation: 91-4=87, Resulting Numbers: [50, 87]
Generated Node #0,2,1: 82:[50, 87] Operation: 91-4=87
Exploring Operation: 91-50=41, Resulting Numbers: [4, 41]
Generated Node #0,2,2: 82:[4, 41] Operation: 91-50=41
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[4, 41], Operations: ['56-52=4', '91-50=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,82 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[91, 46], Operations: ['56-52=4', '50-4=46']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,82 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[50, 87], Operations: ['56-52=4', '91-4=87']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 50*87=4350, Resulting Numbers: [4350]
4350,82 unequal: No Solution
Exploring Operation: 50+87=137, Resulting Numbers: [137]
137,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[91, 56, 2], Operations: ['52-50=2']
Exploring Operation: 56-2=54, Resulting Numbers: [91, 54]
Generated Node #0,0,0: 82:[91, 54] Operation: 56-2=54
Exploring Operation: 91-56=35, Resulting Numbers: [2, 35]
Generated Node #0,0,1: 82:[2, 35] Operation: 91-56=35
Exploring Operation: 91-2=89, Resulting Numbers: [56, 89]
Generated Node #0,0,2: 82:[56, 89] Operation: 91-2=89
Moving to Node #0,0,1
Current State: 82:[2, 35], Operations: ['52-50=2', '91-56=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,82 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[91, 54], Operations: ['52-50=2', '56-2=54']
Exploring Operation: 91*54=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 91+54=145, Resulting Numbers: [145]
145,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[56, 89], Operations: ['52-50=2', '91-2=89']
Exploring Operation: 56+89=145, Resulting Numbers: [145]
145,82 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 56*89=4984, Resulting Numbers: [4984]
4984,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[91, 52, 6], Operations: ['56-50=6']
Exploring Operation: 91-6=85, Resulting Numbers: [52, 85]
Generated Node #0,1,0: 82:[52, 85] Operation: 91-6=85
Exploring Operation: 91-52=39, Resulting Numbers: [6, 39]
Generated Node #0,1,1: 82:[6, 39] Operation: 91-52=39
Exploring Operation: 52-6=46, Resulting Numbers: [91, 46]
Generated Node #0,1,2: 82:[91, 46] Operation: 52-6=46
Moving to Node #0,1,1
Current State: 82:[6, 39], Operations: ['56-50=6', '91-52=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,82 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[52, 85], Operations: ['56-50=6', '91-6=85']
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[91, 46], Operations: ['56-50=6', '52-6=46']
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,82 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,82 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
28,
40,
2
] | 27 | [
"40/40=1",
"28-2=26",
"1+26=27"
] | Current State: 27:[40, 28, 40, 2], Operations: []
Exploring Operation: 40/40=1, Resulting Numbers: [28, 2, 1]
Generated Node #2: [28, 2, 1] from Operation: 40/40=1
Current State: 27:[28, 2, 1], Operations: ['40/40=1']
Exploring Operation: 28-2=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 28-2=26
Current State: 27:[1, 26], Operations: ['40/40=1', '28-2=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[40, 28, 40, 2], Operations: []
Exploring Operation: 40-40=0, Resulting Numbers: [28, 2, 0]
Generated Node #0,0: 27:[28, 2, 0] Operation: 40-40=0
Exploring Operation: 40-28=12, Resulting Numbers: [40, 2, 12]
Generated Node #0,1: 27:[40, 2, 12] Operation: 40-28=12
Exploring Operation: 40/40=1, Resulting Numbers: [28, 2, 1]
Generated Node #0,2: 27:[28, 2, 1] Operation: 40/40=1
Moving to Node #0,2
Current State: 27:[28, 2, 1], Operations: ['40/40=1']
Exploring Operation: 28*1=28, Resulting Numbers: [2, 28]
Generated Node #0,2,0: 27:[2, 28] Operation: 28*1=28
Exploring Operation: 2+1=3, Resulting Numbers: [28, 3]
Generated Node #0,2,1: 27:[28, 3] Operation: 2+1=3
Exploring Operation: 28-1=27, Resulting Numbers: [2, 27]
Generated Node #0,2,2: 27:[2, 27] Operation: 28-1=27
Moving to Node #0,0
Current State: 27:[28, 2, 0], Operations: ['40-40=0']
Exploring Operation: 28-0=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 27:[2, 28] Operation: 28-0=28
Exploring Operation: 28+0=28, Resulting Numbers: [2, 28]
Generated Node #0,0,1: 27:[2, 28] Operation: 28+0=28
Exploring Operation: 2+0=2, Resulting Numbers: [28, 2]
Generated Node #0,0,2: 27:[28, 2] Operation: 2+0=2
Moving to Node #0,1
Current State: 27:[40, 2, 12], Operations: ['40-28=12']
Exploring Operation: 40/2=20, Resulting Numbers: [12, 20]
Generated Node #0,1,0: 27:[12, 20] Operation: 40/2=20
Exploring Operation: 40-12=28, Resulting Numbers: [2, 28]
Generated Node #0,1,1: 27:[2, 28] Operation: 40-12=28
Exploring Operation: 40-2=38, Resulting Numbers: [12, 38]
Generated Node #0,1,2: 27:[12, 38] Operation: 40-2=38
Moving to Node #0,2,1
Current State: 27:[28, 3], Operations: ['40/40=1', '2+1=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[2, 27], Operations: ['40/40=1', '28-1=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[2, 28], Operations: ['40/40=1', '28*1=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[2, 28], Operations: ['40-28=12', '40-12=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[28, 2], Operations: ['40-40=0', '2+0=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[2, 28], Operations: ['40-40=0', '28+0=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[2, 28], Operations: ['40-40=0', '28-0=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[12, 20], Operations: ['40-28=12', '40/2=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[12, 38], Operations: ['40-28=12', '40-2=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,27 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,27 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
79,
34,
37
] | 32 | [
"17+79=96",
"37-34=3",
"96/3=32"
] | Current State: 32:[17, 79, 34, 37], Operations: []
Exploring Operation: 17+79=96, Resulting Numbers: [34, 37, 96]
Generated Node #2: [34, 37, 96] from Operation: 17+79=96
Current State: 32:[34, 37, 96], Operations: ['17+79=96']
Exploring Operation: 37-34=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 37-34=3
Current State: 32:[96, 3], Operations: ['17+79=96', '37-34=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[17, 79, 34, 37], Operations: []
Exploring Operation: 79-37=42, Resulting Numbers: [17, 34, 42]
Generated Node #0,0: 32:[17, 34, 42] Operation: 79-37=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[17, 34, 42], Operations: ['79-37=42']
Exploring Operation: 42-34=8, Resulting Numbers: [17, 8]
Generated Node #0,0,0: 32:[17, 8] Operation: 42-34=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[17, 8], Operations: ['79-37=42', '42-34=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,32 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 |
[
25,
27,
17,
78
] | 93 | [
"27-25=2",
"17+78=95",
"95-2=93"
] | Current State: 93:[25, 27, 17, 78], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [17, 78, 2]
Generated Node #2: [17, 78, 2] from Operation: 27-25=2
Current State: 93:[17, 78, 2], Operations: ['27-25=2']
Exploring Operation: 17+78=95, Resulting Numbers: [2, 95]
Generated Node #3: [2, 95] from Operation: 17+78=95
Current State: 93:[2, 95], Operations: ['27-25=2', '17+78=95']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[25, 27, 17, 78], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [17, 78, 2]
Generated Node #0,0: 93:[17, 78, 2] Operation: 27-25=2
Exploring Operation: 25-17=8, Resulting Numbers: [27, 78, 8]
Generated Node #0,1: 93:[27, 78, 8] Operation: 25-17=8
Exploring Operation: 17+78=95, Resulting Numbers: [25, 27, 95]
Generated Node #0,2: 93:[25, 27, 95] Operation: 17+78=95
Exploring Operation: 27-17=10, Resulting Numbers: [25, 78, 10]
Generated Node #0,3: 93:[25, 78, 10] Operation: 27-17=10
Exploring Operation: 25+78=103, Resulting Numbers: [27, 17, 103]
Generated Node #0,4: 93:[27, 17, 103] Operation: 25+78=103
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[25, 27, 95], Operations: ['17+78=95']
Exploring Operation: 95-27=68, Resulting Numbers: [25, 68]
Generated Node #0,2,0: 93:[25, 68] Operation: 95-27=68
Exploring Operation: 25+95=120, Resulting Numbers: [27, 120]
Generated Node #0,2,1: 93:[27, 120] Operation: 25+95=120
Exploring Operation: 27-25=2, Resulting Numbers: [95, 2]
Generated Node #0,2,2: 93:[95, 2] Operation: 27-25=2
Exploring Operation: 25+27=52, Resulting Numbers: [95, 52]
Generated Node #0,2,3: 93:[95, 52] Operation: 25+27=52
Exploring Operation: 95-25=70, Resulting Numbers: [27, 70]
Generated Node #0,2,4: 93:[27, 70] Operation: 95-25=70
Moving to Node #0,2,2
Current State: 93:[95, 2], Operations: ['17+78=95', '27-25=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[25, 27, 17, 78], Operations: []
Exploring Operation: 17+78=95, Resulting Numbers: [25, 27, 95]
Generated Node #0,2: 93:[25, 27, 95] Operation: 17+78=95
Moving to Node #0,2
Current State: 93:[25, 27, 95], Operations: ['17+78=95']
Exploring Operation: 27-25=2, Resulting Numbers: [95, 2]
Generated Node #0,2,2: 93:[95, 2] Operation: 27-25=2
Moving to Node #0,2,2
Current State: 93:[95, 2], Operations: ['17+78=95', '27-25=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
4,
3,
12,
96
] | 72 | [
"4*3=12",
"96-12=84",
"84-12=72"
] | Current State: 72:[4, 3, 12, 96], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [12, 96, 12]
Generated Node #2: [12, 96, 12] from Operation: 4*3=12
Current State: 72:[12, 96, 12], Operations: ['4*3=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,72 equal: Goal Reached
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[4, 3, 12, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [3, 12, 24]
Generated Node #0,0: 72:[3, 12, 24] Operation: 96/4=24
Moving to Node #0,0
Current State: 72:[3, 12, 24], Operations: ['96/4=24']
Exploring Operation: 3*12=36, Resulting Numbers: [24, 36]
Generated Node #0,0,0: 72:[24, 36] Operation: 3*12=36
Moving to Node #0,0,0
Current State: 72:[24, 36], Operations: ['96/4=24', '3*12=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,72 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
27,
92,
30
] | 14 | [
"30-27=3",
"26*3=78",
"92-78=14"
] | Current State: 14:[26, 27, 92, 30], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [26, 92, 3]
Generated Node #2: [26, 92, 3] from Operation: 30-27=3
Current State: 14:[26, 92, 3], Operations: ['30-27=3']
Exploring Operation: 26*3=78, Resulting Numbers: [92, 78]
Generated Node #3: [92, 78] from Operation: 26*3=78
Current State: 14:[92, 78], Operations: ['30-27=3', '26*3=78']
Exploring Operation: 92-78=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 27, 92, 30], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [26, 27, 62]
Generated Node #0,0: 14:[26, 27, 62] Operation: 92-30=62
Exploring Operation: 92-27=65, Resulting Numbers: [26, 30, 65]
Generated Node #0,1: 14:[26, 30, 65] Operation: 92-27=65
Moving to Node #0,0
Current State: 14:[26, 27, 62], Operations: ['92-30=62']
Exploring Operation: 62-27=35, Resulting Numbers: [26, 35]
Generated Node #0,0,0: 14:[26, 35] Operation: 62-27=35
Exploring Operation: 62-26=36, Resulting Numbers: [27, 36]
Generated Node #0,0,1: 14:[27, 36] Operation: 62-26=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[26, 35], Operations: ['92-30=62', '62-27=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,14 unequal: No Solution
No 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: 14:[27, 36], Operations: ['92-30=62', '62-26=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,14 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: 14:[26, 30, 65], Operations: ['92-27=65']
Exploring Operation: 65-26=39, Resulting Numbers: [30, 39]
Generated Node #0,1,0: 14:[30, 39] Operation: 65-26=39
Exploring Operation: 65-30=35, Resulting Numbers: [26, 35]
Generated Node #0,1,1: 14:[26, 35] Operation: 65-30=35
Moving to Node #0,1,1
Current State: 14:[26, 35], Operations: ['92-27=65', '65-30=35']
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,14 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[30, 39], Operations: ['92-27=65', '65-26=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
85,
15,
93
] | 89 | [
"15-13=2",
"85+93=178",
"178/2=89"
] | Current State: 89:[13, 85, 15, 93], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [85, 93, 2]
Generated Node #2: [85, 93, 2] from Operation: 15-13=2
Current State: 89:[85, 93, 2], Operations: ['15-13=2']
Exploring Operation: 85+93=178, Resulting Numbers: [2, 178]
Generated Node #3: [2, 178] from Operation: 85+93=178
Current State: 89:[2, 178], Operations: ['15-13=2', '85+93=178']
Exploring Operation: 178/2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 85, 15, 93], Operations: []
Exploring Operation: 13+15=28, Resulting Numbers: [85, 93, 28]
Generated Node #0,0: 89:[85, 93, 28] Operation: 13+15=28
Exploring Operation: 13+85=98, Resulting Numbers: [15, 93, 98]
Generated Node #0,1: 89:[15, 93, 98] Operation: 13+85=98
Exploring Operation: 85+15=100, Resulting Numbers: [13, 93, 100]
Generated Node #0,2: 89:[13, 93, 100] Operation: 85+15=100
Exploring Operation: 93-13=80, Resulting Numbers: [85, 15, 80]
Generated Node #0,3: 89:[85, 15, 80] Operation: 93-13=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[85, 93, 28], Operations: ['13+15=28']
Exploring Operation: 93-28=65, Resulting Numbers: [85, 65]
Generated Node #0,0,0: 89:[85, 65] Operation: 93-28=65
Exploring Operation: 85+28=113, Resulting Numbers: [93, 113]
Generated Node #0,0,1: 89:[93, 113] Operation: 85+28=113
Exploring Operation: 85-28=57, Resulting Numbers: [93, 57]
Generated Node #0,0,2: 89:[93, 57] Operation: 85-28=57
Exploring Operation: 93+28=121, Resulting Numbers: [85, 121]
Generated Node #0,0,3: 89:[85, 121] Operation: 93+28=121
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[85, 65], Operations: ['13+15=28', '93-28=65']
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,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,0,1
Current State: 89:[93, 113], Operations: ['13+15=28', '85+28=113']
Exploring Operation: 93*113=10509, Resulting Numbers: [10509]
10509,89 unequal: No Solution
Exploring Operation: 113-93=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 93+113=206, Resulting Numbers: [206]
206,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,0,2
Current State: 89:[93, 57], Operations: ['13+15=28', '85-28=57']
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,89 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,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,0,3
Current State: 89:[85, 121], Operations: ['13+15=28', '93+28=121']
Exploring Operation: 85*121=10285, Resulting Numbers: [10285]
10285,89 unequal: No Solution
Exploring Operation: 121-85=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 85+121=206, Resulting Numbers: [206]
206,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[15, 93, 98], Operations: ['13+85=98']
Exploring Operation: 93-15=78, Resulting Numbers: [98, 78]
Generated Node #0,1,0: 89:[98, 78] Operation: 93-15=78
Exploring Operation: 15+98=113, Resulting Numbers: [93, 113]
Generated Node #0,1,1: 89:[93, 113] Operation: 15+98=113
Exploring Operation: 98-15=83, Resulting Numbers: [93, 83]
Generated Node #0,1,2: 89:[93, 83] Operation: 98-15=83
Exploring Operation: 15+93=108, Resulting Numbers: [98, 108]
Generated Node #0,1,3: 89:[98, 108] Operation: 15+93=108
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[93, 83], Operations: ['13+85=98', '98-15=83']
Exploring Operation: 93*83=7719, Resulting Numbers: [7719]
7719,89 unequal: No Solution
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 93+83=176, Resulting Numbers: [176]
176,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, 78], Operations: ['13+85=98', '93-15=78']
Exploring Operation: 98+78=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 98*78=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,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,1
Current State: 89:[93, 113], Operations: ['13+85=98', '15+98=113']
Exploring Operation: 93*113=10509, Resulting Numbers: [10509]
10509,89 unequal: No Solution
Exploring Operation: 113-93=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 93+113=206, Resulting Numbers: [206]
206,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,3
Current State: 89:[98, 108], Operations: ['13+85=98', '15+93=108']
Exploring Operation: 108-98=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 98*108=10584, Resulting Numbers: [10584]
10584,89 unequal: No Solution
Exploring Operation: 98+108=206, Resulting Numbers: [206]
206,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[85, 15, 80], Operations: ['93-13=80']
Exploring Operation: 15+80=95, Resulting Numbers: [85, 95]
Generated Node #0,3,0: 89:[85, 95] Operation: 15+80=95
Exploring Operation: 85+15=100, Resulting Numbers: [80, 100]
Generated Node #0,3,1: 89:[80, 100] Operation: 85+15=100
Exploring Operation: 80-15=65, Resulting Numbers: [85, 65]
Generated Node #0,3,2: 89:[85, 65] Operation: 80-15=65
Exploring Operation: 85-15=70, Resulting Numbers: [80, 70]
Generated Node #0,3,3: 89:[80, 70] Operation: 85-15=70
Moving to Node #0,3,0
Current State: 89:[85, 95], Operations: ['93-13=80', '15+80=95']
Exploring Operation: 95-85=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 85+95=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 85*95=8075, Resulting Numbers: [8075]
8075,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[80, 100], Operations: ['93-13=80', '85+15=100']
Exploring Operation: 100-80=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 80+100=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 80*100=8000, Resulting Numbers: [8000]
8000,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[80, 70], Operations: ['93-13=80', '85-15=70']
Exploring Operation: 80+70=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 80*70=5600, Resulting Numbers: [5600]
5600,89 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[85, 65], Operations: ['93-13=80', '80-15=65']
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,89 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[13, 93, 100], Operations: ['85+15=100']
Exploring Operation: 13+100=113, Resulting Numbers: [93, 113]
Generated Node #0,2,0: 89:[93, 113] Operation: 13+100=113
Exploring Operation: 13+93=106, Resulting Numbers: [100, 106]
Generated Node #0,2,1: 89:[100, 106] Operation: 13+93=106
Exploring Operation: 100-13=87, Resulting Numbers: [93, 87]
Generated Node #0,2,2: 89:[93, 87] Operation: 100-13=87
Exploring Operation: 93-13=80, Resulting Numbers: [100, 80]
Generated Node #0,2,3: 89:[100, 80] Operation: 93-13=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[93, 87], Operations: ['85+15=100', '100-13=87']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,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,2,3
Current State: 89:[100, 80], Operations: ['85+15=100', '93-13=80']
Exploring Operation: 100*80=8000, Resulting Numbers: [8000]
8000,89 unequal: No Solution
Exploring Operation: 100-80=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 100+80=180, Resulting Numbers: [180]
180,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,2,0
Current State: 89:[93, 113], Operations: ['85+15=100', '13+100=113']
Exploring Operation: 93*113=10509, Resulting Numbers: [10509]
10509,89 unequal: No Solution
Exploring Operation: 93+113=206, Resulting Numbers: [206]
206,89 unequal: No Solution
Exploring Operation: 113-93=20, Resulting Numbers: [20]
20,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,2,1
Current State: 89:[100, 106], Operations: ['85+15=100', '13+93=106']
Exploring Operation: 100+106=206, Resulting Numbers: [206]
206,89 unequal: No Solution
Exploring Operation: 106-100=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 100*106=10600, Resulting Numbers: [10600]
10600,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_4 | mult_heuristic |
[
20,
39,
6,
54
] | 50 | [
"20+39=59",
"54/6=9",
"59-9=50"
] | Current State: 50:[20, 39, 6, 54], Operations: []
Exploring Operation: 20+39=59, Resulting Numbers: [6, 54, 59]
Generated Node #2: [6, 54, 59] from Operation: 20+39=59
Current State: 50:[6, 54, 59], Operations: ['20+39=59']
Exploring Operation: 54/6=9, Resulting Numbers: [59, 9]
Generated Node #3: [59, 9] from Operation: 54/6=9
Current State: 50:[59, 9], Operations: ['20+39=59', '54/6=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[20, 39, 6, 54], Operations: []
Exploring Operation: 20+39=59, Resulting Numbers: [6, 54, 59]
Generated Node #0,0: 50:[6, 54, 59] Operation: 20+39=59
Exploring Operation: 20+6=26, Resulting Numbers: [39, 54, 26]
Generated Node #0,1: 50:[39, 54, 26] Operation: 20+6=26
Exploring Operation: 54-39=15, Resulting Numbers: [20, 6, 15]
Generated Node #0,2: 50:[20, 6, 15] Operation: 54-39=15
Exploring Operation: 39-20=19, Resulting Numbers: [6, 54, 19]
Generated Node #0,3: 50:[6, 54, 19] Operation: 39-20=19
Exploring Operation: 39+6=45, Resulting Numbers: [20, 54, 45]
Generated Node #0,4: 50:[20, 54, 45] Operation: 39+6=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[20, 6, 15], Operations: ['54-39=15']
Exploring Operation: 6+15=21, Resulting Numbers: [20, 21]
Generated Node #0,2,0: 50:[20, 21] Operation: 6+15=21
Exploring Operation: 15-6=9, Resulting Numbers: [20, 9]
Generated Node #0,2,1: 50:[20, 9] Operation: 15-6=9
Exploring Operation: 20-15=5, Resulting Numbers: [6, 5]
Generated Node #0,2,2: 50:[6, 5] Operation: 20-15=5
Exploring Operation: 20-6=14, Resulting Numbers: [15, 14]
Generated Node #0,2,3: 50:[15, 14] Operation: 20-6=14
Exploring Operation: 20+6=26, Resulting Numbers: [15, 26]
Generated Node #0,2,4: 50:[15, 26] Operation: 20+6=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[6, 5], Operations: ['54-39=15', '20-15=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[20, 9], Operations: ['54-39=15', '15-6=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,50 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 50:[15, 26], Operations: ['54-39=15', '20+6=26']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,50 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[20, 21], Operations: ['54-39=15', '6+15=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,50 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 50:[15, 14], Operations: ['54-39=15', '20-6=14']
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,50 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[6, 54, 19], Operations: ['39-20=19']
Exploring Operation: 6+19=25, Resulting Numbers: [54, 25]
Generated Node #0,3,0: 50:[54, 25] Operation: 6+19=25
Exploring Operation: 19-6=13, Resulting Numbers: [54, 13]
Generated Node #0,3,1: 50:[54, 13] Operation: 19-6=13
Exploring Operation: 54-19=35, Resulting Numbers: [6, 35]
Generated Node #0,3,2: 50:[6, 35] Operation: 54-19=35
Exploring Operation: 54-6=48, Resulting Numbers: [19, 48]
Generated Node #0,3,3: 50:[19, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [19, 9]
Generated Node #0,3,4: 50:[19, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[54, 25], Operations: ['39-20=19', '6+19=25']
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,50 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 50:[54, 13], Operations: ['39-20=19', '19-6=13']
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,50 unequal: No Solution
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 50:[19, 9], Operations: ['39-20=19', '54/6=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,50 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 50:[19, 48], Operations: ['39-20=19', '54-6=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 50:[6, 35], Operations: ['39-20=19', '54-19=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,50 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[6, 54, 59], Operations: ['20+39=59']
Exploring Operation: 59-54=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 50:[6, 5] Operation: 59-54=5
Exploring Operation: 54/6=9, Resulting Numbers: [59, 9]
Generated Node #0,0,1: 50:[59, 9] Operation: 54/6=9
Exploring Operation: 59-6=53, Resulting Numbers: [54, 53]
Generated Node #0,0,2: 50:[54, 53] Operation: 59-6=53
Exploring Operation: 54-6=48, Resulting Numbers: [59, 48]
Generated Node #0,0,3: 50:[59, 48] Operation: 54-6=48
Exploring Operation: 6+54=60, Resulting Numbers: [59, 60]
Generated Node #0,0,4: 50:[59, 60] Operation: 6+54=60
Moving to Node #0,0,0
Current State: 50:[6, 5], Operations: ['20+39=59', '59-54=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[54, 53], Operations: ['20+39=59', '59-6=53']
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,50 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[59, 9], Operations: ['20+39=59', '54/6=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,50 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,50 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[20, 39, 6, 54], Operations: []
Exploring Operation: 20+39=59, Resulting Numbers: [6, 54, 59]
Generated Node #0,0: 50:[6, 54, 59] Operation: 20+39=59
Moving to Node #0,0
Current State: 50:[6, 54, 59], Operations: ['20+39=59']
Exploring Operation: 54/6=9, Resulting Numbers: [59, 9]
Generated Node #0,0,1: 50:[59, 9] Operation: 54/6=9
Moving to Node #0,0,1
Current State: 50:[59, 9], Operations: ['20+39=59', '54/6=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | mult_heuristic |
[
5,
88,
14,
95
] | 93 | [
"5+14=19",
"95/19=5",
"88+5=93"
] | Current State: 93:[5, 88, 14, 95], Operations: []
Exploring Operation: 5+14=19, Resulting Numbers: [88, 95, 19]
Generated Node #2: [88, 95, 19] from Operation: 5+14=19
Current State: 93:[88, 95, 19], Operations: ['5+14=19']
Exploring Operation: 95/19=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 95/19=5
Current State: 93:[88, 5], Operations: ['5+14=19', '95/19=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[5, 88, 14, 95], Operations: []
Exploring Operation: 14-5=9, Resulting Numbers: [88, 95, 9]
Generated Node #0,0: 93:[88, 95, 9] Operation: 14-5=9
Exploring Operation: 5+88=93, Resulting Numbers: [14, 95, 93]
Generated Node #0,1: 93:[14, 95, 93] Operation: 5+88=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[88, 95, 9], Operations: ['14-5=9']
Exploring Operation: 88+9=97, Resulting Numbers: [95, 97]
Generated Node #0,0,0: 93:[95, 97] Operation: 88+9=97
Exploring Operation: 95-88=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 93:[9, 7] Operation: 95-88=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[95, 97], Operations: ['14-5=9', '88+9=97']
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 95+97=192, Resulting Numbers: [192]
192,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,1
Current State: 93:[9, 7], Operations: ['14-5=9', '95-88=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[14, 95, 93], Operations: ['5+88=93']
Exploring Operation: 95-93=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 93:[14, 2] Operation: 95-93=2
Exploring Operation: 95-14=81, Resulting Numbers: [93, 81]
Generated Node #0,1,1: 93:[93, 81] Operation: 95-14=81
Moving to Node #0,1,0
Current State: 93:[14, 2], Operations: ['5+88=93', '95-93=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[93, 81], Operations: ['5+88=93', '95-14=81']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
60,
68,
17
] | 12 | [
"60-12=48",
"68/17=4",
"48/4=12"
] | Current State: 12:[12, 60, 68, 17], Operations: []
Exploring Operation: 60-12=48, Resulting Numbers: [68, 17, 48]
Generated Node #2: [68, 17, 48] from Operation: 60-12=48
Current State: 12:[68, 17, 48], Operations: ['60-12=48']
Exploring Operation: 68/17=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 68/17=4
Current State: 12:[48, 4], Operations: ['60-12=48', '68/17=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[12, 60, 68, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [12, 60, 4]
Generated Node #0,0: 12:[12, 60, 4] Operation: 68/17=4
Exploring Operation: 60/12=5, Resulting Numbers: [68, 17, 5]
Generated Node #0,1: 12:[68, 17, 5] Operation: 60/12=5
Exploring Operation: 68-60=8, Resulting Numbers: [12, 17, 8]
Generated Node #0,2: 12:[12, 17, 8] Operation: 68-60=8
Exploring Operation: 60-17=43, Resulting Numbers: [12, 68, 43]
Generated Node #0,3: 12:[12, 68, 43] Operation: 60-17=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[12, 17, 8], Operations: ['68-60=8']
Exploring Operation: 17-12=5, Resulting Numbers: [8, 5]
Generated Node #0,2,0: 12:[8, 5] Operation: 17-12=5
Exploring Operation: 12+8=20, Resulting Numbers: [17, 20]
Generated Node #0,2,1: 12:[17, 20] Operation: 12+8=20
Exploring Operation: 12-8=4, Resulting Numbers: [17, 4]
Generated Node #0,2,2: 12:[17, 4] Operation: 12-8=4
Exploring Operation: 17-8=9, Resulting Numbers: [12, 9]
Generated Node #0,2,3: 12:[12, 9] Operation: 17-8=9
Moving to Node #0,2,0
Current State: 12:[8, 5], Operations: ['68-60=8', '17-12=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[12, 9], Operations: ['68-60=8', '17-8=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,12 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[17, 4], Operations: ['68-60=8', '12-8=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[17, 20], Operations: ['68-60=8', '12+8=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[12, 60, 4], Operations: ['68/17=4']
Exploring Operation: 60/12=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 12:[4, 5] Operation: 60/12=5
Exploring Operation: 60/4=15, Resulting Numbers: [12, 15]
Generated Node #0,0,1: 12:[12, 15] Operation: 60/4=15
Exploring Operation: 60-4=56, Resulting Numbers: [12, 56]
Generated Node #0,0,2: 12:[12, 56] Operation: 60-4=56
Exploring Operation: 60-12=48, Resulting Numbers: [4, 48]
Generated Node #0,0,3: 12:[4, 48] Operation: 60-12=48
Moving to Node #0,0,0
Current State: 12:[4, 5], Operations: ['68/17=4', '60/12=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[12, 15], Operations: ['68/17=4', '60/4=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[4, 48], Operations: ['68/17=4', '60-12=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[12, 60, 68, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [12, 60, 4]
Generated Node #0,0: 12:[12, 60, 4] Operation: 68/17=4
Moving to Node #0,0
Current State: 12:[12, 60, 4], Operations: ['68/17=4']
Exploring Operation: 60-12=48, Resulting Numbers: [4, 48]
Generated Node #0,0,3: 12:[4, 48] Operation: 60-12=48
Moving to Node #0,0,3
Current State: 12:[4, 48], Operations: ['68/17=4', '60-12=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
97,
67,
27,
15
] | 42 | [
"97-67=30",
"27-15=12",
"30+12=42"
] | Current State: 42:[97, 67, 27, 15], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [27, 15, 30]
Generated Node #2: [27, 15, 30] from Operation: 97-67=30
Current State: 42:[27, 15, 30], Operations: ['97-67=30']
Exploring Operation: 27-15=12, Resulting Numbers: [30, 12]
Generated Node #3: [30, 12] from Operation: 27-15=12
Current State: 42:[30, 12], Operations: ['97-67=30', '27-15=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[97, 67, 27, 15], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [27, 15, 30]
Generated Node #0,0: 42:[27, 15, 30] Operation: 97-67=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[27, 15, 30], Operations: ['97-67=30']
Exploring Operation: 30-27=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 42:[15, 3] Operation: 30-27=3
Moving to Node #0,0,0
Current State: 42:[15, 3], Operations: ['97-67=30', '30-27=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,42 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 |
[
94,
45,
51,
48
] | 24 | [
"94-45=49",
"51-49=2",
"48/2=24"
] | Current State: 24:[94, 45, 51, 48], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [51, 48, 49]
Generated Node #2: [51, 48, 49] from Operation: 94-45=49
Current State: 24:[51, 48, 49], Operations: ['94-45=49']
Exploring Operation: 51-49=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 51-49=2
Current State: 24:[48, 2], Operations: ['94-45=49', '51-49=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[94, 45, 51, 48], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [45, 48, 43]
Generated Node #0,0: 24:[45, 48, 43] Operation: 94-51=43
Exploring Operation: 94-48=46, Resulting Numbers: [45, 51, 46]
Generated Node #0,1: 24:[45, 51, 46] Operation: 94-48=46
Exploring Operation: 94-45=49, Resulting Numbers: [51, 48, 49]
Generated Node #0,2: 24:[51, 48, 49] Operation: 94-45=49
Exploring Operation: 51-48=3, Resulting Numbers: [94, 45, 3]
Generated Node #0,3: 24:[94, 45, 3] Operation: 51-48=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[45, 48, 43], Operations: ['94-51=43']
Exploring Operation: 48-45=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 24:[43, 3] Operation: 48-45=3
Exploring Operation: 45+48=93, Resulting Numbers: [43, 93]
Generated Node #0,0,1: 24:[43, 93] Operation: 45+48=93
Exploring Operation: 48-43=5, Resulting Numbers: [45, 5]
Generated Node #0,0,2: 24:[45, 5] Operation: 48-43=5
Exploring Operation: 45-43=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 24:[48, 2] Operation: 45-43=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[43, 3], Operations: ['94-51=43', '48-45=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[45, 5], Operations: ['94-51=43', '48-43=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[48, 2], Operations: ['94-51=43', '45-43=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,24 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[94, 45, 51, 48], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [45, 48, 43]
Generated Node #0,0: 24:[45, 48, 43] Operation: 94-51=43
Moving to Node #0,0
Current State: 24:[45, 48, 43], Operations: ['94-51=43']
Exploring Operation: 45-43=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 24:[48, 2] Operation: 45-43=2
Moving to Node #0,0,3
Current State: 24:[48, 2], Operations: ['94-51=43', '45-43=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
9,
63,
15,
4
] | 36 | [
"15-4=11",
"9*11=99",
"99-63=36"
] | Current State: 36:[9, 63, 15, 4], Operations: []
Exploring Operation: 15-4=11, Resulting Numbers: [9, 63, 11]
Generated Node #2: [9, 63, 11] from Operation: 15-4=11
Current State: 36:[9, 63, 11], Operations: ['15-4=11']
Exploring Operation: 9*11=99, Resulting Numbers: [63, 99]
Generated Node #3: [63, 99] from Operation: 9*11=99
Current State: 36:[63, 99], Operations: ['15-4=11', '9*11=99']
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 63, 15, 4], Operations: []
Exploring Operation: 63-15=48, Resulting Numbers: [9, 4, 48]
Generated Node #0,0: 36:[9, 4, 48] Operation: 63-15=48
Exploring Operation: 63/9=7, Resulting Numbers: [15, 4, 7]
Generated Node #0,1: 36:[15, 4, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [15, 4, 54]
Generated Node #0,2: 36:[15, 4, 54] Operation: 63-9=54
Moving to Node #0,1
Current State: 36:[15, 4, 7], Operations: ['63/9=7']
Exploring Operation: 15-7=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 36:[4, 8] Operation: 15-7=8
Exploring Operation: 15+4=19, Resulting Numbers: [7, 19]
Generated Node #0,1,1: 36:[7, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [7, 11]
Generated Node #0,1,2: 36:[7, 11] Operation: 15-4=11
Moving to Node #0,0
Current State: 36:[9, 4, 48], Operations: ['63-15=48']
Exploring Operation: 48-9=39, Resulting Numbers: [4, 39]
Generated Node #0,0,0: 36:[4, 39] Operation: 48-9=39
Exploring Operation: 48/4=12, Resulting Numbers: [9, 12]
Generated Node #0,0,1: 36:[9, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [9, 44]
Generated Node #0,0,2: 36:[9, 44] Operation: 48-4=44
Moving to Node #0,2
Current State: 36:[15, 4, 54], Operations: ['63-9=54']
Exploring Operation: 54-4=50, Resulting Numbers: [15, 50]
Generated Node #0,2,0: 36:[15, 50] Operation: 54-4=50
Exploring Operation: 15+4=19, Resulting Numbers: [54, 19]
Generated Node #0,2,1: 36:[54, 19] Operation: 15+4=19
Exploring Operation: 54-15=39, Resulting Numbers: [4, 39]
Generated Node #0,2,2: 36:[4, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[4, 39], Operations: ['63-9=54', '54-15=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,36 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[15, 50], Operations: ['63-9=54', '54-4=50']
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[54, 19], Operations: ['63-9=54', '15+4=19']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,36 unequal: No Solution
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 36:[9, 12], Operations: ['63-15=48', '48/4=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,36 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[4, 8], Operations: ['63/9=7', '15-7=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[7, 11], Operations: ['63/9=7', '15-4=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[7, 19], Operations: ['63/9=7', '15+4=19']
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[4, 39], Operations: ['63-15=48', '48-9=39']
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,36 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[9, 44], Operations: ['63-15=48', '48-4=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,36 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
77,
35,
2
] | 85 | [
"35-19=16",
"16/2=8",
"77+8=85"
] | Current State: 85:[19, 77, 35, 2], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [77, 2, 16]
Generated Node #2: [77, 2, 16] from Operation: 35-19=16
Current State: 85:[77, 2, 16], Operations: ['35-19=16']
Exploring Operation: 16/2=8, Resulting Numbers: [77, 8]
Generated Node #3: [77, 8] from Operation: 16/2=8
Current State: 85:[77, 8], Operations: ['35-19=16', '16/2=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 77, 35, 2], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [77, 2, 16]
Generated Node #0,0: 85:[77, 2, 16] Operation: 35-19=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[77, 2, 16], Operations: ['35-19=16']
Exploring Operation: 77+2=79, Resulting Numbers: [16, 79]
Generated Node #0,0,0: 85:[16, 79] Operation: 77+2=79
Moving to Node #0,0,0
Current State: 85:[16, 79], Operations: ['35-19=16', '77+2=79']
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,85 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 |
[
53,
2,
90,
17
] | 52 | [
"53+2=55",
"90+17=107",
"107-55=52"
] | Current State: 52:[53, 2, 90, 17], Operations: []
Exploring Operation: 53+2=55, Resulting Numbers: [90, 17, 55]
Generated Node #2: [90, 17, 55] from Operation: 53+2=55
Current State: 52:[90, 17, 55], Operations: ['53+2=55']
Exploring Operation: 90+17=107, Resulting Numbers: [55, 107]
Generated Node #3: [55, 107] from Operation: 90+17=107
Current State: 52:[55, 107], Operations: ['53+2=55', '90+17=107']
Exploring Operation: 107-55=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[53, 2, 90, 17], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [53, 17, 45]
Generated Node #0,0: 52:[53, 17, 45] Operation: 90/2=45
Exploring Operation: 90-53=37, Resulting Numbers: [2, 17, 37]
Generated Node #0,1: 52:[2, 17, 37] Operation: 90-53=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[53, 17, 45], Operations: ['90/2=45']
Exploring Operation: 53-45=8, Resulting Numbers: [17, 8]
Generated Node #0,0,0: 52:[17, 8] Operation: 53-45=8
Exploring Operation: 45-17=28, Resulting Numbers: [53, 28]
Generated Node #0,0,1: 52:[53, 28] Operation: 45-17=28
Moving to Node #0,0,1
Current State: 52:[53, 28], Operations: ['90/2=45', '45-17=28']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[17, 8], Operations: ['90/2=45', '53-45=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[2, 17, 37], Operations: ['90-53=37']
Exploring Operation: 37-17=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 52:[2, 20] Operation: 37-17=20
Exploring Operation: 17+37=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 52:[2, 54] Operation: 17+37=54
Moving to Node #0,1,1
Current State: 52:[2, 54], Operations: ['90-53=37', '17+37=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[53, 2, 90, 17], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [2, 17, 37]
Generated Node #0,1: 52:[2, 17, 37] Operation: 90-53=37
Moving to Node #0,1
Current State: 52:[2, 17, 37], Operations: ['90-53=37']
Exploring Operation: 17+37=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 52:[2, 54] Operation: 17+37=54
Moving to Node #0,1,1
Current State: 52:[2, 54], Operations: ['90-53=37', '17+37=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
2,
5,
74,
67
] | 70 | [
"2*5=10",
"74-67=7",
"10*7=70"
] | Current State: 70:[2, 5, 74, 67], Operations: []
Exploring Operation: 2*5=10, Resulting Numbers: [74, 67, 10]
Generated Node #2: [74, 67, 10] from Operation: 2*5=10
Current State: 70:[74, 67, 10], Operations: ['2*5=10']
Exploring Operation: 74-67=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 74-67=7
Current State: 70:[10, 7], Operations: ['2*5=10', '74-67=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[2, 5, 74, 67], Operations: []
Exploring Operation: 74-5=69, Resulting Numbers: [2, 67, 69]
Generated Node #0,0: 70:[2, 67, 69] Operation: 74-5=69
Exploring Operation: 74/2=37, Resulting Numbers: [5, 67, 37]
Generated Node #0,1: 70:[5, 67, 37] Operation: 74/2=37
Exploring Operation: 74-67=7, Resulting Numbers: [2, 5, 7]
Generated Node #0,2: 70:[2, 5, 7] Operation: 74-67=7
Exploring Operation: 74-2=72, Resulting Numbers: [5, 67, 72]
Generated Node #0,3: 70:[5, 67, 72] Operation: 74-2=72
Moving to Node #0,2
Current State: 70:[2, 5, 7], Operations: ['74-67=7']
Exploring Operation: 2*7=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 70:[5, 14] Operation: 2*7=14
Exploring Operation: 2+5=7, Resulting Numbers: [7, 7]
Generated Node #0,2,1: 70:[7, 7] Operation: 2+5=7
Exploring Operation: 7-2=5, Resulting Numbers: [5, 5]
Generated Node #0,2,2: 70:[5, 5] Operation: 7-2=5
Exploring Operation: 2*5=10, Resulting Numbers: [7, 10]
Generated Node #0,2,3: 70:[7, 10] Operation: 2*5=10
Moving to Node #0,0
Current State: 70:[2, 67, 69], Operations: ['74-5=69']
Exploring Operation: 67-2=65, Resulting Numbers: [69, 65]
Generated Node #0,0,0: 70:[69, 65] Operation: 67-2=65
Exploring Operation: 69-67=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 70:[2, 2] Operation: 69-67=2
Exploring Operation: 2+69=71, Resulting Numbers: [67, 71]
Generated Node #0,0,2: 70:[67, 71] Operation: 2+69=71
Exploring Operation: 2+67=69, Resulting Numbers: [69, 69]
Generated Node #0,0,3: 70:[69, 69] Operation: 2+67=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[2, 2], Operations: ['74-5=69', '69-67=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No 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: 70:[69, 69], Operations: ['74-5=69', '2+67=69']
Exploring Operation: 69*69=4761, Resulting Numbers: [4761]
4761,70 unequal: No Solution
Exploring Operation: 69+69=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 69/69=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 69-69=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No 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: 70:[67, 71], Operations: ['74-5=69', '2+69=71']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,70 unequal: No Solution
No 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: 70:[69, 65], Operations: ['74-5=69', '67-2=65']
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,70 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,70 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: 70:[5, 67, 72], Operations: ['74-2=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67, 67]
Generated Node #0,3,0: 70:[67, 67] Operation: 72-5=67
Exploring Operation: 5+67=72, Resulting Numbers: [72, 72]
Generated Node #0,3,1: 70:[72, 72] Operation: 5+67=72
Exploring Operation: 72-67=5, Resulting Numbers: [5, 5]
Generated Node #0,3,2: 70:[5, 5] Operation: 72-67=5
Exploring Operation: 67-5=62, Resulting Numbers: [72, 62]
Generated Node #0,3,3: 70:[72, 62] Operation: 67-5=62
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[5, 5], Operations: ['74-2=72', '72-67=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No 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: 70:[72, 72], Operations: ['74-2=72', '5+67=72']
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,70 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,70 unequal: No Solution
No 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: 70:[67, 67], Operations: ['74-2=72', '72-5=67']
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Exploring Operation: 67*67=4489, Resulting Numbers: [4489]
4489,70 unequal: No Solution
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No 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: 70:[72, 62], Operations: ['74-2=72', '67-5=62']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,70 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,70 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: 70:[5, 67, 37], Operations: ['74/2=37']
Exploring Operation: 5+67=72, Resulting Numbers: [37, 72]
Generated Node #0,1,0: 70:[37, 72] Operation: 5+67=72
Exploring Operation: 67-5=62, Resulting Numbers: [37, 62]
Generated Node #0,1,1: 70:[37, 62] Operation: 67-5=62
Exploring Operation: 67-37=30, Resulting Numbers: [5, 30]
Generated Node #0,1,2: 70:[5, 30] Operation: 67-37=30
Exploring Operation: 37-5=32, Resulting Numbers: [67, 32]
Generated Node #0,1,3: 70:[67, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[37, 72], Operations: ['74/2=37', '5+67=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,70 unequal: No Solution
No 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: 70:[5, 30], Operations: ['74/2=37', '67-37=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,70 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,70 unequal: No Solution
No 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: 70:[67, 32], Operations: ['74/2=37', '37-5=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 67*32=2144, Resulting Numbers: [2144]
2144,70 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,70 unequal: No Solution
No 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: 70:[37, 62], Operations: ['74/2=37', '67-5=62']
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,70 unequal: No Solution
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 70:[5, 14], Operations: ['74-67=7', '2*7=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[2, 5, 74, 67], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [2, 5, 7]
Generated Node #0,2: 70:[2, 5, 7] Operation: 74-67=7
Moving to Node #0,2
Current State: 70:[2, 5, 7], Operations: ['74-67=7']
Exploring Operation: 2*7=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 70:[5, 14] Operation: 2*7=14
Moving to Node #0,2,0
Current State: 70:[5, 14], Operations: ['74-67=7', '2*7=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.940972 | hs_4 | mult_heuristic |
[
7,
4,
10,
94
] | 48 | [
"94-10=84",
"84/7=12",
"4*12=48"
] | Current State: 48:[7, 4, 10, 94], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [7, 4, 84]
Generated Node #2: [7, 4, 84] from Operation: 94-10=84
Current State: 48:[7, 4, 84], Operations: ['94-10=84']
Exploring Operation: 84/7=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 84/7=12
Current State: 48:[4, 12], Operations: ['94-10=84', '84/7=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[7, 4, 10, 94], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [4, 94, 3]
Generated Node #0,0: 48:[4, 94, 3] Operation: 10-7=3
Exploring Operation: 94-7=87, Resulting Numbers: [4, 10, 87]
Generated Node #0,1: 48:[4, 10, 87] Operation: 94-7=87
Exploring Operation: 7+10=17, Resulting Numbers: [4, 94, 17]
Generated Node #0,2: 48:[4, 94, 17] Operation: 7+10=17
Exploring Operation: 94-4=90, Resulting Numbers: [7, 10, 90]
Generated Node #0,3: 48:[7, 10, 90] Operation: 94-4=90
Exploring Operation: 94-10=84, Resulting Numbers: [7, 4, 84]
Generated Node #0,4: 48:[7, 4, 84] Operation: 94-10=84
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[7, 4, 84], Operations: ['94-10=84']
Exploring Operation: 84/4=21, Resulting Numbers: [7, 21]
Generated Node #0,4,0: 48:[7, 21] Operation: 84/4=21
Exploring Operation: 84-7=77, Resulting Numbers: [4, 77]
Generated Node #0,4,1: 48:[4, 77] Operation: 84-7=77
Exploring Operation: 7-4=3, Resulting Numbers: [84, 3]
Generated Node #0,4,2: 48:[84, 3] Operation: 7-4=3
Exploring Operation: 84-4=80, Resulting Numbers: [7, 80]
Generated Node #0,4,3: 48:[7, 80] Operation: 84-4=80
Exploring Operation: 84/7=12, Resulting Numbers: [4, 12]
Generated Node #0,4,4: 48:[4, 12] Operation: 84/7=12
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 48:[4, 12], Operations: ['94-10=84', '84/7=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[7, 4, 10, 94], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [7, 4, 84]
Generated Node #0,4: 48:[7, 4, 84] Operation: 94-10=84
Moving to Node #0,4
Current State: 48:[7, 4, 84], Operations: ['94-10=84']
Exploring Operation: 84/7=12, Resulting Numbers: [4, 12]
Generated Node #0,4,4: 48:[4, 12] Operation: 84/7=12
Moving to Node #0,4,4
Current State: 48:[4, 12], Operations: ['94-10=84', '84/7=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
5,
12,
83,
71
] | 94 | [
"5*12=60",
"83+71=154",
"154-60=94"
] | Current State: 94:[5, 12, 83, 71], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [83, 71, 60]
Generated Node #2: [83, 71, 60] from Operation: 5*12=60
Current State: 94:[83, 71, 60], Operations: ['5*12=60']
Exploring Operation: 83+71=154, Resulting Numbers: [60, 154]
Generated Node #3: [60, 154] from Operation: 83+71=154
Current State: 94:[60, 154], Operations: ['5*12=60', '83+71=154']
Exploring Operation: 154-60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[5, 12, 83, 71], Operations: []
Exploring Operation: 12+71=83, Resulting Numbers: [5, 83, 83]
Generated Node #0,0: 94:[5, 83, 83] Operation: 12+71=83
Exploring Operation: 83-71=12, Resulting Numbers: [5, 12, 12]
Generated Node #0,1: 94:[5, 12, 12] Operation: 83-71=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[5, 12, 12], Operations: ['83-71=12']
Exploring Operation: 12/12=1, Resulting Numbers: [5, 1]
Generated Node #0,1,0: 94:[5, 1] Operation: 12/12=1
Exploring Operation: 12-12=0, Resulting Numbers: [5, 0]
Generated Node #0,1,1: 94:[5, 0] Operation: 12-12=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[5, 1], Operations: ['83-71=12', '12/12=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,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:[5, 0], Operations: ['83-71=12', '12-12=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[5, 83, 83], Operations: ['12+71=83']
Exploring Operation: 83/83=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 94:[5, 1] Operation: 83/83=1
Exploring Operation: 83-83=0, Resulting Numbers: [5, 0]
Generated Node #0,0,1: 94:[5, 0] Operation: 83-83=0
Moving to Node #0,0,0
Current State: 94:[5, 1], Operations: ['12+71=83', '83/83=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[5, 0], Operations: ['12+71=83', '83-83=0']
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,94 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 |
[
30,
93,
66,
71
] | 87 | [
"71-66=5",
"30/5=6",
"93-6=87"
] | Current State: 87:[30, 93, 66, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [30, 93, 5]
Generated Node #2: [30, 93, 5] from Operation: 71-66=5
Current State: 87:[30, 93, 5], Operations: ['71-66=5']
Exploring Operation: 30/5=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 30/5=6
Current State: 87:[93, 6], Operations: ['71-66=5', '30/5=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[30, 93, 66, 71], Operations: []
Exploring Operation: 66-30=36, Resulting Numbers: [93, 71, 36]
Generated Node #0,0: 87:[93, 71, 36] Operation: 66-30=36
Exploring Operation: 71-66=5, Resulting Numbers: [30, 93, 5]
Generated Node #0,1: 87:[30, 93, 5] Operation: 71-66=5
Exploring Operation: 93-66=27, Resulting Numbers: [30, 71, 27]
Generated Node #0,2: 87:[30, 71, 27] Operation: 93-66=27
Moving to Node #0,1
Current State: 87:[30, 93, 5], Operations: ['71-66=5']
Exploring Operation: 93-5=88, Resulting Numbers: [30, 88]
Generated Node #0,1,0: 87:[30, 88] Operation: 93-5=88
Exploring Operation: 30-5=25, Resulting Numbers: [93, 25]
Generated Node #0,1,1: 87:[93, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [93, 6]
Generated Node #0,1,2: 87:[93, 6] Operation: 30/5=6
Moving to Node #0,2
Current State: 87:[30, 71, 27], Operations: ['93-66=27']
Exploring Operation: 30+71=101, Resulting Numbers: [27, 101]
Generated Node #0,2,0: 87:[27, 101] Operation: 30+71=101
Exploring Operation: 71-30=41, Resulting Numbers: [27, 41]
Generated Node #0,2,1: 87:[27, 41] Operation: 71-30=41
Exploring Operation: 71+27=98, Resulting Numbers: [30, 98]
Generated Node #0,2,2: 87:[30, 98] Operation: 71+27=98
Moving to Node #0,0
Current State: 87:[93, 71, 36], Operations: ['66-30=36']
Exploring Operation: 93-71=22, Resulting Numbers: [36, 22]
Generated Node #0,0,0: 87:[36, 22] Operation: 93-71=22
Exploring Operation: 71+36=107, Resulting Numbers: [93, 107]
Generated Node #0,0,1: 87:[93, 107] Operation: 71+36=107
Exploring Operation: 71-36=35, Resulting Numbers: [93, 35]
Generated Node #0,0,2: 87:[93, 35] Operation: 71-36=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[93, 35], Operations: ['66-30=36', '71-36=35']
Exploring Operation: 93-35=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 93+35=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 93*35=3255, Resulting Numbers: [3255]
3255,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[36, 22], Operations: ['66-30=36', '93-71=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,87 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[93, 107], Operations: ['66-30=36', '71+36=107']
Exploring Operation: 93*107=9951, Resulting Numbers: [9951]
9951,87 unequal: No Solution
Exploring Operation: 107-93=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 93+107=200, Resulting Numbers: [200]
200,87 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: 87:[30, 88], Operations: ['71-66=5', '93-5=88']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 30+88=118, Resulting Numbers: [118]
118,87 unequal: No Solution
Exploring Operation: 30*88=2640, Resulting Numbers: [2640]
2640,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[93, 6], Operations: ['71-66=5', '30/5=6']
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,87 unequal: No Solution
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[30, 93, 66, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [30, 93, 5]
Generated Node #0,1: 87:[30, 93, 5] Operation: 71-66=5
Moving to Node #0,1
Current State: 87:[30, 93, 5], Operations: ['71-66=5']
Exploring Operation: 30/5=6, Resulting Numbers: [93, 6]
Generated Node #0,1,2: 87:[93, 6] Operation: 30/5=6
Moving to Node #0,1,2
Current State: 87:[93, 6], Operations: ['71-66=5', '30/5=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
55,
71,
3,
63
] | 79 | [
"71-63=8",
"3*8=24",
"55+24=79"
] | Current State: 79:[55, 71, 3, 63], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [55, 3, 8]
Generated Node #2: [55, 3, 8] from Operation: 71-63=8
Current State: 79:[55, 3, 8], Operations: ['71-63=8']
Exploring Operation: 3*8=24, Resulting Numbers: [55, 24]
Generated Node #3: [55, 24] from Operation: 3*8=24
Current State: 79:[55, 24], Operations: ['71-63=8', '3*8=24']
Exploring Operation: 55+24=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[55, 71, 3, 63], Operations: []
Exploring Operation: 3+63=66, Resulting Numbers: [55, 71, 66]
Generated Node #0,0: 79:[55, 71, 66] Operation: 3+63=66
Exploring Operation: 55+3=58, Resulting Numbers: [71, 63, 58]
Generated Node #0,1: 79:[71, 63, 58] Operation: 55+3=58
Exploring Operation: 71+3=74, Resulting Numbers: [55, 63, 74]
Generated Node #0,2: 79:[55, 63, 74] Operation: 71+3=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[55, 71, 66], Operations: ['3+63=66']
Exploring Operation: 55+71=126, Resulting Numbers: [66, 126]
Generated Node #0,0,0: 79:[66, 126] Operation: 55+71=126
Exploring Operation: 55+66=121, Resulting Numbers: [71, 121]
Generated Node #0,0,1: 79:[71, 121] Operation: 55+66=121
Exploring Operation: 71-55=16, Resulting Numbers: [66, 16]
Generated Node #0,0,2: 79:[66, 16] Operation: 71-55=16
Moving to Node #0,0,1
Current State: 79:[71, 121], Operations: ['3+63=66', '55+66=121']
Exploring Operation: 71*121=8591, Resulting Numbers: [8591]
8591,79 unequal: No Solution
Exploring Operation: 121-71=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 71+121=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[66, 126], Operations: ['3+63=66', '55+71=126']
Exploring Operation: 126-66=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 66+126=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 66*126=8316, Resulting Numbers: [8316]
8316,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[66, 16], Operations: ['3+63=66', '71-55=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[71, 63, 58], Operations: ['55+3=58']
Exploring Operation: 63+58=121, Resulting Numbers: [71, 121]
Generated Node #0,1,0: 79:[71, 121] Operation: 63+58=121
Exploring Operation: 71+58=129, Resulting Numbers: [63, 129]
Generated Node #0,1,1: 79:[63, 129] Operation: 71+58=129
Exploring Operation: 71+63=134, Resulting Numbers: [58, 134]
Generated Node #0,1,2: 79:[58, 134] Operation: 71+63=134
Moving to Node #0,1,0
Current State: 79:[71, 121], Operations: ['55+3=58', '63+58=121']
Exploring Operation: 71*121=8591, Resulting Numbers: [8591]
8591,79 unequal: No Solution
Exploring Operation: 71+121=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 121-71=50, Resulting Numbers: [50]
50,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[63, 129], Operations: ['55+3=58', '71+58=129']
Exploring Operation: 63+129=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 129-63=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 63*129=8127, Resulting Numbers: [8127]
8127,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[58, 134], Operations: ['55+3=58', '71+63=134']
Exploring Operation: 58+134=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 58*134=7772, Resulting Numbers: [7772]
7772,79 unequal: No Solution
Exploring Operation: 134-58=76, Resulting Numbers: [76]
76,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,2
Current State: 79:[55, 63, 74], Operations: ['71+3=74']
Exploring Operation: 63-55=8, Resulting Numbers: [74, 8]
Generated Node #0,2,0: 79:[74, 8] Operation: 63-55=8
Exploring Operation: 55+63=118, Resulting Numbers: [74, 118]
Generated Node #0,2,1: 79:[74, 118] Operation: 55+63=118
Exploring Operation: 55+74=129, Resulting Numbers: [63, 129]
Generated Node #0,2,2: 79:[63, 129] Operation: 55+74=129
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[74, 118], Operations: ['71+3=74', '55+63=118']
Exploring Operation: 118-74=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 74+118=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 74*118=8732, Resulting Numbers: [8732]
8732,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[63, 129], Operations: ['71+3=74', '55+74=129']
Exploring Operation: 129-63=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 63*129=8127, Resulting Numbers: [8127]
8127,79 unequal: No Solution
Exploring Operation: 63+129=192, Resulting Numbers: [192]
192,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[74, 8], Operations: ['71+3=74', '63-55=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
48,
96,
16
] | 44 | [
"48+96=144",
"144/16=9",
"53-9=44"
] | Current State: 44:[53, 48, 96, 16], Operations: []
Exploring Operation: 48+96=144, Resulting Numbers: [53, 16, 144]
Generated Node #2: [53, 16, 144] from Operation: 48+96=144
Current State: 44:[53, 16, 144], Operations: ['48+96=144']
Exploring Operation: 144/16=9, Resulting Numbers: [53, 9]
Generated Node #3: [53, 9] from Operation: 144/16=9
Current State: 44:[53, 9], Operations: ['48+96=144', '144/16=9']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[53, 48, 96, 16], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [48, 16, 43]
Generated Node #0,0: 44:[48, 16, 43] Operation: 96-53=43
Exploring Operation: 96/16=6, Resulting Numbers: [53, 48, 6]
Generated Node #0,1: 44:[53, 48, 6] Operation: 96/16=6
Exploring Operation: 96/48=2, Resulting Numbers: [53, 16, 2]
Generated Node #0,2: 44:[53, 16, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 44:[48, 16, 43], Operations: ['96-53=43']
Exploring Operation: 48/16=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 44:[43, 3] Operation: 48/16=3
Exploring Operation: 43-16=27, Resulting Numbers: [48, 27]
Generated Node #0,0,1: 44:[48, 27] Operation: 43-16=27
Exploring Operation: 48-43=5, Resulting Numbers: [16, 5]
Generated Node #0,0,2: 44:[16, 5] Operation: 48-43=5
Moving to Node #0,2
Current State: 44:[53, 16, 2], Operations: ['96/48=2']
Exploring Operation: 16-2=14, Resulting Numbers: [53, 14]
Generated Node #0,2,0: 44:[53, 14] Operation: 16-2=14
Exploring Operation: 53-16=37, Resulting Numbers: [2, 37]
Generated Node #0,2,1: 44:[2, 37] Operation: 53-16=37
Exploring Operation: 53-2=51, Resulting Numbers: [16, 51]
Generated Node #0,2,2: 44:[16, 51] Operation: 53-2=51
Moving to Node #0,1
Current State: 44:[53, 48, 6], Operations: ['96/16=6']
Exploring Operation: 53-48=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 44:[6, 5] Operation: 53-48=5
Exploring Operation: 53-6=47, Resulting Numbers: [48, 47]
Generated Node #0,1,1: 44:[48, 47] Operation: 53-6=47
Exploring Operation: 48-6=42, Resulting Numbers: [53, 42]
Generated Node #0,1,2: 44:[53, 42] Operation: 48-6=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[6, 5], Operations: ['96/16=6', '53-48=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[48, 47], Operations: ['96/16=6', '53-6=47']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[53, 42], Operations: ['96/16=6', '48-6=42']
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,44 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,44 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: 44:[43, 3], Operations: ['96-53=43', '48/16=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,44 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[16, 5], Operations: ['96-53=43', '48-43=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[2, 37], Operations: ['96/48=2', '53-16=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[48, 27], Operations: ['96-53=43', '43-16=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,44 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[16, 51], Operations: ['96/48=2', '53-2=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,44 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[53, 14], Operations: ['96/48=2', '16-2=14']
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,44 unequal: No Solution
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,44 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,44 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
27,
29,
93
] | 72 | [
"23+27=50",
"29+93=122",
"122-50=72"
] | Current State: 72:[23, 27, 29, 93], Operations: []
Exploring Operation: 23+27=50, Resulting Numbers: [29, 93, 50]
Generated Node #2: [29, 93, 50] from Operation: 23+27=50
Current State: 72:[29, 93, 50], Operations: ['23+27=50']
Exploring Operation: 29+93=122, Resulting Numbers: [50, 122]
Generated Node #3: [50, 122] from Operation: 29+93=122
Current State: 72:[50, 122], Operations: ['23+27=50', '29+93=122']
Exploring Operation: 122-50=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[23, 27, 29, 93], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [27, 29, 70]
Generated Node #0,0: 72:[27, 29, 70] Operation: 93-23=70
Exploring Operation: 93-29=64, Resulting Numbers: [23, 27, 64]
Generated Node #0,1: 72:[23, 27, 64] Operation: 93-29=64
Exploring Operation: 29-23=6, Resulting Numbers: [27, 93, 6]
Generated Node #0,2: 72:[27, 93, 6] Operation: 29-23=6
Exploring Operation: 29-27=2, Resulting Numbers: [23, 93, 2]
Generated Node #0,3: 72:[23, 93, 2] Operation: 29-27=2
Exploring Operation: 93-27=66, Resulting Numbers: [23, 29, 66]
Generated Node #0,4: 72:[23, 29, 66] Operation: 93-27=66
Moving to Node #0,0
Current State: 72:[27, 29, 70], Operations: ['93-23=70']
Exploring Operation: 70-27=43, Resulting Numbers: [29, 43]
Generated Node #0,0,0: 72:[29, 43] Operation: 70-27=43
Exploring Operation: 27+29=56, Resulting Numbers: [70, 56]
Generated Node #0,0,1: 72:[70, 56] Operation: 27+29=56
Exploring Operation: 29-27=2, Resulting Numbers: [70, 2]
Generated Node #0,0,2: 72:[70, 2] Operation: 29-27=2
Exploring Operation: 27+70=97, Resulting Numbers: [29, 97]
Generated Node #0,0,3: 72:[29, 97] Operation: 27+70=97
Exploring Operation: 70-29=41, Resulting Numbers: [27, 41]
Generated Node #0,0,4: 72:[27, 41] Operation: 70-29=41
Moving to Node #0,4
Current State: 72:[23, 29, 66], Operations: ['93-27=66']
Exploring Operation: 66-23=43, Resulting Numbers: [29, 43]
Generated Node #0,4,0: 72:[29, 43] Operation: 66-23=43
Exploring Operation: 23+29=52, Resulting Numbers: [66, 52]
Generated Node #0,4,1: 72:[66, 52] Operation: 23+29=52
Exploring Operation: 29-23=6, Resulting Numbers: [66, 6]
Generated Node #0,4,2: 72:[66, 6] Operation: 29-23=6
Exploring Operation: 66-29=37, Resulting Numbers: [23, 37]
Generated Node #0,4,3: 72:[23, 37] Operation: 66-29=37
Exploring Operation: 23+66=89, Resulting Numbers: [29, 89]
Generated Node #0,4,4: 72:[29, 89] Operation: 23+66=89
Moving to Node #0,1
Current State: 72:[23, 27, 64], Operations: ['93-29=64']
Exploring Operation: 23+64=87, Resulting Numbers: [27, 87]
Generated Node #0,1,0: 72:[27, 87] Operation: 23+64=87
Exploring Operation: 64-23=41, Resulting Numbers: [27, 41]
Generated Node #0,1,1: 72:[27, 41] Operation: 64-23=41
Exploring Operation: 27-23=4, Resulting Numbers: [64, 4]
Generated Node #0,1,2: 72:[64, 4] Operation: 27-23=4
Exploring Operation: 27+64=91, Resulting Numbers: [23, 91]
Generated Node #0,1,3: 72:[23, 91] Operation: 27+64=91
Exploring Operation: 64-27=37, Resulting Numbers: [23, 37]
Generated Node #0,1,4: 72:[23, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[23, 37], Operations: ['93-29=64', '64-27=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,72 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[27, 41], Operations: ['93-29=64', '64-23=41']
Exploring Operation: 27+41=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 27*41=1107, Resulting Numbers: [1107]
1107,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[64, 4], Operations: ['93-29=64', '27-23=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,72 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[27, 87], Operations: ['93-29=64', '23+64=87']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,72 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[23, 91], Operations: ['93-29=64', '27+64=91']
Exploring Operation: 23+91=114, Resulting Numbers: [114]
114,72 unequal: No Solution
Exploring Operation: 23*91=2093, Resulting Numbers: [2093]
2093,72 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,72 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: 72:[23, 93, 2], Operations: ['29-27=2']
Exploring Operation: 93+2=95, Resulting Numbers: [23, 95]
Generated Node #0,3,0: 72:[23, 95] Operation: 93+2=95
Exploring Operation: 23+2=25, Resulting Numbers: [93, 25]
Generated Node #0,3,1: 72:[93, 25] Operation: 23+2=25
Exploring Operation: 23-2=21, Resulting Numbers: [93, 21]
Generated Node #0,3,2: 72:[93, 21] Operation: 23-2=21
Exploring Operation: 93-23=70, Resulting Numbers: [2, 70]
Generated Node #0,3,3: 72:[2, 70] Operation: 93-23=70
Exploring Operation: 93-2=91, Resulting Numbers: [23, 91]
Generated Node #0,3,4: 72:[23, 91] Operation: 93-2=91
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 72:[2, 70], Operations: ['29-27=2', '93-23=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,72 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[23, 27, 29, 93], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [23, 93, 2]
Generated Node #0,3: 72:[23, 93, 2] Operation: 29-27=2
Moving to Node #0,3
Current State: 72:[23, 93, 2], Operations: ['29-27=2']
Exploring Operation: 93-23=70, Resulting Numbers: [2, 70]
Generated Node #0,3,3: 72:[2, 70] Operation: 93-23=70
Moving to Node #0,3,3
Current State: 72:[2, 70], Operations: ['29-27=2', '93-23=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
55,
24,
6,
84
] | 11 | [
"55+24=79",
"6+84=90",
"90-79=11"
] | Current State: 11:[55, 24, 6, 84], Operations: []
Exploring Operation: 55+24=79, Resulting Numbers: [6, 84, 79]
Generated Node #2: [6, 84, 79] from Operation: 55+24=79
Current State: 11:[6, 84, 79], Operations: ['55+24=79']
Exploring Operation: 6+84=90, Resulting Numbers: [79, 90]
Generated Node #3: [79, 90] from Operation: 6+84=90
Current State: 11:[79, 90], Operations: ['55+24=79', '6+84=90']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[55, 24, 6, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [24, 6, 29]
Generated Node #0,0: 11:[24, 6, 29] Operation: 84-55=29
Moving to Node #0,0
Current State: 11:[24, 6, 29], Operations: ['84-55=29']
Exploring Operation: 29-24=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 29-24=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['84-55=29', '29-24=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[55, 24, 6, 84], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [24, 6, 29]
Generated Node #0,0: 11:[24, 6, 29] Operation: 84-55=29
Moving to Node #0,0
Current State: 11:[24, 6, 29], Operations: ['84-55=29']
Exploring Operation: 29-24=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 29-24=5
Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['84-55=29', '29-24=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
45,
15,
17
] | 15 | [
"5+15=20",
"20-17=3",
"45/3=15"
] | Current State: 15:[5, 45, 15, 17], Operations: []
Exploring Operation: 5+15=20, Resulting Numbers: [45, 17, 20]
Generated Node #2: [45, 17, 20] from Operation: 5+15=20
Current State: 15:[45, 17, 20], Operations: ['5+15=20']
Exploring Operation: 20-17=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 20-17=3
Current State: 15:[45, 3], Operations: ['5+15=20', '20-17=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[5, 45, 15, 17], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [5, 17, 3]
Generated Node #0,0: 15:[5, 17, 3] Operation: 45/15=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[5, 17, 3], Operations: ['45/15=3']
Exploring Operation: 17-3=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 15:[5, 14] Operation: 17-3=14
Moving to Node #0,0,0
Current State: 15:[5, 14], Operations: ['45/15=3', '17-3=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,15 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 |
[
75,
23,
15,
60
] | 13 | [
"75-23=52",
"60/15=4",
"52/4=13"
] | Current State: 13:[75, 23, 15, 60], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [15, 60, 52]
Generated Node #2: [15, 60, 52] from Operation: 75-23=52
Current State: 13:[15, 60, 52], Operations: ['75-23=52']
Exploring Operation: 60/15=4, Resulting Numbers: [52, 4]
Generated Node #3: [52, 4] from Operation: 60/15=4
Current State: 13:[52, 4], Operations: ['75-23=52', '60/15=4']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[75, 23, 15, 60], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [15, 60, 52]
Generated Node #0,0: 13:[15, 60, 52] Operation: 75-23=52
Exploring Operation: 60/15=4, Resulting Numbers: [75, 23, 4]
Generated Node #0,1: 13:[75, 23, 4] Operation: 60/15=4
Exploring Operation: 75/15=5, Resulting Numbers: [23, 60, 5]
Generated Node #0,2: 13:[23, 60, 5] Operation: 75/15=5
Exploring Operation: 75-60=15, Resulting Numbers: [23, 15, 15]
Generated Node #0,3: 13:[23, 15, 15] Operation: 75-60=15
Exploring Operation: 60-23=37, Resulting Numbers: [75, 15, 37]
Generated Node #0,4: 13:[75, 15, 37] Operation: 60-23=37
Moving to Node #0,3
Current State: 13:[23, 15, 15], Operations: ['75-60=15']
Exploring Operation: 23-15=8, Resulting Numbers: [15, 8]
Generated Node #0,3,0: 13:[15, 8] Operation: 23-15=8
Exploring Operation: 15/15=1, Resulting Numbers: [23, 1]
Generated Node #0,3,1: 13:[23, 1] Operation: 15/15=1
Exploring Operation: 23+15=38, Resulting Numbers: [15, 38]
Generated Node #0,3,2: 13:[15, 38] Operation: 23+15=38
Exploring Operation: 15-15=0, Resulting Numbers: [23, 0]
Generated Node #0,3,3: 13:[23, 0] Operation: 15-15=0
Exploring Operation: 23-15=8, Resulting Numbers: [15, 8]
Generated Node #0,3,4: 13:[15, 8] Operation: 23-15=8
Moving to Node #0,2
Current State: 13:[23, 60, 5], Operations: ['75/15=5']
Exploring Operation: 60-23=37, Resulting Numbers: [5, 37]
Generated Node #0,2,0: 13:[5, 37] Operation: 60-23=37
Exploring Operation: 23+5=28, Resulting Numbers: [60, 28]
Generated Node #0,2,1: 13:[60, 28] Operation: 23+5=28
Exploring Operation: 23-5=18, Resulting Numbers: [60, 18]
Generated Node #0,2,2: 13:[60, 18] Operation: 23-5=18
Exploring Operation: 60/5=12, Resulting Numbers: [23, 12]
Generated Node #0,2,3: 13:[23, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [23, 55]
Generated Node #0,2,4: 13:[23, 55] Operation: 60-5=55
Moving to Node #0,1
Current State: 13:[75, 23, 4], Operations: ['60/15=4']
Exploring Operation: 23-4=19, Resulting Numbers: [75, 19]
Generated Node #0,1,0: 13:[75, 19] Operation: 23-4=19
Exploring Operation: 75-23=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 13:[4, 52] Operation: 75-23=52
Exploring Operation: 23+4=27, Resulting Numbers: [75, 27]
Generated Node #0,1,2: 13:[75, 27] Operation: 23+4=27
Exploring Operation: 75+4=79, Resulting Numbers: [23, 79]
Generated Node #0,1,3: 13:[23, 79] Operation: 75+4=79
Exploring Operation: 75-4=71, Resulting Numbers: [23, 71]
Generated Node #0,1,4: 13:[23, 71] Operation: 75-4=71
Moving to Node #0,0
Current State: 13:[15, 60, 52], Operations: ['75-23=52']
Exploring Operation: 60-15=45, Resulting Numbers: [52, 45]
Generated Node #0,0,0: 13:[52, 45] Operation: 60-15=45
Exploring Operation: 60-52=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 13:[15, 8] Operation: 60-52=8
Exploring Operation: 52-15=37, Resulting Numbers: [60, 37]
Generated Node #0,0,2: 13:[60, 37] Operation: 52-15=37
Exploring Operation: 15+60=75, Resulting Numbers: [52, 75]
Generated Node #0,0,3: 13:[52, 75] Operation: 15+60=75
Exploring Operation: 60/15=4, Resulting Numbers: [52, 4]
Generated Node #0,0,4: 13:[52, 4] Operation: 60/15=4
Moving to Node #0,4
Current State: 13:[75, 15, 37], Operations: ['60-23=37']
Exploring Operation: 37-15=22, Resulting Numbers: [75, 22]
Generated Node #0,4,0: 13:[75, 22] Operation: 37-15=22
Exploring Operation: 75-15=60, Resulting Numbers: [37, 60]
Generated Node #0,4,1: 13:[37, 60] Operation: 75-15=60
Exploring Operation: 75+15=90, Resulting Numbers: [37, 90]
Generated Node #0,4,2: 13:[37, 90] Operation: 75+15=90
Exploring Operation: 75/15=5, Resulting Numbers: [37, 5]
Generated Node #0,4,3: 13:[37, 5] Operation: 75/15=5
Exploring Operation: 75-37=38, Resulting Numbers: [15, 38]
Generated Node #0,4,4: 13:[15, 38] Operation: 75-37=38
Moving to Node #0,3,0
Current State: 13:[15, 8], Operations: ['75-60=15', '23-15=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[15, 8], Operations: ['75-60=15', '23-15=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[15, 8], Operations: ['75-23=52', '60-52=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[23, 12], Operations: ['75/15=5', '60/5=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,13 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[23, 1], Operations: ['75-60=15', '15/15=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[23, 0], Operations: ['75-60=15', '15-15=0']
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[15, 38], Operations: ['75-60=15', '23+15=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,13 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[15, 38], Operations: ['60-23=37', '75-37=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,13 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[5, 37], Operations: ['75/15=5', '60-23=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,13 unequal: No Solution
Moving to Node #0,4,3
Current State: 13:[37, 5], Operations: ['60-23=37', '75/15=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,13 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[4, 52], Operations: ['60/15=4', '75-23=52']
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,13 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[75, 23, 15, 60], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [75, 23, 4]
Generated Node #0,1: 13:[75, 23, 4] Operation: 60/15=4
Moving to Node #0,1
Current State: 13:[75, 23, 4], Operations: ['60/15=4']
Exploring Operation: 75-23=52, Resulting Numbers: [4, 52]
Generated Node #0,1,1: 13:[4, 52] Operation: 75-23=52
Moving to Node #0,1,1
Current State: 13:[4, 52], Operations: ['60/15=4', '75-23=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.940104 | hs_5 | mult_heuristic |
[
25,
7,
48,
53
] | 37 | [
"25+7=32",
"53-48=5",
"32+5=37"
] | Current State: 37:[25, 7, 48, 53], Operations: []
Exploring Operation: 25+7=32, Resulting Numbers: [48, 53, 32]
Generated Node #2: [48, 53, 32] from Operation: 25+7=32
Current State: 37:[48, 53, 32], Operations: ['25+7=32']
Exploring Operation: 53-48=5, Resulting Numbers: [32, 5]
Generated Node #3: [32, 5] from Operation: 53-48=5
Current State: 37:[32, 5], Operations: ['25+7=32', '53-48=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[25, 7, 48, 53], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [25, 48, 46]
Generated Node #0,0: 37:[25, 48, 46] Operation: 53-7=46
Exploring Operation: 48-7=41, Resulting Numbers: [25, 53, 41]
Generated Node #0,1: 37:[25, 53, 41] Operation: 48-7=41
Exploring Operation: 7+48=55, Resulting Numbers: [25, 53, 55]
Generated Node #0,2: 37:[25, 53, 55] Operation: 7+48=55
Exploring Operation: 25+7=32, Resulting Numbers: [48, 53, 32]
Generated Node #0,3: 37:[48, 53, 32] Operation: 25+7=32
Exploring Operation: 25-7=18, Resulting Numbers: [48, 53, 18]
Generated Node #0,4: 37:[48, 53, 18] Operation: 25-7=18
Moving to Node #0,0
Current State: 37:[25, 48, 46], Operations: ['53-7=46']
Exploring Operation: 46-25=21, Resulting Numbers: [48, 21]
Generated Node #0,0,0: 37:[48, 21] Operation: 46-25=21
Exploring Operation: 25+46=71, Resulting Numbers: [48, 71]
Generated Node #0,0,1: 37:[48, 71] Operation: 25+46=71
Exploring Operation: 48-25=23, Resulting Numbers: [46, 23]
Generated Node #0,0,2: 37:[46, 23] Operation: 48-25=23
Exploring Operation: 48-46=2, Resulting Numbers: [25, 2]
Generated Node #0,0,3: 37:[25, 2] Operation: 48-46=2
Exploring Operation: 25+48=73, Resulting Numbers: [46, 73]
Generated Node #0,0,4: 37:[46, 73] Operation: 25+48=73
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[46, 23], Operations: ['53-7=46', '48-25=23']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 46*23=1058, Resulting Numbers: [1058]
1058,37 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[48, 21], Operations: ['53-7=46', '46-25=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[48, 71], Operations: ['53-7=46', '25+46=71']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 48*71=3408, Resulting Numbers: [3408]
3408,37 unequal: No Solution
Exploring Operation: 48+71=119, Resulting Numbers: [119]
119,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 37:[46, 73], Operations: ['53-7=46', '25+48=73']
Exploring Operation: 46*73=3358, Resulting Numbers: [3358]
3358,37 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 46+73=119, Resulting Numbers: [119]
119,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[25, 2], Operations: ['53-7=46', '48-46=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,37 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: 37:[48, 53, 32], Operations: ['25+7=32']
Exploring Operation: 48+32=80, Resulting Numbers: [53, 80]
Generated Node #0,3,0: 37:[53, 80] Operation: 48+32=80
Exploring Operation: 53-48=5, Resulting Numbers: [32, 5]
Generated Node #0,3,1: 37:[32, 5] Operation: 53-48=5
Exploring Operation: 48-32=16, Resulting Numbers: [53, 16]
Generated Node #0,3,2: 37:[53, 16] Operation: 48-32=16
Exploring Operation: 53-32=21, Resulting Numbers: [48, 21]
Generated Node #0,3,3: 37:[48, 21] Operation: 53-32=21
Exploring Operation: 53+32=85, Resulting Numbers: [48, 85]
Generated Node #0,3,4: 37:[48, 85] Operation: 53+32=85
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[48, 21], Operations: ['25+7=32', '53-32=21']
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[32, 5], Operations: ['25+7=32', '53-48=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,37 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[25, 7, 48, 53], Operations: []
Exploring Operation: 25+7=32, Resulting Numbers: [48, 53, 32]
Generated Node #0,3: 37:[48, 53, 32] Operation: 25+7=32
Moving to Node #0,3
Current State: 37:[48, 53, 32], Operations: ['25+7=32']
Exploring Operation: 53-48=5, Resulting Numbers: [32, 5]
Generated Node #0,3,1: 37:[32, 5] Operation: 53-48=5
Moving to Node #0,3,1
Current State: 37:[32, 5], Operations: ['25+7=32', '53-48=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
22,
50,
45,
8
] | 81 | [
"50-22=28",
"45+8=53",
"28+53=81"
] | Current State: 81:[22, 50, 45, 8], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [45, 8, 28]
Generated Node #2: [45, 8, 28] from Operation: 50-22=28
Current State: 81:[45, 8, 28], Operations: ['50-22=28']
Exploring Operation: 45+8=53, Resulting Numbers: [28, 53]
Generated Node #3: [28, 53] from Operation: 45+8=53
Current State: 81:[28, 53], Operations: ['50-22=28', '45+8=53']
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[22, 50, 45, 8], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [45, 8, 28]
Generated Node #0,0: 81:[45, 8, 28] Operation: 50-22=28
Exploring Operation: 50-45=5, Resulting Numbers: [22, 8, 5]
Generated Node #0,1: 81:[22, 8, 5] Operation: 50-45=5
Moving to Node #0,1
Current State: 81:[22, 8, 5], Operations: ['50-45=5']
Exploring Operation: 22+5=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 81:[8, 27] Operation: 22+5=27
Exploring Operation: 22+8=30, Resulting Numbers: [5, 30]
Generated Node #0,1,1: 81:[5, 30] Operation: 22+8=30
Moving to Node #0,0
Current State: 81:[45, 8, 28], Operations: ['50-22=28']
Exploring Operation: 45+28=73, Resulting Numbers: [8, 73]
Generated Node #0,0,0: 81:[8, 73] Operation: 45+28=73
Exploring Operation: 45-28=17, Resulting Numbers: [8, 17]
Generated Node #0,0,1: 81:[8, 17] Operation: 45-28=17
Moving to Node #0,1,0
Current State: 81:[8, 27], Operations: ['50-45=5', '22+5=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[5, 30], Operations: ['50-45=5', '22+8=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[8, 17], Operations: ['50-22=28', '45-28=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[8, 73], Operations: ['50-22=28', '45+28=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[22, 50, 45, 8], Operations: []
Exploring Operation: 50-22=28, Resulting Numbers: [45, 8, 28]
Generated Node #0,0: 81:[45, 8, 28] Operation: 50-22=28
Moving to Node #0,0
Current State: 81:[45, 8, 28], Operations: ['50-22=28']
Exploring Operation: 45+28=73, Resulting Numbers: [8, 73]
Generated Node #0,0,0: 81:[8, 73] Operation: 45+28=73
Moving to Node #0,0,0
Current State: 81:[8, 73], Operations: ['50-22=28', '45+28=73']
Exploring Operation: 8+73=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
13,
5,
26,
54
] | 36 | [
"13-5=8",
"54-26=28",
"8+28=36"
] | Current State: 36:[13, 5, 26, 54], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [26, 54, 8]
Generated Node #2: [26, 54, 8] from Operation: 13-5=8
Current State: 36:[26, 54, 8], Operations: ['13-5=8']
Exploring Operation: 54-26=28, Resulting Numbers: [8, 28]
Generated Node #3: [8, 28] from Operation: 54-26=28
Current State: 36:[8, 28], Operations: ['13-5=8', '54-26=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[13, 5, 26, 54], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [13, 5, 28]
Generated Node #0,0: 36:[13, 5, 28] Operation: 54-26=28
Moving to Node #0,0
Current State: 36:[13, 5, 28], Operations: ['54-26=28']
Exploring Operation: 28-13=15, Resulting Numbers: [5, 15]
Generated Node #0,0,0: 36:[5, 15] Operation: 28-13=15
Moving to Node #0,0,0
Current State: 36:[5, 15], Operations: ['54-26=28', '28-13=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
20,
66,
7
] | 44 | [
"97+20=117",
"66+7=73",
"117-73=44"
] | Current State: 44:[97, 20, 66, 7], Operations: []
Exploring Operation: 97+20=117, Resulting Numbers: [66, 7, 117]
Generated Node #2: [66, 7, 117] from Operation: 97+20=117
Current State: 44:[66, 7, 117], Operations: ['97+20=117']
Exploring Operation: 66+7=73, Resulting Numbers: [117, 73]
Generated Node #3: [117, 73] from Operation: 66+7=73
Current State: 44:[117, 73], Operations: ['97+20=117', '66+7=73']
Exploring Operation: 117-73=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[97, 20, 66, 7], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [20, 7, 31]
Generated Node #0,0: 44:[20, 7, 31] Operation: 97-66=31
Exploring Operation: 66-7=59, Resulting Numbers: [97, 20, 59]
Generated Node #0,1: 44:[97, 20, 59] Operation: 66-7=59
Exploring Operation: 66-20=46, Resulting Numbers: [97, 7, 46]
Generated Node #0,2: 44:[97, 7, 46] Operation: 66-20=46
Exploring Operation: 97-7=90, Resulting Numbers: [20, 66, 90]
Generated Node #0,3: 44:[20, 66, 90] Operation: 97-7=90
Exploring Operation: 97-20=77, Resulting Numbers: [66, 7, 77]
Generated Node #0,4: 44:[66, 7, 77] Operation: 97-20=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[20, 7, 31], Operations: ['97-66=31']
Exploring Operation: 20-7=13, Resulting Numbers: [31, 13]
Generated Node #0,0,0: 44:[31, 13] Operation: 20-7=13
Exploring Operation: 31-7=24, Resulting Numbers: [20, 24]
Generated Node #0,0,1: 44:[20, 24] Operation: 31-7=24
Exploring Operation: 20+31=51, Resulting Numbers: [7, 51]
Generated Node #0,0,2: 44:[7, 51] Operation: 20+31=51
Exploring Operation: 31-20=11, Resulting Numbers: [7, 11]
Generated Node #0,0,3: 44:[7, 11] Operation: 31-20=11
Exploring Operation: 7+31=38, Resulting Numbers: [20, 38]
Generated Node #0,0,4: 44:[20, 38] Operation: 7+31=38
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[7, 11], Operations: ['97-66=31', '31-20=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[20, 24], Operations: ['97-66=31', '31-7=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[97, 20, 66, 7], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [20, 7, 31]
Generated Node #0,0: 44:[20, 7, 31] Operation: 97-66=31
Moving to Node #0,0
Current State: 44:[20, 7, 31], Operations: ['97-66=31']
Exploring Operation: 31-7=24, Resulting Numbers: [20, 24]
Generated Node #0,0,1: 44:[20, 24] Operation: 31-7=24
Moving to Node #0,0,1
Current State: 44:[20, 24], Operations: ['97-66=31', '31-7=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
79,
72,
46,
36
] | 31 | [
"79-46=33",
"72/36=2",
"33-2=31"
] | Current State: 31:[79, 72, 46, 36], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [72, 36, 33]
Generated Node #2: [72, 36, 33] from Operation: 79-46=33
Current State: 31:[72, 36, 33], Operations: ['79-46=33']
Exploring Operation: 72/36=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 72/36=2
Current State: 31:[33, 2], Operations: ['79-46=33', '72/36=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[79, 72, 46, 36], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [79, 46, 36]
Generated Node #0,0: 31:[79, 46, 36] Operation: 72-36=36
Exploring Operation: 79-36=43, Resulting Numbers: [72, 46, 43]
Generated Node #0,1: 31:[72, 46, 43] Operation: 79-36=43
Exploring Operation: 79-72=7, Resulting Numbers: [46, 36, 7]
Generated Node #0,2: 31:[46, 36, 7] Operation: 79-72=7
Exploring Operation: 72-46=26, Resulting Numbers: [79, 36, 26]
Generated Node #0,3: 31:[79, 36, 26] Operation: 72-46=26
Exploring Operation: 79-46=33, Resulting Numbers: [72, 36, 33]
Generated Node #0,4: 31:[72, 36, 33] Operation: 79-46=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[46, 36, 7], Operations: ['79-72=7']
Exploring Operation: 36-7=29, Resulting Numbers: [46, 29]
Generated Node #0,2,0: 31:[46, 29] Operation: 36-7=29
Exploring Operation: 46-36=10, Resulting Numbers: [7, 10]
Generated Node #0,2,1: 31:[7, 10] Operation: 46-36=10
Exploring Operation: 46-7=39, Resulting Numbers: [36, 39]
Generated Node #0,2,2: 31:[36, 39] Operation: 46-7=39
Exploring Operation: 36+7=43, Resulting Numbers: [46, 43]
Generated Node #0,2,3: 31:[46, 43] Operation: 36+7=43
Exploring Operation: 46+7=53, Resulting Numbers: [36, 53]
Generated Node #0,2,4: 31:[36, 53] Operation: 46+7=53
Moving to Node #0,2,2
Current State: 31:[36, 39], Operations: ['79-72=7', '46-7=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,31 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[46, 29], Operations: ['79-72=7', '36-7=29']
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,31 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[46, 43], Operations: ['79-72=7', '36+7=43']
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,31 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[36, 53], Operations: ['79-72=7', '46+7=53']
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,31 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[7, 10], Operations: ['79-72=7', '46-36=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[72, 36, 33], Operations: ['79-46=33']
Exploring Operation: 36-33=3, Resulting Numbers: [72, 3]
Generated Node #0,4,0: 31:[72, 3] Operation: 36-33=3
Exploring Operation: 72-33=39, Resulting Numbers: [36, 39]
Generated Node #0,4,1: 31:[36, 39] Operation: 72-33=39
Exploring Operation: 72-36=36, Resulting Numbers: [33, 36]
Generated Node #0,4,2: 31:[33, 36] Operation: 72-36=36
Exploring Operation: 72+36=108, Resulting Numbers: [33, 108]
Generated Node #0,4,3: 31:[33, 108] Operation: 72+36=108
Exploring Operation: 72/36=2, Resulting Numbers: [33, 2]
Generated Node #0,4,4: 31:[33, 2] Operation: 72/36=2
Moving to Node #0,4,2
Current State: 31:[33, 36], Operations: ['79-46=33', '72-36=36']
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,31 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[36, 39], Operations: ['79-46=33', '72-33=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,31 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,31 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[33, 2], Operations: ['79-46=33', '72/36=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[79, 72, 46, 36], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [72, 36, 33]
Generated Node #0,4: 31:[72, 36, 33] Operation: 79-46=33
Moving to Node #0,4
Current State: 31:[72, 36, 33], Operations: ['79-46=33']
Exploring Operation: 72/36=2, Resulting Numbers: [33, 2]
Generated Node #0,4,4: 31:[33, 2] Operation: 72/36=2
Moving to Node #0,4,4
Current State: 31:[33, 2], Operations: ['79-46=33', '72/36=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
47,
32,
31,
37
] | 83 | [
"47-32=15",
"31+37=68",
"15+68=83"
] | Current State: 83:[47, 32, 31, 37], Operations: []
Exploring Operation: 47-32=15, Resulting Numbers: [31, 37, 15]
Generated Node #2: [31, 37, 15] from Operation: 47-32=15
Current State: 83:[31, 37, 15], Operations: ['47-32=15']
Exploring Operation: 31+37=68, Resulting Numbers: [15, 68]
Generated Node #3: [15, 68] from Operation: 31+37=68
Current State: 83:[15, 68], Operations: ['47-32=15', '31+37=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[47, 32, 31, 37], Operations: []
Exploring Operation: 32+31=63, Resulting Numbers: [47, 37, 63]
Generated Node #0,0: 83:[47, 37, 63] Operation: 32+31=63
Exploring Operation: 47+31=78, Resulting Numbers: [32, 37, 78]
Generated Node #0,1: 83:[32, 37, 78] Operation: 47+31=78
Exploring Operation: 47+32=79, Resulting Numbers: [31, 37, 79]
Generated Node #0,2: 83:[31, 37, 79] Operation: 47+32=79
Moving to Node #0,0
Current State: 83:[47, 37, 63], Operations: ['32+31=63']
Exploring Operation: 37+63=100, Resulting Numbers: [47, 100]
Generated Node #0,0,0: 83:[47, 100] Operation: 37+63=100
Exploring Operation: 47+63=110, Resulting Numbers: [37, 110]
Generated Node #0,0,1: 83:[37, 110] Operation: 47+63=110
Exploring Operation: 47+37=84, Resulting Numbers: [63, 84]
Generated Node #0,0,2: 83:[63, 84] Operation: 47+37=84
Moving to Node #0,1
Current State: 83:[32, 37, 78], Operations: ['47+31=78']
Exploring Operation: 32+78=110, Resulting Numbers: [37, 110]
Generated Node #0,1,0: 83:[37, 110] Operation: 32+78=110
Exploring Operation: 32+37=69, Resulting Numbers: [78, 69]
Generated Node #0,1,1: 83:[78, 69] Operation: 32+37=69
Exploring Operation: 37-32=5, Resulting Numbers: [78, 5]
Generated Node #0,1,2: 83:[78, 5] Operation: 37-32=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[78, 69], Operations: ['47+31=78', '32+37=69']
Exploring Operation: 78+69=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 78*69=5382, Resulting Numbers: [5382]
5382,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[37, 110], Operations: ['47+31=78', '32+78=110']
Exploring Operation: 37+110=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 37*110=4070, Resulting Numbers: [4070]
4070,83 unequal: No Solution
Exploring Operation: 110-37=73, Resulting Numbers: [73]
73,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[78, 5], Operations: ['47+31=78', '37-32=5']
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,83 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[47, 32, 31, 37], Operations: []
Exploring Operation: 47+31=78, Resulting Numbers: [32, 37, 78]
Generated Node #0,1: 83:[32, 37, 78] Operation: 47+31=78
Moving to Node #0,1
Current State: 83:[32, 37, 78], Operations: ['47+31=78']
Exploring Operation: 37-32=5, Resulting Numbers: [78, 5]
Generated Node #0,1,2: 83:[78, 5] Operation: 37-32=5
Moving to Node #0,1,2
Current State: 83:[78, 5], Operations: ['47+31=78', '37-32=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
21,
28,
6,
42
] | 64 | [
"6+42=48",
"28*48=1344",
"1344/21=64"
] | Current State: 64:[21, 28, 6, 42], Operations: []
Exploring Operation: 6+42=48, Resulting Numbers: [21, 28, 48]
Generated Node #2: [21, 28, 48] from Operation: 6+42=48
Current State: 64:[21, 28, 48], Operations: ['6+42=48']
Exploring Operation: 28*48=1344, Resulting Numbers: [21, 1344]
Generated Node #3: [21, 1344] from Operation: 28*48=1344
Current State: 64:[21, 1344], Operations: ['6+42=48', '28*48=1344']
Exploring Operation: 1344/21=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[21, 28, 6, 42], Operations: []
Exploring Operation: 42-21=21, Resulting Numbers: [28, 6, 21]
Generated Node #0,0: 64:[28, 6, 21] Operation: 42-21=21
Exploring Operation: 42/6=7, Resulting Numbers: [21, 28, 7]
Generated Node #0,1: 64:[21, 28, 7] Operation: 42/6=7
Exploring Operation: 42/21=2, Resulting Numbers: [28, 6, 2]
Generated Node #0,2: 64:[28, 6, 2] Operation: 42/21=2
Exploring Operation: 21+42=63, Resulting Numbers: [28, 6, 63]
Generated Node #0,3: 64:[28, 6, 63] Operation: 21+42=63
Exploring Operation: 42-28=14, Resulting Numbers: [21, 6, 14]
Generated Node #0,4: 64:[21, 6, 14] Operation: 42-28=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[28, 6, 2], Operations: ['42/21=2']
Exploring Operation: 28+6=34, Resulting Numbers: [2, 34]
Generated Node #0,2,0: 64:[2, 34] Operation: 28+6=34
Exploring Operation: 28/2=14, Resulting Numbers: [6, 14]
Generated Node #0,2,1: 64:[6, 14] Operation: 28/2=14
Exploring Operation: 6+2=8, Resulting Numbers: [28, 8]
Generated Node #0,2,2: 64:[28, 8] Operation: 6+2=8
Exploring Operation: 6-2=4, Resulting Numbers: [28, 4]
Generated Node #0,2,3: 64:[28, 4] Operation: 6-2=4
Exploring Operation: 28+2=30, Resulting Numbers: [6, 30]
Generated Node #0,2,4: 64:[6, 30] Operation: 28+2=30
Moving to Node #0,2,0
Current State: 64:[2, 34], Operations: ['42/21=2', '28+6=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[28, 8], Operations: ['42/21=2', '6+2=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[6, 30], Operations: ['42/21=2', '28+2=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,64 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[6, 14], Operations: ['42/21=2', '28/2=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[28, 4], Operations: ['42/21=2', '6-2=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,64 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[28, 6, 63], Operations: ['21+42=63']
Exploring Operation: 28+6=34, Resulting Numbers: [63, 34]
Generated Node #0,3,0: 64:[63, 34] Operation: 28+6=34
Exploring Operation: 28-6=22, Resulting Numbers: [63, 22]
Generated Node #0,3,1: 64:[63, 22] Operation: 28-6=22
Exploring Operation: 6+63=69, Resulting Numbers: [28, 69]
Generated Node #0,3,2: 64:[28, 69] Operation: 6+63=69
Exploring Operation: 63-6=57, Resulting Numbers: [28, 57]
Generated Node #0,3,3: 64:[28, 57] Operation: 63-6=57
Exploring Operation: 63-28=35, Resulting Numbers: [6, 35]
Generated Node #0,3,4: 64:[6, 35] Operation: 63-28=35
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[63, 34], Operations: ['21+42=63', '28+6=34']
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,64 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,64 unequal: No Solution
No 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: 64:[6, 35], Operations: ['21+42=63', '63-28=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,64 unequal: No Solution
No 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: 64:[63, 22], Operations: ['21+42=63', '28-6=22']
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,64 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,64 unequal: No Solution
No 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: 64:[28, 69], Operations: ['21+42=63', '6+63=69']
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,64 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,64 unequal: No Solution
No 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: 64:[28, 57], Operations: ['21+42=63', '63-6=57']
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,64 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,64 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,64 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: 64:[21, 6, 14], Operations: ['42-28=14']
Exploring Operation: 21+6=27, Resulting Numbers: [14, 27]
Generated Node #0,4,0: 64:[14, 27] Operation: 21+6=27
Exploring Operation: 21+14=35, Resulting Numbers: [6, 35]
Generated Node #0,4,1: 64:[6, 35] Operation: 21+14=35
Exploring Operation: 21-6=15, Resulting Numbers: [14, 15]
Generated Node #0,4,2: 64:[14, 15] Operation: 21-6=15
Exploring Operation: 14-6=8, Resulting Numbers: [21, 8]
Generated Node #0,4,3: 64:[21, 8] Operation: 14-6=8
Exploring Operation: 21-14=7, Resulting Numbers: [6, 7]
Generated Node #0,4,4: 64:[6, 7] Operation: 21-14=7
Moving to Node #0,4,2
Current State: 64:[14, 15], Operations: ['42-28=14', '21-6=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[6, 7], Operations: ['42-28=14', '21-14=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[6, 35], Operations: ['42-28=14', '21+14=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,64 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[21, 8], Operations: ['42-28=14', '14-6=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,64 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[14, 27], Operations: ['42-28=14', '21+6=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,64 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[21, 28, 7], Operations: ['42/6=7']
Exploring Operation: 21-7=14, Resulting Numbers: [28, 14]
Generated Node #0,1,0: 64:[28, 14] Operation: 21-7=14
Exploring Operation: 28-21=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 64:[7, 7] Operation: 28-21=7
Exploring Operation: 28/7=4, Resulting Numbers: [21, 4]
Generated Node #0,1,2: 64:[21, 4] Operation: 28/7=4
Exploring Operation: 21/7=3, Resulting Numbers: [28, 3]
Generated Node #0,1,3: 64:[28, 3] Operation: 21/7=3
Exploring Operation: 21+7=28, Resulting Numbers: [28, 28]
Generated Node #0,1,4: 64:[28, 28] Operation: 21+7=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[7, 7], Operations: ['42/6=7', '28-21=7']
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,64 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,64 unequal: No Solution
No 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: 64:[21, 4], Operations: ['42/6=7', '28/7=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No 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: 64:[28, 3], Operations: ['42/6=7', '21/7=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,64 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No 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: 64:[28, 14], Operations: ['42/6=7', '21-7=14']
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,64 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,64 unequal: No Solution
No 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: 64:[28, 28], Operations: ['42/6=7', '21+7=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,64 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: 64:[28, 6, 21], Operations: ['42-21=21']
Exploring Operation: 28-6=22, Resulting Numbers: [21, 22]
Generated Node #0,0,0: 64:[21, 22] Operation: 28-6=22
Exploring Operation: 28+6=34, Resulting Numbers: [21, 34]
Generated Node #0,0,1: 64:[21, 34] Operation: 28+6=34
Exploring Operation: 21-6=15, Resulting Numbers: [28, 15]
Generated Node #0,0,2: 64:[28, 15] Operation: 21-6=15
Exploring Operation: 28-21=7, Resulting Numbers: [6, 7]
Generated Node #0,0,3: 64:[6, 7] Operation: 28-21=7
Exploring Operation: 6+21=27, Resulting Numbers: [28, 27]
Generated Node #0,0,4: 64:[28, 27] Operation: 6+21=27
Moving to Node #0,0,3
Current State: 64:[6, 7], Operations: ['42-21=21', '28-21=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[28, 15], Operations: ['42-21=21', '21-6=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,64 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[21, 34], Operations: ['42-21=21', '28+6=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[28, 27], Operations: ['42-21=21', '6+21=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[21, 22], Operations: ['42-21=21', '28-6=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,64 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 |
[
20,
37,
65,
67
] | 54 | [
"67-65=2",
"37*2=74",
"74-20=54"
] | Current State: 54:[20, 37, 65, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [20, 37, 2]
Generated Node #2: [20, 37, 2] from Operation: 67-65=2
Current State: 54:[20, 37, 2], Operations: ['67-65=2']
Exploring Operation: 37*2=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 37*2=74
Current State: 54:[20, 74], Operations: ['67-65=2', '37*2=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[20, 37, 65, 67], Operations: []
Exploring Operation: 67-37=30, Resulting Numbers: [20, 65, 30]
Generated Node #0,0: 54:[20, 65, 30] Operation: 67-37=30
Exploring Operation: 67-65=2, Resulting Numbers: [20, 37, 2]
Generated Node #0,1: 54:[20, 37, 2] Operation: 67-65=2
Exploring Operation: 65-37=28, Resulting Numbers: [20, 67, 28]
Generated Node #0,2: 54:[20, 67, 28] Operation: 65-37=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[20, 37, 2], Operations: ['67-65=2']
Exploring Operation: 37-20=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 54:[2, 17] Operation: 37-20=17
Exploring Operation: 20-2=18, Resulting Numbers: [37, 18]
Generated Node #0,1,1: 54:[37, 18] Operation: 20-2=18
Exploring Operation: 20+37=57, Resulting Numbers: [2, 57]
Generated Node #0,1,2: 54:[2, 57] Operation: 20+37=57
Moving to Node #0,1,0
Current State: 54:[2, 17], Operations: ['67-65=2', '37-20=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[2, 57], Operations: ['67-65=2', '20+37=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[37, 18], Operations: ['67-65=2', '20-2=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,54 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[20, 65, 30], Operations: ['67-37=30']
Exploring Operation: 65-30=35, Resulting Numbers: [20, 35]
Generated Node #0,0,0: 54:[20, 35] Operation: 65-30=35
Exploring Operation: 65-20=45, Resulting Numbers: [30, 45]
Generated Node #0,0,1: 54:[30, 45] Operation: 65-20=45
Exploring Operation: 30-20=10, Resulting Numbers: [65, 10]
Generated Node #0,0,2: 54:[65, 10] Operation: 30-20=10
Moving to Node #0,0,0
Current State: 54:[20, 35], Operations: ['67-37=30', '65-30=35']
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,54 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[30, 45], Operations: ['67-37=30', '65-20=45']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,54 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[65, 10], Operations: ['67-37=30', '30-20=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,54 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[20, 67, 28], Operations: ['65-37=28']
Exploring Operation: 67-28=39, Resulting Numbers: [20, 39]
Generated Node #0,2,0: 54:[20, 39] Operation: 67-28=39
Exploring Operation: 28-20=8, Resulting Numbers: [67, 8]
Generated Node #0,2,1: 54:[67, 8] Operation: 28-20=8
Exploring Operation: 67-20=47, Resulting Numbers: [28, 47]
Generated Node #0,2,2: 54:[28, 47] Operation: 67-20=47
Moving to Node #0,2,2
Current State: 54:[28, 47], Operations: ['65-37=28', '67-20=47']
Exploring Operation: 28*47=1316, Resulting Numbers: [1316]
1316,54 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 28+47=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[20, 39], Operations: ['65-37=28', '67-28=39']
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[67, 8], Operations: ['65-37=28', '28-20=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,54 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
57,
22,
32
] | 60 | [
"57-7=50",
"32-22=10",
"50+10=60"
] | Current State: 60:[7, 57, 22, 32], Operations: []
Exploring Operation: 57-7=50, Resulting Numbers: [22, 32, 50]
Generated Node #2: [22, 32, 50] from Operation: 57-7=50
Current State: 60:[22, 32, 50], Operations: ['57-7=50']
Exploring Operation: 32-22=10, Resulting Numbers: [50, 10]
Generated Node #3: [50, 10] from Operation: 32-22=10
Current State: 60:[50, 10], Operations: ['57-7=50', '32-22=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[7, 57, 22, 32], Operations: []
Exploring Operation: 32-22=10, Resulting Numbers: [7, 57, 10]
Generated Node #0,0: 60:[7, 57, 10] Operation: 32-22=10
Exploring Operation: 22-7=15, Resulting Numbers: [57, 32, 15]
Generated Node #0,1: 60:[57, 32, 15] Operation: 22-7=15
Exploring Operation: 7+22=29, Resulting Numbers: [57, 32, 29]
Generated Node #0,2: 60:[57, 32, 29] Operation: 7+22=29
Exploring Operation: 7+57=64, Resulting Numbers: [22, 32, 64]
Generated Node #0,3: 60:[22, 32, 64] Operation: 7+57=64
Moving to Node #0,0
Current State: 60:[7, 57, 10], Operations: ['32-22=10']
Exploring Operation: 7+10=17, Resulting Numbers: [57, 17]
Generated Node #0,0,0: 60:[57, 17] Operation: 7+10=17
Exploring Operation: 57+10=67, Resulting Numbers: [7, 67]
Generated Node #0,0,1: 60:[7, 67] Operation: 57+10=67
Exploring Operation: 10-7=3, Resulting Numbers: [57, 3]
Generated Node #0,0,2: 60:[57, 3] Operation: 10-7=3
Exploring Operation: 7+57=64, Resulting Numbers: [10, 64]
Generated Node #0,0,3: 60:[10, 64] Operation: 7+57=64
Moving to Node #0,1
Current State: 60:[57, 32, 15], Operations: ['22-7=15']
Exploring Operation: 32-15=17, Resulting Numbers: [57, 17]
Generated Node #0,1,0: 60:[57, 17] Operation: 32-15=17
Exploring Operation: 57+15=72, Resulting Numbers: [32, 72]
Generated Node #0,1,1: 60:[32, 72] Operation: 57+15=72
Exploring Operation: 57-15=42, Resulting Numbers: [32, 42]
Generated Node #0,1,2: 60:[32, 42] Operation: 57-15=42
Exploring Operation: 57-32=25, Resulting Numbers: [15, 25]
Generated Node #0,1,3: 60:[15, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[57, 17], Operations: ['22-7=15', '32-15=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,60 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,60 unequal: No Solution
No 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: 60:[15, 25], Operations: ['22-7=15', '57-32=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,60 unequal: No Solution
No 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: 60:[32, 72], Operations: ['22-7=15', '57+15=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,60 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,60 unequal: No Solution
No 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: 60:[32, 42], Operations: ['22-7=15', '57-15=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,60 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: 60:[57, 32, 29], Operations: ['7+22=29']
Exploring Operation: 32-29=3, Resulting Numbers: [57, 3]
Generated Node #0,2,0: 60:[57, 3] Operation: 32-29=3
Exploring Operation: 57-32=25, Resulting Numbers: [29, 25]
Generated Node #0,2,1: 60:[29, 25] Operation: 57-32=25
Exploring Operation: 57-29=28, Resulting Numbers: [32, 28]
Generated Node #0,2,2: 60:[32, 28] Operation: 57-29=28
Exploring Operation: 32+29=61, Resulting Numbers: [57, 61]
Generated Node #0,2,3: 60:[57, 61] Operation: 32+29=61
Moving to Node #0,3
Current State: 60:[22, 32, 64], Operations: ['7+57=64']
Exploring Operation: 64-32=32, Resulting Numbers: [22, 32]
Generated Node #0,3,0: 60:[22, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [22, 2]
Generated Node #0,3,1: 60:[22, 2] Operation: 64/32=2
Exploring Operation: 22+32=54, Resulting Numbers: [64, 54]
Generated Node #0,3,2: 60:[64, 54] Operation: 22+32=54
Exploring Operation: 32-22=10, Resulting Numbers: [64, 10]
Generated Node #0,3,3: 60:[64, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[22, 2], Operations: ['7+57=64', '64/32=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No 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: 60:[22, 32], Operations: ['7+57=64', '64-32=32']
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,60 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No 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: 60:[64, 10], Operations: ['7+57=64', '32-22=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,60 unequal: No Solution
No 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: 60:[64, 54], Operations: ['7+57=64', '22+32=54']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,60 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: 60:[57, 3], Operations: ['32-22=10', '10-7=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[7, 57, 22, 32], Operations: []
Exploring Operation: 32-22=10, Resulting Numbers: [7, 57, 10]
Generated Node #0,0: 60:[7, 57, 10] Operation: 32-22=10
Moving to Node #0,0
Current State: 60:[7, 57, 10], Operations: ['32-22=10']
Exploring Operation: 10-7=3, Resulting Numbers: [57, 3]
Generated Node #0,0,2: 60:[57, 3] Operation: 10-7=3
Moving to Node #0,0,2
Current State: 60:[57, 3], Operations: ['32-22=10', '10-7=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
33,
62,
77,
77
] | 95 | [
"33+62=95",
"77-77=0",
"95+0=95"
] | Current State: 95:[33, 62, 77, 77], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [77, 77, 95]
Generated Node #2: [77, 77, 95] from Operation: 33+62=95
Current State: 95:[77, 77, 95], Operations: ['33+62=95']
Exploring Operation: 77-77=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 77-77=0
Current State: 95:[95, 0], Operations: ['33+62=95', '77-77=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[33, 62, 77, 77], Operations: []
Exploring Operation: 77/77=1, Resulting Numbers: [33, 62, 1]
Generated Node #0,0: 95:[33, 62, 1] Operation: 77/77=1
Exploring Operation: 77-62=15, Resulting Numbers: [33, 77, 15]
Generated Node #0,1: 95:[33, 77, 15] Operation: 77-62=15
Exploring Operation: 62-33=29, Resulting Numbers: [77, 77, 29]
Generated Node #0,2: 95:[77, 77, 29] Operation: 62-33=29
Exploring Operation: 77-62=15, Resulting Numbers: [33, 77, 15]
Generated Node #0,3: 95:[33, 77, 15] Operation: 77-62=15
Exploring Operation: 33+62=95, Resulting Numbers: [77, 77, 95]
Generated Node #0,4: 95:[77, 77, 95] Operation: 33+62=95
Moving to Node #0,1
Current State: 95:[33, 77, 15], Operations: ['77-62=15']
Exploring Operation: 77+15=92, Resulting Numbers: [33, 92]
Generated Node #0,1,0: 95:[33, 92] Operation: 77+15=92
Exploring Operation: 77-33=44, Resulting Numbers: [15, 44]
Generated Node #0,1,1: 95:[15, 44] Operation: 77-33=44
Exploring Operation: 33+77=110, Resulting Numbers: [15, 110]
Generated Node #0,1,2: 95:[15, 110] Operation: 33+77=110
Exploring Operation: 33-15=18, Resulting Numbers: [77, 18]
Generated Node #0,1,3: 95:[77, 18] Operation: 33-15=18
Exploring Operation: 33+15=48, Resulting Numbers: [77, 48]
Generated Node #0,1,4: 95:[77, 48] Operation: 33+15=48
Moving to Node #0,4
Current State: 95:[77, 77, 95], Operations: ['33+62=95']
Exploring Operation: 77/77=1, Resulting Numbers: [95, 1]
Generated Node #0,4,0: 95:[95, 1] Operation: 77/77=1
Exploring Operation: 77+77=154, Resulting Numbers: [95, 154]
Generated Node #0,4,1: 95:[95, 154] Operation: 77+77=154
Exploring Operation: 95-77=18, Resulting Numbers: [77, 18]
Generated Node #0,4,2: 95:[77, 18] Operation: 95-77=18
Exploring Operation: 77-77=0, Resulting Numbers: [95, 0]
Generated Node #0,4,3: 95:[95, 0] Operation: 77-77=0
Exploring Operation: 95-77=18, Resulting Numbers: [77, 18]
Generated Node #0,4,4: 95:[77, 18] Operation: 95-77=18
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 95:[95, 1], Operations: ['33+62=95', '77/77=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[33, 62, 77, 77], Operations: []
Exploring Operation: 33+62=95, Resulting Numbers: [77, 77, 95]
Generated Node #0,4: 95:[77, 77, 95] Operation: 33+62=95
Moving to Node #0,4
Current State: 95:[77, 77, 95], Operations: ['33+62=95']
Exploring Operation: 77/77=1, Resulting Numbers: [95, 1]
Generated Node #0,4,0: 95:[95, 1] Operation: 77/77=1
Moving to Node #0,4,0
Current State: 95:[95, 1], Operations: ['33+62=95', '77/77=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
36,
12,
40,
44
] | 47 | [
"40-36=4",
"12/4=3",
"44+3=47"
] | Current State: 47:[36, 12, 40, 44], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [12, 44, 4]
Generated Node #2: [12, 44, 4] from Operation: 40-36=4
Current State: 47:[12, 44, 4], Operations: ['40-36=4']
Exploring Operation: 12/4=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 12/4=3
Current State: 47:[44, 3], Operations: ['40-36=4', '12/4=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[36, 12, 40, 44], Operations: []
Exploring Operation: 36+12=48, Resulting Numbers: [40, 44, 48]
Generated Node #0,0: 47:[40, 44, 48] Operation: 36+12=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[40, 44, 48], Operations: ['36+12=48']
Exploring Operation: 40+44=84, Resulting Numbers: [48, 84]
Generated Node #0,0,0: 47:[48, 84] Operation: 40+44=84
Moving to Node #0,0,0
Current State: 47:[48, 84], Operations: ['36+12=48', '40+44=84']
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,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 | mult_heuristic |
[
38,
18,
66,
2
] | 74 | [
"66-38=28",
"2*28=56",
"18+56=74"
] | Current State: 74:[38, 18, 66, 2], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [18, 2, 28]
Generated Node #2: [18, 2, 28] from Operation: 66-38=28
Current State: 74:[18, 2, 28], Operations: ['66-38=28']
Exploring Operation: 2*28=56, Resulting Numbers: [18, 56]
Generated Node #3: [18, 56] from Operation: 2*28=56
Current State: 74:[18, 56], Operations: ['66-38=28', '2*28=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[38, 18, 66, 2], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [38, 66, 36]
Generated Node #0,0: 74:[38, 66, 36] Operation: 18*2=36
Exploring Operation: 18+66=84, Resulting Numbers: [38, 2, 84]
Generated Node #0,1: 74:[38, 2, 84] Operation: 18+66=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[38, 66, 36], Operations: ['18*2=36']
Exploring Operation: 38-36=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 74:[66, 2] Operation: 38-36=2
Exploring Operation: 38+36=74, Resulting Numbers: [66, 74]
Generated Node #0,0,1: 74:[66, 74] Operation: 38+36=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[66, 2], Operations: ['18*2=36', '38-36=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,74 unequal: No Solution
No 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: 74:[66, 74], Operations: ['18*2=36', '38+36=74']
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,74 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: 74:[38, 2, 84], Operations: ['18+66=84']
Exploring Operation: 84/2=42, Resulting Numbers: [38, 42]
Generated Node #0,1,0: 74:[38, 42] Operation: 84/2=42
Exploring Operation: 84-38=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 74:[2, 46] Operation: 84-38=46
Moving to Node #0,1,0
Current State: 74:[38, 42], Operations: ['18+66=84', '84/2=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[2, 46], Operations: ['18+66=84', '84-38=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,74 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
73,
76,
81
] | 18 | [
"87-81=6",
"76-73=3",
"6*3=18"
] | Current State: 18:[87, 73, 76, 81], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [73, 76, 6]
Generated Node #2: [73, 76, 6] from Operation: 87-81=6
Current State: 18:[73, 76, 6], Operations: ['87-81=6']
Exploring Operation: 76-73=3, Resulting Numbers: [6, 3]
Generated Node #3: [6, 3] from Operation: 76-73=3
Current State: 18:[6, 3], Operations: ['87-81=6', '76-73=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[87, 73, 76, 81], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [73, 81, 11]
Generated Node #0,0: 18:[73, 81, 11] Operation: 87-76=11
Exploring Operation: 87-81=6, Resulting Numbers: [73, 76, 6]
Generated Node #0,1: 18:[73, 76, 6] Operation: 87-81=6
Exploring Operation: 87-73=14, Resulting Numbers: [76, 81, 14]
Generated Node #0,2: 18:[76, 81, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[73, 76, 6], Operations: ['87-81=6']
Exploring Operation: 73-6=67, Resulting Numbers: [76, 67]
Generated Node #0,1,0: 18:[76, 67] Operation: 73-6=67
Exploring Operation: 76-73=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 18:[6, 3] Operation: 76-73=3
Exploring Operation: 76-6=70, Resulting Numbers: [73, 70]
Generated Node #0,1,2: 18:[73, 70] Operation: 76-6=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[6, 3], Operations: ['87-81=6', '76-73=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[87, 73, 76, 81], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [73, 76, 6]
Generated Node #0,1: 18:[73, 76, 6] Operation: 87-81=6
Moving to Node #0,1
Current State: 18:[73, 76, 6], Operations: ['87-81=6']
Exploring Operation: 76-73=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 18:[6, 3] Operation: 76-73=3
Moving to Node #0,1,1
Current State: 18:[6, 3], Operations: ['87-81=6', '76-73=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
84,
95,
27,
69
] | 84 | [
"95-27=68",
"69-68=1",
"84*1=84"
] | Current State: 84:[84, 95, 27, 69], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [84, 69, 68]
Generated Node #2: [84, 69, 68] from Operation: 95-27=68
Current State: 84:[84, 69, 68], Operations: ['95-27=68']
Exploring Operation: 69-68=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 69-68=1
Current State: 84:[84, 1], Operations: ['95-27=68', '69-68=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[84, 95, 27, 69], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [84, 95, 42]
Generated Node #0,0: 84:[84, 95, 42] Operation: 69-27=42
Exploring Operation: 95-69=26, Resulting Numbers: [84, 27, 26]
Generated Node #0,1: 84:[84, 27, 26] Operation: 95-69=26
Exploring Operation: 84-69=15, Resulting Numbers: [95, 27, 15]
Generated Node #0,2: 84:[95, 27, 15] Operation: 84-69=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[84, 27, 26], Operations: ['95-69=26']
Exploring Operation: 84-27=57, Resulting Numbers: [26, 57]
Generated Node #0,1,0: 84:[26, 57] Operation: 84-27=57
Exploring Operation: 27+26=53, Resulting Numbers: [84, 53]
Generated Node #0,1,1: 84:[84, 53] Operation: 27+26=53
Exploring Operation: 27-26=1, Resulting Numbers: [84, 1]
Generated Node #0,1,2: 84:[84, 1] Operation: 27-26=1
Moving to Node #0,1,2
Current State: 84:[84, 1], Operations: ['95-69=26', '27-26=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[84, 95, 27, 69], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [84, 27, 26]
Generated Node #0,1: 84:[84, 27, 26] Operation: 95-69=26
Moving to Node #0,1
Current State: 84:[84, 27, 26], Operations: ['95-69=26']
Exploring Operation: 27-26=1, Resulting Numbers: [84, 1]
Generated Node #0,1,2: 84:[84, 1] Operation: 27-26=1
Moving to Node #0,1,2
Current State: 84:[84, 1], Operations: ['95-69=26', '27-26=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
64,
74,
16,
48
] | 75 | [
"64-16=48",
"48/48=1",
"74+1=75"
] | Current State: 75:[64, 74, 16, 48], Operations: []
Exploring Operation: 64-16=48, Resulting Numbers: [74, 48, 48]
Generated Node #2: [74, 48, 48] from Operation: 64-16=48
Current State: 75:[74, 48, 48], Operations: ['64-16=48']
Exploring Operation: 48/48=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 48/48=1
Current State: 75:[74, 1], Operations: ['64-16=48', '48/48=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[64, 74, 16, 48], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [74, 16, 16]
Generated Node #0,0: 75:[74, 16, 16] Operation: 64-48=16
Exploring Operation: 48/16=3, Resulting Numbers: [64, 74, 3]
Generated Node #0,1: 75:[64, 74, 3] Operation: 48/16=3
Exploring Operation: 74-48=26, Resulting Numbers: [64, 16, 26]
Generated Node #0,2: 75:[64, 16, 26] Operation: 74-48=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[74, 16, 16], Operations: ['64-48=16']
Exploring Operation: 16-16=0, Resulting Numbers: [74, 0]
Generated Node #0,0,0: 75:[74, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [74, 1]
Generated Node #0,0,1: 75:[74, 1] Operation: 16/16=1
Exploring Operation: 16+16=32, Resulting Numbers: [74, 32]
Generated Node #0,0,2: 75:[74, 32] Operation: 16+16=32
Moving to Node #0,0,1
Current State: 75:[74, 1], Operations: ['64-48=16', '16/16=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[64, 74, 16, 48], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [74, 16, 16]
Generated Node #0,0: 75:[74, 16, 16] Operation: 64-48=16
Moving to Node #0,0
Current State: 75:[74, 16, 16], Operations: ['64-48=16']
Exploring Operation: 16/16=1, Resulting Numbers: [74, 1]
Generated Node #0,0,1: 75:[74, 1] Operation: 16/16=1
Moving to Node #0,0,1
Current State: 75:[74, 1], Operations: ['64-48=16', '16/16=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
33,
43,
36,
9
] | 46 | [
"36-33=3",
"9/3=3",
"43+3=46"
] | Current State: 46:[33, 43, 36, 9], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [43, 9, 3]
Generated Node #2: [43, 9, 3] from Operation: 36-33=3
Current State: 46:[43, 9, 3], Operations: ['36-33=3']
Exploring Operation: 9/3=3, Resulting Numbers: [43, 3]
Generated Node #3: [43, 3] from Operation: 9/3=3
Current State: 46:[43, 3], Operations: ['36-33=3', '9/3=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[33, 43, 36, 9], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [43, 9, 3]
Generated Node #0,0: 46:[43, 9, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 46:[43, 9, 3], Operations: ['36-33=3']
Exploring Operation: 9/3=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 46:[43, 3] Operation: 9/3=3
Moving to Node #0,0,0
Current State: 46:[43, 3], Operations: ['36-33=3', '9/3=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[33, 43, 36, 9], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [43, 9, 3]
Generated Node #0,0: 46:[43, 9, 3] Operation: 36-33=3
Moving to Node #0,0
Current State: 46:[43, 9, 3], Operations: ['36-33=3']
Exploring Operation: 9/3=3, Resulting Numbers: [43, 3]
Generated Node #0,0,0: 46:[43, 3] Operation: 9/3=3
Moving to Node #0,0,0
Current State: 46:[43, 3], Operations: ['36-33=3', '9/3=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
11,
97,
2,
34
] | 90 | [
"11*34=374",
"374/2=187",
"187-97=90"
] | Current State: 90:[11, 97, 2, 34], Operations: []
Exploring Operation: 11*34=374, Resulting Numbers: [97, 2, 374]
Generated Node #2: [97, 2, 374] from Operation: 11*34=374
Current State: 90:[97, 2, 374], Operations: ['11*34=374']
Exploring Operation: 374/2=187, Resulting Numbers: [97, 187]
Generated Node #3: [97, 187] from Operation: 374/2=187
Current State: 90:[97, 187], Operations: ['11*34=374', '374/2=187']
Exploring Operation: 187-97=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[11, 97, 2, 34], Operations: []
Exploring Operation: 97-11=86, Resulting Numbers: [2, 34, 86]
Generated Node #0,0: 90:[2, 34, 86] Operation: 97-11=86
Exploring Operation: 11+34=45, Resulting Numbers: [97, 2, 45]
Generated Node #0,1: 90:[97, 2, 45] Operation: 11+34=45
Exploring Operation: 34/2=17, Resulting Numbers: [11, 97, 17]
Generated Node #0,2: 90:[11, 97, 17] Operation: 34/2=17
Moving to Node #0,1
Current State: 90:[97, 2, 45], Operations: ['11+34=45']
Exploring Operation: 97-2=95, Resulting Numbers: [45, 95]
Generated Node #0,1,0: 90:[45, 95] Operation: 97-2=95
Exploring Operation: 97-45=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 90:[2, 52] Operation: 97-45=52
Exploring Operation: 2*45=90, Resulting Numbers: [97, 90]
Generated Node #0,1,2: 90:[97, 90] Operation: 2*45=90
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[45, 95], Operations: ['11+34=45', '97-2=95']
Exploring Operation: 45+95=140, Resulting Numbers: [140]
140,90 unequal: No Solution
Exploring Operation: 45*95=4275, Resulting Numbers: [4275]
4275,90 unequal: No Solution
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[2, 52], Operations: ['11+34=45', '97-45=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[97, 90], Operations: ['11+34=45', '2*45=90']
Exploring Operation: 97*90=8730, Resulting Numbers: [8730]
8730,90 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 97+90=187, Resulting Numbers: [187]
187,90 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: 90:[2, 34, 86], Operations: ['97-11=86']
Exploring Operation: 34/2=17, Resulting Numbers: [86, 17]
Generated Node #0,0,0: 90:[86, 17] Operation: 34/2=17
Exploring Operation: 2+86=88, Resulting Numbers: [34, 88]
Generated Node #0,0,1: 90:[34, 88] Operation: 2+86=88
Exploring Operation: 34-2=32, Resulting Numbers: [86, 32]
Generated Node #0,0,2: 90:[86, 32] Operation: 34-2=32
Moving to Node #0,2
Current State: 90:[11, 97, 17], Operations: ['34/2=17']
Exploring Operation: 97-11=86, Resulting Numbers: [17, 86]
Generated Node #0,2,0: 90:[17, 86] Operation: 97-11=86
Exploring Operation: 17-11=6, Resulting Numbers: [97, 6]
Generated Node #0,2,1: 90:[97, 6] Operation: 17-11=6
Exploring Operation: 11+17=28, Resulting Numbers: [97, 28]
Generated Node #0,2,2: 90:[97, 28] Operation: 11+17=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[17, 86], Operations: ['34/2=17', '97-11=86']
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[97, 6], Operations: ['34/2=17', '17-11=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,90 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[97, 28], Operations: ['34/2=17', '11+17=28']
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,90 unequal: No Solution
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,90 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: 90:[86, 17], Operations: ['97-11=86', '34/2=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[34, 88], Operations: ['97-11=86', '2+86=88']
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,90 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[86, 32], Operations: ['97-11=86', '34-2=32']
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,90 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,90 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
65,
49,
15
] | 36 | [
"75/15=5",
"65/5=13",
"49-13=36"
] | Current State: 36:[75, 65, 49, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [65, 49, 5]
Generated Node #2: [65, 49, 5] from Operation: 75/15=5
Current State: 36:[65, 49, 5], Operations: ['75/15=5']
Exploring Operation: 65/5=13, Resulting Numbers: [49, 13]
Generated Node #3: [49, 13] from Operation: 65/5=13
Current State: 36:[49, 13], Operations: ['75/15=5', '65/5=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[75, 65, 49, 15], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [49, 15, 10]
Generated Node #0,0: 36:[49, 15, 10] Operation: 75-65=10
Exploring Operation: 75-49=26, Resulting Numbers: [65, 15, 26]
Generated Node #0,1: 36:[65, 15, 26] Operation: 75-49=26
Exploring Operation: 65-49=16, Resulting Numbers: [75, 15, 16]
Generated Node #0,2: 36:[75, 15, 16] Operation: 65-49=16
Exploring Operation: 75-15=60, Resulting Numbers: [65, 49, 60]
Generated Node #0,3: 36:[65, 49, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [65, 49, 5]
Generated Node #0,4: 36:[65, 49, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[49, 15, 10], Operations: ['75-65=10']
Exploring Operation: 15+10=25, Resulting Numbers: [49, 25]
Generated Node #0,0,0: 36:[49, 25] Operation: 15+10=25
Exploring Operation: 49-15=34, Resulting Numbers: [10, 34]
Generated Node #0,0,1: 36:[10, 34] Operation: 49-15=34
Exploring Operation: 15-10=5, Resulting Numbers: [49, 5]
Generated Node #0,0,2: 36:[49, 5] Operation: 15-10=5
Exploring Operation: 49-10=39, Resulting Numbers: [15, 39]
Generated Node #0,0,3: 36:[15, 39] Operation: 49-10=39
Exploring Operation: 49+10=59, Resulting Numbers: [15, 59]
Generated Node #0,0,4: 36:[15, 59] Operation: 49+10=59
Moving to Node #0,0,1
Current State: 36:[10, 34], Operations: ['75-65=10', '49-15=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,36 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[15, 39], Operations: ['75-65=10', '49-10=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,36 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[49, 5], Operations: ['75-65=10', '15-10=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,36 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[49, 25], Operations: ['75-65=10', '15+10=25']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,36 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[15, 59], Operations: ['75-65=10', '49+10=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,36 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,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
Current State: 36:[65, 15, 26], Operations: ['75-49=26']
Exploring Operation: 15+26=41, Resulting Numbers: [65, 41]
Generated Node #0,1,0: 36:[65, 41] Operation: 15+26=41
Exploring Operation: 26-15=11, Resulting Numbers: [65, 11]
Generated Node #0,1,1: 36:[65, 11] Operation: 26-15=11
Exploring Operation: 65+15=80, Resulting Numbers: [26, 80]
Generated Node #0,1,2: 36:[26, 80] Operation: 65+15=80
Exploring Operation: 65-15=50, Resulting Numbers: [26, 50]
Generated Node #0,1,3: 36:[26, 50] Operation: 65-15=50
Exploring Operation: 65-26=39, Resulting Numbers: [15, 39]
Generated Node #0,1,4: 36:[15, 39] Operation: 65-26=39
Moving to Node #0,1,4
Current State: 36:[15, 39], Operations: ['75-49=26', '65-26=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,36 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[26, 50], Operations: ['75-49=26', '65-15=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,36 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[65, 11], Operations: ['75-49=26', '26-15=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[65, 41], Operations: ['75-49=26', '15+26=41']
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,36 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,36 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[26, 80], Operations: ['75-49=26', '65+15=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,36 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,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,4
Current State: 36:[65, 49, 5], Operations: ['75/15=5']
Exploring Operation: 65-49=16, Resulting Numbers: [5, 16]
Generated Node #0,4,0: 36:[5, 16] Operation: 65-49=16
Exploring Operation: 65/5=13, Resulting Numbers: [49, 13]
Generated Node #0,4,1: 36:[49, 13] Operation: 65/5=13
Exploring Operation: 65+5=70, Resulting Numbers: [49, 70]
Generated Node #0,4,2: 36:[49, 70] Operation: 65+5=70
Exploring Operation: 49-5=44, Resulting Numbers: [65, 44]
Generated Node #0,4,3: 36:[65, 44] Operation: 49-5=44
Exploring Operation: 65-5=60, Resulting Numbers: [49, 60]
Generated Node #0,4,4: 36:[49, 60] Operation: 65-5=60
Moving to Node #0,4,0
Current State: 36:[5, 16], Operations: ['75/15=5', '65-49=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[49, 13], Operations: ['75/15=5', '65/5=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[75, 65, 49, 15], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [65, 49, 5]
Generated Node #0,4: 36:[65, 49, 5] Operation: 75/15=5
Moving to Node #0,4
Current State: 36:[65, 49, 5], Operations: ['75/15=5']
Exploring Operation: 65/5=13, Resulting Numbers: [49, 13]
Generated Node #0,4,1: 36:[49, 13] Operation: 65/5=13
Moving to Node #0,4,1
Current State: 36:[49, 13], Operations: ['75/15=5', '65/5=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
89,
74,
36,
51
] | 30 | [
"89-74=15",
"51-36=15",
"15+15=30"
] | Current State: 30:[89, 74, 36, 51], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [36, 51, 15]
Generated Node #2: [36, 51, 15] from Operation: 89-74=15
Current State: 30:[36, 51, 15], Operations: ['89-74=15']
Exploring Operation: 51-36=15, Resulting Numbers: [15, 15]
Generated Node #3: [15, 15] from Operation: 51-36=15
Current State: 30:[15, 15], Operations: ['89-74=15', '51-36=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[89, 74, 36, 51], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [74, 36, 38]
Generated Node #0,0: 30:[74, 36, 38] Operation: 89-51=38
Exploring Operation: 89-74=15, Resulting Numbers: [36, 51, 15]
Generated Node #0,1: 30:[36, 51, 15] Operation: 89-74=15
Moving to Node #0,1
Current State: 30:[36, 51, 15], Operations: ['89-74=15']
Exploring Operation: 51-36=15, Resulting Numbers: [15, 15]
Generated Node #0,1,0: 30:[15, 15] Operation: 51-36=15
Exploring Operation: 51-15=36, Resulting Numbers: [36, 36]
Generated Node #0,1,1: 30:[36, 36] Operation: 51-15=36
Moving to Node #0,0
Current State: 30:[74, 36, 38], Operations: ['89-51=38']
Exploring Operation: 74-36=38, Resulting Numbers: [38, 38]
Generated Node #0,0,0: 30:[38, 38] Operation: 74-36=38
Exploring Operation: 74-38=36, Resulting Numbers: [36, 36]
Generated Node #0,0,1: 30:[36, 36] Operation: 74-38=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[36, 36], Operations: ['89-51=38', '74-38=36']
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[38, 38], Operations: ['89-51=38', '74-36=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,30 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: 30:[15, 15], Operations: ['89-74=15', '51-36=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[89, 74, 36, 51], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [36, 51, 15]
Generated Node #0,1: 30:[36, 51, 15] Operation: 89-74=15
Moving to Node #0,1
Current State: 30:[36, 51, 15], Operations: ['89-74=15']
Exploring Operation: 51-36=15, Resulting Numbers: [15, 15]
Generated Node #0,1,0: 30:[15, 15] Operation: 51-36=15
Moving to Node #0,1,0
Current State: 30:[15, 15], Operations: ['89-74=15', '51-36=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
21,
14,
7,
23
] | 69 | [
"21*23=483",
"14-7=7",
"483/7=69"
] | Current State: 69:[21, 14, 7, 23], Operations: []
Exploring Operation: 21*23=483, Resulting Numbers: [14, 7, 483]
Generated Node #2: [14, 7, 483] from Operation: 21*23=483
Current State: 69:[14, 7, 483], Operations: ['21*23=483']
Exploring Operation: 14-7=7, Resulting Numbers: [483, 7]
Generated Node #3: [483, 7] from Operation: 14-7=7
Current State: 69:[483, 7], Operations: ['21*23=483', '14-7=7']
Exploring Operation: 483/7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[21, 14, 7, 23], Operations: []
Exploring Operation: 14+7=21, Resulting Numbers: [21, 23, 21]
Generated Node #0,0: 69:[21, 23, 21] Operation: 14+7=21
Exploring Operation: 14/7=2, Resulting Numbers: [21, 23, 2]
Generated Node #0,1: 69:[21, 23, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[21, 23, 2], Operations: ['14/7=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23, 23]
Generated Node #0,1,0: 69:[23, 23] Operation: 21+2=23
Exploring Operation: 23-21=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 69:[2, 2] Operation: 23-21=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[23, 23], Operations: ['14/7=2', '21+2=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[2, 2], Operations: ['14/7=2', '23-21=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[21, 23, 21], Operations: ['14+7=21']
Exploring Operation: 23-21=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 69:[21, 2] Operation: 23-21=2
Exploring Operation: 21/21=1, Resulting Numbers: [23, 1]
Generated Node #0,0,1: 69:[23, 1] Operation: 21/21=1
Moving to Node #0,0,1
Current State: 69:[23, 1], Operations: ['14+7=21', '21/21=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[21, 2], Operations: ['14+7=21', '23-21=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,69 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 |
[
73,
15,
82,
58
] | 81 | [
"73-15=58",
"58/58=1",
"82-1=81"
] | Current State: 81:[73, 15, 82, 58], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [82, 58, 58]
Generated Node #2: [82, 58, 58] from Operation: 73-15=58
Current State: 81:[82, 58, 58], Operations: ['73-15=58']
Exploring Operation: 58/58=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 58/58=1
Current State: 81:[82, 1], Operations: ['73-15=58', '58/58=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[73, 15, 82, 58], Operations: []
Exploring Operation: 15+58=73, Resulting Numbers: [73, 82, 73]
Generated Node #0,0: 81:[73, 82, 73] Operation: 15+58=73
Exploring Operation: 73-58=15, Resulting Numbers: [15, 82, 15]
Generated Node #0,1: 81:[15, 82, 15] Operation: 73-58=15
Exploring Operation: 82-58=24, Resulting Numbers: [73, 15, 24]
Generated Node #0,2: 81:[73, 15, 24] Operation: 82-58=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[15, 82, 15], Operations: ['73-58=15']
Exploring Operation: 15-15=0, Resulting Numbers: [82, 0]
Generated Node #0,1,0: 81:[82, 0] Operation: 15-15=0
Exploring Operation: 15/15=1, Resulting Numbers: [82, 1]
Generated Node #0,1,1: 81:[82, 1] Operation: 15/15=1
Exploring Operation: 15+15=30, Resulting Numbers: [82, 30]
Generated Node #0,1,2: 81:[82, 30] Operation: 15+15=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[82, 1], Operations: ['73-58=15', '15/15=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[73, 15, 82, 58], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [15, 82, 15]
Generated Node #0,1: 81:[15, 82, 15] Operation: 73-58=15
Moving to Node #0,1
Current State: 81:[15, 82, 15], Operations: ['73-58=15']
Exploring Operation: 15/15=1, Resulting Numbers: [82, 1]
Generated Node #0,1,1: 81:[82, 1] Operation: 15/15=1
Moving to Node #0,1,1
Current State: 81:[82, 1], Operations: ['73-58=15', '15/15=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
65,
77,
81,
48
] | 61 | [
"81*48=3888",
"77+3888=3965",
"3965/65=61"
] | Current State: 61:[65, 77, 81, 48], Operations: []
Exploring Operation: 81*48=3888, Resulting Numbers: [65, 77, 3888]
Generated Node #2: [65, 77, 3888] from Operation: 81*48=3888
Current State: 61:[65, 77, 3888], Operations: ['81*48=3888']
Exploring Operation: 77+3888=3965, Resulting Numbers: [65, 3965]
Generated Node #3: [65, 3965] from Operation: 77+3888=3965
Current State: 61:[65, 3965], Operations: ['81*48=3888', '77+3888=3965']
Exploring Operation: 3965/65=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 77, 81, 48], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [65, 77, 33]
Generated Node #0,0: 61:[65, 77, 33] Operation: 81-48=33
Exploring Operation: 77-48=29, Resulting Numbers: [65, 81, 29]
Generated Node #0,1: 61:[65, 81, 29] Operation: 77-48=29
Moving to Node #0,0
Current State: 61:[65, 77, 33], Operations: ['81-48=33']
Exploring Operation: 65-33=32, Resulting Numbers: [77, 32]
Generated Node #0,0,0: 61:[77, 32] Operation: 65-33=32
Exploring Operation: 77-33=44, Resulting Numbers: [65, 44]
Generated Node #0,0,1: 61:[65, 44] Operation: 77-33=44
Moving to Node #0,1
Current State: 61:[65, 81, 29], Operations: ['77-48=29']
Exploring Operation: 81-29=52, Resulting Numbers: [65, 52]
Generated Node #0,1,0: 61:[65, 52] Operation: 81-29=52
Exploring Operation: 65-29=36, Resulting Numbers: [81, 36]
Generated Node #0,1,1: 61:[81, 36] Operation: 65-29=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[65, 52], Operations: ['77-48=29', '81-29=52']
Exploring Operation: 65+52=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[81, 36], Operations: ['77-48=29', '65-29=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 61:[65, 44], Operations: ['81-48=33', '77-33=44']
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[77, 32], Operations: ['81-48=33', '65-33=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
60,
14,
75
] | 42 | [
"85-60=25",
"14*75=1050",
"1050/25=42"
] | Current State: 42:[85, 60, 14, 75], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [14, 75, 25]
Generated Node #2: [14, 75, 25] from Operation: 85-60=25
Current State: 42:[14, 75, 25], Operations: ['85-60=25']
Exploring Operation: 14*75=1050, Resulting Numbers: [25, 1050]
Generated Node #3: [25, 1050] from Operation: 14*75=1050
Current State: 42:[25, 1050], Operations: ['85-60=25', '14*75=1050']
Exploring Operation: 1050/25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[85, 60, 14, 75], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [14, 75, 25]
Generated Node #0,0: 42:[14, 75, 25] Operation: 85-60=25
Exploring Operation: 85-75=10, Resulting Numbers: [60, 14, 10]
Generated Node #0,1: 42:[60, 14, 10] Operation: 85-75=10
Exploring Operation: 75-60=15, Resulting Numbers: [85, 14, 15]
Generated Node #0,2: 42:[85, 14, 15] Operation: 75-60=15
Exploring Operation: 85-14=71, Resulting Numbers: [60, 75, 71]
Generated Node #0,3: 42:[60, 75, 71] Operation: 85-14=71
Moving to Node #0,1
Current State: 42:[60, 14, 10], Operations: ['85-75=10']
Exploring Operation: 60/10=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 42:[14, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [14, 50]
Generated Node #0,1,1: 42:[14, 50] Operation: 60-10=50
Exploring Operation: 14-10=4, Resulting Numbers: [60, 4]
Generated Node #0,1,2: 42:[60, 4] Operation: 14-10=4
Exploring Operation: 60-14=46, Resulting Numbers: [10, 46]
Generated Node #0,1,3: 42:[10, 46] Operation: 60-14=46
Moving to Node #0,0
Current State: 42:[14, 75, 25], Operations: ['85-60=25']
Exploring Operation: 14+25=39, Resulting Numbers: [75, 39]
Generated Node #0,0,0: 42:[75, 39] Operation: 14+25=39
Exploring Operation: 75-25=50, Resulting Numbers: [14, 50]
Generated Node #0,0,1: 42:[14, 50] Operation: 75-25=50
Exploring Operation: 75-14=61, Resulting Numbers: [25, 61]
Generated Node #0,0,2: 42:[25, 61] Operation: 75-14=61
Exploring Operation: 75/25=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 42:[14, 3] Operation: 75/25=3
Moving to Node #0,2
Current State: 42:[85, 14, 15], Operations: ['75-60=15']
Exploring Operation: 14+15=29, Resulting Numbers: [85, 29]
Generated Node #0,2,0: 42:[85, 29] Operation: 14+15=29
Exploring Operation: 85-15=70, Resulting Numbers: [14, 70]
Generated Node #0,2,1: 42:[14, 70] Operation: 85-15=70
Exploring Operation: 15-14=1, Resulting Numbers: [85, 1]
Generated Node #0,2,2: 42:[85, 1] Operation: 15-14=1
Exploring Operation: 85-14=71, Resulting Numbers: [15, 71]
Generated Node #0,2,3: 42:[15, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[14, 70], Operations: ['75-60=15', '85-15=70']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,42 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[15, 71], Operations: ['75-60=15', '85-14=71']
Exploring Operation: 15+71=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 15*71=1065, Resulting Numbers: [1065]
1065,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[85, 1], Operations: ['75-60=15', '15-14=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,42 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,42 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[85, 29], Operations: ['75-60=15', '14+15=29']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,42 unequal: No Solution
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,42 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: 42:[60, 75, 71], Operations: ['85-14=71']
Exploring Operation: 75-71=4, Resulting Numbers: [60, 4]
Generated Node #0,3,0: 42:[60, 4] Operation: 75-71=4
Exploring Operation: 71-60=11, Resulting Numbers: [75, 11]
Generated Node #0,3,1: 42:[75, 11] Operation: 71-60=11
Exploring Operation: 75-60=15, Resulting Numbers: [71, 15]
Generated Node #0,3,2: 42:[71, 15] Operation: 75-60=15
Exploring Operation: 60+75=135, Resulting Numbers: [71, 135]
Generated Node #0,3,3: 42:[71, 135] Operation: 60+75=135
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[60, 4], Operations: ['85-14=71', '75-71=4']
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[71, 15], Operations: ['85-14=71', '75-60=15']
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,42 unequal: No Solution
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[75, 11], Operations: ['85-14=71', '71-60=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[71, 135], Operations: ['85-14=71', '60+75=135']
Exploring Operation: 71+135=206, Resulting Numbers: [206]
206,42 unequal: No Solution
Exploring Operation: 135-71=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 71*135=9585, Resulting Numbers: [9585]
9585,42 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: 42:[14, 6], Operations: ['85-75=10', '60/10=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[14, 3], Operations: ['85-60=25', '75/25=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[85, 60, 14, 75], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [14, 75, 25]
Generated Node #0,0: 42:[14, 75, 25] Operation: 85-60=25
Moving to Node #0,0
Current State: 42:[14, 75, 25], Operations: ['85-60=25']
Exploring Operation: 75/25=3, Resulting Numbers: [14, 3]
Generated Node #0,0,3: 42:[14, 3] Operation: 75/25=3
Moving to Node #0,0,3
Current State: 42:[14, 3], Operations: ['85-60=25', '75/25=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.951389 | hs_4 | sum_heuristic |
[
50,
72,
46,
24
] | 25 | [
"72-46=26",
"26-24=2",
"50/2=25"
] | Current State: 25:[50, 72, 46, 24], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [50, 24, 26]
Generated Node #2: [50, 24, 26] from Operation: 72-46=26
Current State: 25:[50, 24, 26], Operations: ['72-46=26']
Exploring Operation: 26-24=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 26-24=2
Current State: 25:[50, 2], Operations: ['72-46=26', '26-24=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[50, 72, 46, 24], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [50, 46, 3]
Generated Node #0,0: 25:[50, 46, 3] Operation: 72/24=3
Exploring Operation: 72-46=26, Resulting Numbers: [50, 24, 26]
Generated Node #0,1: 25:[50, 24, 26] Operation: 72-46=26
Exploring Operation: 72-50=22, Resulting Numbers: [46, 24, 22]
Generated Node #0,2: 25:[46, 24, 22] Operation: 72-50=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[46, 24, 22], Operations: ['72-50=22']
Exploring Operation: 24-22=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 25:[46, 2] Operation: 24-22=2
Exploring Operation: 46-22=24, Resulting Numbers: [24, 24]
Generated Node #0,2,1: 25:[24, 24] Operation: 46-22=24
Exploring Operation: 46-24=22, Resulting Numbers: [22, 22]
Generated Node #0,2,2: 25:[22, 22] Operation: 46-24=22
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[24, 24], Operations: ['72-50=22', '46-22=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[22, 22], Operations: ['72-50=22', '46-24=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[46, 2], Operations: ['72-50=22', '24-22=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[50, 24, 26], Operations: ['72-46=26']
Exploring Operation: 26-24=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 25:[50, 2] Operation: 26-24=2
Exploring Operation: 50-26=24, Resulting Numbers: [24, 24]
Generated Node #0,1,1: 25:[24, 24] Operation: 50-26=24
Exploring Operation: 50-24=26, Resulting Numbers: [26, 26]
Generated Node #0,1,2: 25:[26, 26] Operation: 50-24=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[24, 24], Operations: ['72-46=26', '50-26=24']
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[26, 26], Operations: ['72-46=26', '50-24=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[50, 2], Operations: ['72-46=26', '26-24=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[50, 72, 46, 24], Operations: []
Exploring Operation: 72-46=26, Resulting Numbers: [50, 24, 26]
Generated Node #0,1: 25:[50, 24, 26] Operation: 72-46=26
Moving to Node #0,1
Current State: 25:[50, 24, 26], Operations: ['72-46=26']
Exploring Operation: 26-24=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 25:[50, 2] Operation: 26-24=2
Moving to Node #0,1,0
Current State: 25:[50, 2], Operations: ['72-46=26', '26-24=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
23,
18,
4,
65
] | 99 | [
"23+18=41",
"4*41=164",
"164-65=99"
] | Current State: 99:[23, 18, 4, 65], Operations: []
Exploring Operation: 23+18=41, Resulting Numbers: [4, 65, 41]
Generated Node #2: [4, 65, 41] from Operation: 23+18=41
Current State: 99:[4, 65, 41], Operations: ['23+18=41']
Exploring Operation: 4*41=164, Resulting Numbers: [65, 164]
Generated Node #3: [65, 164] from Operation: 4*41=164
Current State: 99:[65, 164], Operations: ['23+18=41', '4*41=164']
Exploring Operation: 164-65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[23, 18, 4, 65], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [18, 4, 42]
Generated Node #0,0: 99:[18, 4, 42] Operation: 65-23=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[18, 4, 42], Operations: ['65-23=42']
Exploring Operation: 42-18=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 99:[4, 24] Operation: 42-18=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[4, 24], Operations: ['65-23=42', '42-18=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
23,
12,
98
] | 62 | [
"23-20=3",
"12*3=36",
"98-36=62"
] | Current State: 62:[20, 23, 12, 98], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [12, 98, 3]
Generated Node #2: [12, 98, 3] from Operation: 23-20=3
Current State: 62:[12, 98, 3], Operations: ['23-20=3']
Exploring Operation: 12*3=36, Resulting Numbers: [98, 36]
Generated Node #3: [98, 36] from Operation: 12*3=36
Current State: 62:[98, 36], Operations: ['23-20=3', '12*3=36']
Exploring Operation: 98-36=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[20, 23, 12, 98], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [23, 12, 78]
Generated Node #0,0: 62:[23, 12, 78] Operation: 98-20=78
Exploring Operation: 98-23=75, Resulting Numbers: [20, 12, 75]
Generated Node #0,1: 62:[20, 12, 75] Operation: 98-23=75
Exploring Operation: 20+12=32, Resulting Numbers: [23, 98, 32]
Generated Node #0,2: 62:[23, 98, 32] Operation: 20+12=32
Exploring Operation: 98-12=86, Resulting Numbers: [20, 23, 86]
Generated Node #0,3: 62:[20, 23, 86] Operation: 98-12=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[23, 12, 78], Operations: ['98-20=78']
Exploring Operation: 78-12=66, Resulting Numbers: [23, 66]
Generated Node #0,0,0: 62:[23, 66] Operation: 78-12=66
Exploring Operation: 23+12=35, Resulting Numbers: [78, 35]
Generated Node #0,0,1: 62:[78, 35] Operation: 23+12=35
Exploring Operation: 78-23=55, Resulting Numbers: [12, 55]
Generated Node #0,0,2: 62:[12, 55] Operation: 78-23=55
Exploring Operation: 23-12=11, Resulting Numbers: [78, 11]
Generated Node #0,0,3: 62:[78, 11] Operation: 23-12=11
Moving to Node #0,0,0
Current State: 62:[23, 66], Operations: ['98-20=78', '78-12=66']
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,62 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[12, 55], Operations: ['98-20=78', '78-23=55']
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,62 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[78, 35], Operations: ['98-20=78', '23+12=35']
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,62 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[78, 11], Operations: ['98-20=78', '23-12=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 78*11=858, Resulting Numbers: [858]
858,62 unequal: No Solution
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[20, 12, 75], Operations: ['98-23=75']
Exploring Operation: 20-12=8, Resulting Numbers: [75, 8]
Generated Node #0,1,0: 62:[75, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [75, 32]
Generated Node #0,1,1: 62:[75, 32] Operation: 20+12=32
Exploring Operation: 75-12=63, Resulting Numbers: [20, 63]
Generated Node #0,1,2: 62:[20, 63] Operation: 75-12=63
Exploring Operation: 75-20=55, Resulting Numbers: [12, 55]
Generated Node #0,1,3: 62:[12, 55] Operation: 75-20=55
Moving to Node #0,1,2
Current State: 62:[20, 63], Operations: ['98-23=75', '75-12=63']
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,62 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[75, 32], Operations: ['98-23=75', '20+12=32']
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,62 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[12, 55], Operations: ['98-23=75', '75-20=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,62 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[75, 8], Operations: ['98-23=75', '20-12=8']
Exploring Operation: 75+8=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,62 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[20, 23, 86], Operations: ['98-12=86']
Exploring Operation: 86-20=66, Resulting Numbers: [23, 66]
Generated Node #0,3,0: 62:[23, 66] Operation: 86-20=66
Exploring Operation: 23-20=3, Resulting Numbers: [86, 3]
Generated Node #0,3,1: 62:[86, 3] Operation: 23-20=3
Exploring Operation: 20+23=43, Resulting Numbers: [86, 43]
Generated Node #0,3,2: 62:[86, 43] Operation: 20+23=43
Exploring Operation: 86-23=63, Resulting Numbers: [20, 63]
Generated Node #0,3,3: 62:[20, 63] Operation: 86-23=63
Moving to Node #0,3,0
Current State: 62:[23, 66], Operations: ['98-12=86', '86-20=66']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,62 unequal: No Solution
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[20, 63], Operations: ['98-12=86', '86-23=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,62 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[86, 3], Operations: ['98-12=86', '23-20=3']
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,62 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[86, 43], Operations: ['98-12=86', '20+23=43']
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,62 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[23, 98, 32], Operations: ['20+12=32']
Exploring Operation: 32-23=9, Resulting Numbers: [98, 9]
Generated Node #0,2,0: 62:[98, 9] Operation: 32-23=9
Exploring Operation: 98-32=66, Resulting Numbers: [23, 66]
Generated Node #0,2,1: 62:[23, 66] Operation: 98-32=66
Exploring Operation: 98-23=75, Resulting Numbers: [32, 75]
Generated Node #0,2,2: 62:[32, 75] Operation: 98-23=75
Exploring Operation: 23+32=55, Resulting Numbers: [98, 55]
Generated Node #0,2,3: 62:[98, 55] Operation: 23+32=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[23, 66], Operations: ['20+12=32', '98-32=66']
Exploring Operation: 23+66=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 23*66=1518, Resulting Numbers: [1518]
1518,62 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[32, 75], Operations: ['20+12=32', '98-23=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,62 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[98, 9], Operations: ['20+12=32', '32-23=9']
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,62 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,62 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 62:[98, 55], Operations: ['20+12=32', '23+32=55']
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 98*55=5390, Resulting Numbers: [5390]
5390,62 unequal: No Solution
Exploring Operation: 98+55=153, Resulting Numbers: [153]
153,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
13,
42,
8
] | 24 | [
"13+8=21",
"42/21=2",
"22+2=24"
] | Current State: 24:[22, 13, 42, 8], Operations: []
Exploring Operation: 13+8=21, Resulting Numbers: [22, 42, 21]
Generated Node #2: [22, 42, 21] from Operation: 13+8=21
Current State: 24:[22, 42, 21], Operations: ['13+8=21']
Exploring Operation: 42/21=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 42/21=2
Current State: 24:[22, 2], Operations: ['13+8=21', '42/21=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[22, 13, 42, 8], Operations: []
Exploring Operation: 42-8=34, Resulting Numbers: [22, 13, 34]
Generated Node #0,0: 24:[22, 13, 34] Operation: 42-8=34
Exploring Operation: 42-22=20, Resulting Numbers: [13, 8, 20]
Generated Node #0,1: 24:[13, 8, 20] Operation: 42-22=20
Exploring Operation: 22-13=9, Resulting Numbers: [42, 8, 9]
Generated Node #0,2: 24:[42, 8, 9] Operation: 22-13=9
Exploring Operation: 42-13=29, Resulting Numbers: [22, 8, 29]
Generated Node #0,3: 24:[22, 8, 29] Operation: 42-13=29
Moving to Node #0,1
Current State: 24:[13, 8, 20], Operations: ['42-22=20']
Exploring Operation: 8+20=28, Resulting Numbers: [13, 28]
Generated Node #0,1,0: 24:[13, 28] Operation: 8+20=28
Exploring Operation: 20-13=7, Resulting Numbers: [8, 7]
Generated Node #0,1,1: 24:[8, 7] Operation: 20-13=7
Exploring Operation: 13-8=5, Resulting Numbers: [20, 5]
Generated Node #0,1,2: 24:[20, 5] Operation: 13-8=5
Exploring Operation: 20-8=12, Resulting Numbers: [13, 12]
Generated Node #0,1,3: 24:[13, 12] Operation: 20-8=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[8, 7], Operations: ['42-22=20', '20-13=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[13, 12], Operations: ['42-22=20', '20-8=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[13, 28], Operations: ['42-22=20', '8+20=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[20, 5], Operations: ['42-22=20', '13-8=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,24 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: 24:[22, 8, 29], Operations: ['42-13=29']
Exploring Operation: 29-22=7, Resulting Numbers: [8, 7]
Generated Node #0,3,0: 24:[8, 7] Operation: 29-22=7
Exploring Operation: 22-8=14, Resulting Numbers: [29, 14]
Generated Node #0,3,1: 24:[29, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [29, 30]
Generated Node #0,3,2: 24:[29, 30] Operation: 22+8=30
Exploring Operation: 29-8=21, Resulting Numbers: [22, 21]
Generated Node #0,3,3: 24:[22, 21] Operation: 29-8=21
Moving to Node #0,0
Current State: 24:[22, 13, 34], Operations: ['42-8=34']
Exploring Operation: 22-13=9, Resulting Numbers: [34, 9]
Generated Node #0,0,0: 24:[34, 9] Operation: 22-13=9
Exploring Operation: 34-22=12, Resulting Numbers: [13, 12]
Generated Node #0,0,1: 24:[13, 12] Operation: 34-22=12
Exploring Operation: 22+13=35, Resulting Numbers: [34, 35]
Generated Node #0,0,2: 24:[34, 35] Operation: 22+13=35
Exploring Operation: 34-13=21, Resulting Numbers: [22, 21]
Generated Node #0,0,3: 24:[22, 21] Operation: 34-13=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[13, 12], Operations: ['42-8=34', '34-22=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,24 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[22, 21], Operations: ['42-8=34', '34-13=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,24 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[34, 9], Operations: ['42-8=34', '22-13=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,24 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[34, 35], Operations: ['42-8=34', '22+13=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,24 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,24 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: 24:[42, 8, 9], Operations: ['22-13=9']
Exploring Operation: 8+9=17, Resulting Numbers: [42, 17]
Generated Node #0,2,0: 24:[42, 17] Operation: 8+9=17
Exploring Operation: 9-8=1, Resulting Numbers: [42, 1]
Generated Node #0,2,1: 24:[42, 1] Operation: 9-8=1
Exploring Operation: 42-8=34, Resulting Numbers: [9, 34]
Generated Node #0,2,2: 24:[9, 34] Operation: 42-8=34
Exploring Operation: 42-9=33, Resulting Numbers: [8, 33]
Generated Node #0,2,3: 24:[8, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[8, 33], Operations: ['22-13=9', '42-9=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[9, 34], Operations: ['22-13=9', '42-8=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,24 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[42, 1], Operations: ['22-13=9', '9-8=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[42, 17], Operations: ['22-13=9', '8+9=17']
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 24:[8, 7], Operations: ['42-13=29', '29-22=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[22, 21], Operations: ['42-13=29', '29-8=21']
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,24 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[29, 14], Operations: ['42-13=29', '22-8=14']
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,24 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[29, 30], Operations: ['42-13=29', '22+8=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,24 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
29,
82,
17,
19
] | 17 | [
"82-29=53",
"17+19=36",
"53-36=17"
] | Current State: 17:[29, 82, 17, 19], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [17, 19, 53]
Generated Node #2: [17, 19, 53] from Operation: 82-29=53
Current State: 17:[17, 19, 53], Operations: ['82-29=53']
Exploring Operation: 17+19=36, Resulting Numbers: [53, 36]
Generated Node #3: [53, 36] from Operation: 17+19=36
Current State: 17:[53, 36], Operations: ['82-29=53', '17+19=36']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[29, 82, 17, 19], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [29, 17, 63]
Generated Node #0,0: 17:[29, 17, 63] Operation: 82-19=63
Exploring Operation: 82-29=53, Resulting Numbers: [17, 19, 53]
Generated Node #0,1: 17:[17, 19, 53] Operation: 82-29=53
Moving to Node #0,1
Current State: 17:[17, 19, 53], Operations: ['82-29=53']
Exploring Operation: 53-19=34, Resulting Numbers: [17, 34]
Generated Node #0,1,0: 17:[17, 34] Operation: 53-19=34
Exploring Operation: 53-17=36, Resulting Numbers: [19, 36]
Generated Node #0,1,1: 17:[19, 36] Operation: 53-17=36
Moving to Node #0,0
Current State: 17:[29, 17, 63], Operations: ['82-19=63']
Exploring Operation: 63-17=46, Resulting Numbers: [29, 46]
Generated Node #0,0,0: 17:[29, 46] Operation: 63-17=46
Exploring Operation: 63-29=34, Resulting Numbers: [17, 34]
Generated Node #0,0,1: 17:[17, 34] Operation: 63-29=34
Moving to Node #0,1,0
Current State: 17:[17, 34], Operations: ['82-29=53', '53-19=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[29, 82, 17, 19], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [17, 19, 53]
Generated Node #0,1: 17:[17, 19, 53] Operation: 82-29=53
Moving to Node #0,1
Current State: 17:[17, 19, 53], Operations: ['82-29=53']
Exploring Operation: 53-19=34, Resulting Numbers: [17, 34]
Generated Node #0,1,0: 17:[17, 34] Operation: 53-19=34
Moving to Node #0,1,0
Current State: 17:[17, 34], Operations: ['82-29=53', '53-19=34']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
61,
1,
49,
87
] | 99 | [
"61*1=61",
"87-49=38",
"61+38=99"
] | Current State: 99:[61, 1, 49, 87], Operations: []
Exploring Operation: 61*1=61, Resulting Numbers: [49, 87, 61]
Generated Node #2: [49, 87, 61] from Operation: 61*1=61
Current State: 99:[49, 87, 61], Operations: ['61*1=61']
Exploring Operation: 87-49=38, Resulting Numbers: [61, 38]
Generated Node #3: [61, 38] from Operation: 87-49=38
Current State: 99:[61, 38], Operations: ['61*1=61', '87-49=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[61, 1, 49, 87], Operations: []
Exploring Operation: 61+49=110, Resulting Numbers: [1, 87, 110]
Generated Node #0,0: 99:[1, 87, 110] Operation: 61+49=110
Exploring Operation: 87-61=26, Resulting Numbers: [1, 49, 26]
Generated Node #0,1: 99:[1, 49, 26] Operation: 87-61=26
Exploring Operation: 87-49=38, Resulting Numbers: [61, 1, 38]
Generated Node #0,2: 99:[61, 1, 38] Operation: 87-49=38
Exploring Operation: 61-49=12, Resulting Numbers: [1, 87, 12]
Generated Node #0,3: 99:[1, 87, 12] Operation: 61-49=12
Moving to Node #0,3
Current State: 99:[1, 87, 12], Operations: ['61-49=12']
Exploring Operation: 87+12=99, Resulting Numbers: [1, 99]
Generated Node #0,3,0: 99:[1, 99] Operation: 87+12=99
Exploring Operation: 1*87=87, Resulting Numbers: [12, 87]
Generated Node #0,3,1: 99:[12, 87] Operation: 1*87=87
Exploring Operation: 12-1=11, Resulting Numbers: [87, 11]
Generated Node #0,3,2: 99:[87, 11] Operation: 12-1=11
Exploring Operation: 1+87=88, Resulting Numbers: [12, 88]
Generated Node #0,3,3: 99:[12, 88] Operation: 1+87=88
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 99:[1, 99], Operations: ['61-49=12', '87+12=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[61, 1, 49, 87], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [1, 87, 12]
Generated Node #0,3: 99:[1, 87, 12] Operation: 61-49=12
Moving to Node #0,3
Current State: 99:[1, 87, 12], Operations: ['61-49=12']
Exploring Operation: 87+12=99, Resulting Numbers: [1, 99]
Generated Node #0,3,0: 99:[1, 99] Operation: 87+12=99
Moving to Node #0,3,0
Current State: 99:[1, 99], Operations: ['61-49=12', '87+12=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
21,
15,
17,
80
] | 99 | [
"21+15=36",
"80-17=63",
"36+63=99"
] | Current State: 99:[21, 15, 17, 80], Operations: []
Exploring Operation: 21+15=36, Resulting Numbers: [17, 80, 36]
Generated Node #2: [17, 80, 36] from Operation: 21+15=36
Current State: 99:[17, 80, 36], Operations: ['21+15=36']
Exploring Operation: 80-17=63, Resulting Numbers: [36, 63]
Generated Node #3: [36, 63] from Operation: 80-17=63
Current State: 99:[36, 63], Operations: ['21+15=36', '80-17=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[21, 15, 17, 80], Operations: []
Exploring Operation: 21+80=101, Resulting Numbers: [15, 17, 101]
Generated Node #0,0: 99:[15, 17, 101] Operation: 21+80=101
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[15, 17, 101], Operations: ['21+80=101']
Exploring Operation: 15+17=32, Resulting Numbers: [101, 32]
Generated Node #0,0,0: 99:[101, 32] Operation: 15+17=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[101, 32], Operations: ['21+80=101', '15+17=32']
Exploring Operation: 101-32=69, Resulting Numbers: [69]
69,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
60,
40,
42
] | 98 | [
"60-40=20",
"7*20=140",
"140-42=98"
] | Current State: 98:[7, 60, 40, 42], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [7, 42, 20]
Generated Node #2: [7, 42, 20] from Operation: 60-40=20
Current State: 98:[7, 42, 20], Operations: ['60-40=20']
Exploring Operation: 7*20=140, Resulting Numbers: [42, 140]
Generated Node #3: [42, 140] from Operation: 7*20=140
Current State: 98:[42, 140], Operations: ['60-40=20', '7*20=140']
Exploring Operation: 140-42=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[7, 60, 40, 42], Operations: []
Exploring Operation: 60+42=102, Resulting Numbers: [7, 40, 102]
Generated Node #0,0: 98:[7, 40, 102] Operation: 60+42=102
Exploring Operation: 60+40=100, Resulting Numbers: [7, 42, 100]
Generated Node #0,1: 98:[7, 42, 100] Operation: 60+40=100
Exploring Operation: 42-40=2, Resulting Numbers: [7, 60, 2]
Generated Node #0,2: 98:[7, 60, 2] Operation: 42-40=2
Exploring Operation: 60-42=18, Resulting Numbers: [7, 40, 18]
Generated Node #0,3: 98:[7, 40, 18] Operation: 60-42=18
Exploring Operation: 60-40=20, Resulting Numbers: [7, 42, 20]
Generated Node #0,4: 98:[7, 42, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[7, 42, 100], Operations: ['60+40=100']
Exploring Operation: 100-42=58, Resulting Numbers: [7, 58]
Generated Node #0,1,0: 98:[7, 58] Operation: 100-42=58
Exploring Operation: 7+42=49, Resulting Numbers: [100, 49]
Generated Node #0,1,1: 98:[100, 49] Operation: 7+42=49
Exploring Operation: 42/7=6, Resulting Numbers: [100, 6]
Generated Node #0,1,2: 98:[100, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [100, 35]
Generated Node #0,1,3: 98:[100, 35] Operation: 42-7=35
Exploring Operation: 100-7=93, Resulting Numbers: [42, 93]
Generated Node #0,1,4: 98:[42, 93] Operation: 100-7=93
Moving to Node #0,1,1
Current State: 98:[100, 49], Operations: ['60+40=100', '7+42=49']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 100+49=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 100*49=4900, Resulting Numbers: [4900]
4900,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[100, 6], Operations: ['60+40=100', '42/7=6']
Exploring Operation: 100*6=600, Resulting Numbers: [600]
600,98 unequal: No Solution
Exploring Operation: 100+6=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[7, 58], Operations: ['60+40=100', '100-42=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,98 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Moving to Node #0,1,4
Current State: 98:[42, 93], Operations: ['60+40=100', '100-7=93']
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[100, 35], Operations: ['60+40=100', '42-7=35']
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 100+35=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 100*35=3500, Resulting Numbers: [3500]
3500,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[7, 60, 2], Operations: ['42-40=2']
Exploring Operation: 7-2=5, Resulting Numbers: [60, 5]
Generated Node #0,2,0: 98:[60, 5] Operation: 7-2=5
Exploring Operation: 60-7=53, Resulting Numbers: [2, 53]
Generated Node #0,2,1: 98:[2, 53] Operation: 60-7=53
Exploring Operation: 7*2=14, Resulting Numbers: [60, 14]
Generated Node #0,2,2: 98:[60, 14] Operation: 7*2=14
Exploring Operation: 60-2=58, Resulting Numbers: [7, 58]
Generated Node #0,2,3: 98:[7, 58] Operation: 60-2=58
Exploring Operation: 7+2=9, Resulting Numbers: [60, 9]
Generated Node #0,2,4: 98:[60, 9] Operation: 7+2=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[2, 53], Operations: ['42-40=2', '60-7=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[7, 58], Operations: ['42-40=2', '60-2=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[60, 14], Operations: ['42-40=2', '7*2=14']
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,98 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[60, 5], Operations: ['42-40=2', '7-2=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,98 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 98:[60, 9], Operations: ['42-40=2', '7+2=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,98 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,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:[7, 40, 102], Operations: ['60+42=102']
Exploring Operation: 40-7=33, Resulting Numbers: [102, 33]
Generated Node #0,0,0: 98:[102, 33] Operation: 40-7=33
Exploring Operation: 7+102=109, Resulting Numbers: [40, 109]
Generated Node #0,0,1: 98:[40, 109] Operation: 7+102=109
Exploring Operation: 102-7=95, Resulting Numbers: [40, 95]
Generated Node #0,0,2: 98:[40, 95] Operation: 102-7=95
Exploring Operation: 7+40=47, Resulting Numbers: [102, 47]
Generated Node #0,0,3: 98:[102, 47] Operation: 7+40=47
Exploring Operation: 102-40=62, Resulting Numbers: [7, 62]
Generated Node #0,0,4: 98:[7, 62] Operation: 102-40=62
Moving to Node #0,0,3
Current State: 98:[102, 47], Operations: ['60+42=102', '7+40=47']
Exploring Operation: 102*47=4794, Resulting Numbers: [4794]
4794,98 unequal: No Solution
Exploring Operation: 102+47=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[40, 95], Operations: ['60+42=102', '102-7=95']
Exploring Operation: 40+95=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 40*95=3800, Resulting Numbers: [3800]
3800,98 unequal: No Solution
Exploring Operation: 95-40=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[7, 62], Operations: ['60+42=102', '102-40=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,98 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[102, 33], Operations: ['60+42=102', '40-7=33']
Exploring Operation: 102+33=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 102*33=3366, Resulting Numbers: [3366]
3366,98 unequal: No Solution
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[40, 109], Operations: ['60+42=102', '7+102=109']
Exploring Operation: 40+109=149, Resulting Numbers: [149]
149,98 unequal: No Solution
Exploring Operation: 109-40=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 40*109=4360, Resulting Numbers: [4360]
4360,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:[7, 40, 18], Operations: ['60-42=18']
Exploring Operation: 40+18=58, Resulting Numbers: [7, 58]
Generated Node #0,3,0: 98:[7, 58] Operation: 40+18=58
Exploring Operation: 18-7=11, Resulting Numbers: [40, 11]
Generated Node #0,3,1: 98:[40, 11] Operation: 18-7=11
Exploring Operation: 40-7=33, Resulting Numbers: [18, 33]
Generated Node #0,3,2: 98:[18, 33] Operation: 40-7=33
Exploring Operation: 40-18=22, Resulting Numbers: [7, 22]
Generated Node #0,3,3: 98:[7, 22] Operation: 40-18=22
Exploring Operation: 7+40=47, Resulting Numbers: [18, 47]
Generated Node #0,3,4: 98:[18, 47] Operation: 7+40=47
Moving to Node #0,3,4
Current State: 98:[18, 47], Operations: ['60-42=18', '7+40=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[7, 22], Operations: ['60-42=18', '40-18=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[7, 58], Operations: ['60-42=18', '40+18=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,98 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[40, 11], Operations: ['60-42=18', '18-7=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,98 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[18, 33], Operations: ['60-42=18', '40-7=33']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,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,4
Current State: 98:[7, 42, 20], Operations: ['60-40=20']
Exploring Operation: 42/7=6, Resulting Numbers: [20, 6]
Generated Node #0,4,0: 98:[20, 6] Operation: 42/7=6
Exploring Operation: 42-20=22, Resulting Numbers: [7, 22]
Generated Node #0,4,1: 98:[7, 22] Operation: 42-20=22
Exploring Operation: 7+42=49, Resulting Numbers: [20, 49]
Generated Node #0,4,2: 98:[20, 49] Operation: 7+42=49
Exploring Operation: 20-7=13, Resulting Numbers: [42, 13]
Generated Node #0,4,3: 98:[42, 13] Operation: 20-7=13
Exploring Operation: 42+20=62, Resulting Numbers: [7, 62]
Generated Node #0,4,4: 98:[7, 62] Operation: 42+20=62
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 98:[20, 49], Operations: ['60-40=20', '7+42=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,98 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,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,4,0
Current State: 98:[20, 6], Operations: ['60-40=20', '42/7=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,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,4,1
Current State: 98:[7, 22], Operations: ['60-40=20', '42-20=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,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,4,3
Current State: 98:[42, 13], Operations: ['60-40=20', '20-7=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,98 unequal: No Solution
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 98:[7, 62], Operations: ['60-40=20', '42+20=62']
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,98 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
93,
9,
3,
98
] | 76 | [
"93/3=31",
"9+98=107",
"107-31=76"
] | Current State: 76:[93, 9, 3, 98], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [9, 98, 31]
Generated Node #2: [9, 98, 31] from Operation: 93/3=31
Current State: 76:[9, 98, 31], Operations: ['93/3=31']
Exploring Operation: 9+98=107, Resulting Numbers: [31, 107]
Generated Node #3: [31, 107] from Operation: 9+98=107
Current State: 76:[31, 107], Operations: ['93/3=31', '9+98=107']
Exploring Operation: 107-31=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[93, 9, 3, 98], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [93, 3, 89]
Generated Node #0,0: 76:[93, 3, 89] Operation: 98-9=89
Exploring Operation: 98-93=5, Resulting Numbers: [9, 3, 5]
Generated Node #0,1: 76:[9, 3, 5] Operation: 98-93=5
Exploring Operation: 93/3=31, Resulting Numbers: [9, 98, 31]
Generated Node #0,2: 76:[9, 98, 31] Operation: 93/3=31
Exploring Operation: 93-9=84, Resulting Numbers: [3, 98, 84]
Generated Node #0,3: 76:[3, 98, 84] Operation: 93-9=84
Exploring Operation: 9/3=3, Resulting Numbers: [93, 98, 3]
Generated Node #0,4: 76:[93, 98, 3] Operation: 9/3=3
Moving to Node #0,1
Current State: 76:[9, 3, 5], Operations: ['98-93=5']
Exploring Operation: 9-5=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 76:[3, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [3, 14]
Generated Node #0,1,1: 76:[3, 14] Operation: 9+5=14
Exploring Operation: 9-3=6, Resulting Numbers: [5, 6]
Generated Node #0,1,2: 76:[5, 6] Operation: 9-3=6
Exploring Operation: 5-3=2, Resulting Numbers: [9, 2]
Generated Node #0,1,3: 76:[9, 2] Operation: 5-3=2
Exploring Operation: 9/3=3, Resulting Numbers: [5, 3]
Generated Node #0,1,4: 76:[5, 3] Operation: 9/3=3
Moving to Node #0,3
Current State: 76:[3, 98, 84], Operations: ['93-9=84']
Exploring Operation: 3+98=101, Resulting Numbers: [84, 101]
Generated Node #0,3,0: 76:[84, 101] Operation: 3+98=101
Exploring Operation: 98-3=95, Resulting Numbers: [84, 95]
Generated Node #0,3,1: 76:[84, 95] Operation: 98-3=95
Exploring Operation: 84-3=81, Resulting Numbers: [98, 81]
Generated Node #0,3,2: 76:[98, 81] Operation: 84-3=81
Exploring Operation: 98-84=14, Resulting Numbers: [3, 14]
Generated Node #0,3,3: 76:[3, 14] Operation: 98-84=14
Exploring Operation: 84/3=28, Resulting Numbers: [98, 28]
Generated Node #0,3,4: 76:[98, 28] Operation: 84/3=28
Moving to Node #0,0
Current State: 76:[93, 3, 89], Operations: ['98-9=89']
Exploring Operation: 93-3=90, Resulting Numbers: [89, 90]
Generated Node #0,0,0: 76:[89, 90] Operation: 93-3=90
Exploring Operation: 93-89=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 76:[3, 4] Operation: 93-89=4
Exploring Operation: 93+3=96, Resulting Numbers: [89, 96]
Generated Node #0,0,2: 76:[89, 96] Operation: 93+3=96
Exploring Operation: 89-3=86, Resulting Numbers: [93, 86]
Generated Node #0,0,3: 76:[93, 86] Operation: 89-3=86
Exploring Operation: 93/3=31, Resulting Numbers: [89, 31]
Generated Node #0,0,4: 76:[89, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[3, 4], Operations: ['98-9=89', '93-89=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[89, 31], Operations: ['98-9=89', '93/3=31']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,76 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[89, 90], Operations: ['98-9=89', '93-3=90']
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,76 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[93, 86], Operations: ['98-9=89', '89-3=86']
Exploring Operation: 93+86=179, Resulting Numbers: [179]
179,76 unequal: No Solution
Exploring Operation: 93-86=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 93*86=7998, Resulting Numbers: [7998]
7998,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[89, 96], Operations: ['98-9=89', '93+3=96']
Exploring Operation: 89*96=8544, Resulting Numbers: [8544]
8544,76 unequal: No Solution
Exploring Operation: 96-89=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 89+96=185, Resulting Numbers: [185]
185,76 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: 76:[9, 98, 31], Operations: ['93/3=31']
Exploring Operation: 9+31=40, Resulting Numbers: [98, 40]
Generated Node #0,2,0: 76:[98, 40] Operation: 9+31=40
Exploring Operation: 9+98=107, Resulting Numbers: [31, 107]
Generated Node #0,2,1: 76:[31, 107] Operation: 9+98=107
Exploring Operation: 98-31=67, Resulting Numbers: [9, 67]
Generated Node #0,2,2: 76:[9, 67] Operation: 98-31=67
Exploring Operation: 31-9=22, Resulting Numbers: [98, 22]
Generated Node #0,2,3: 76:[98, 22] Operation: 31-9=22
Exploring Operation: 98-9=89, Resulting Numbers: [31, 89]
Generated Node #0,2,4: 76:[31, 89] Operation: 98-9=89
Moving to Node #0,4
Current State: 76:[93, 98, 3], Operations: ['9/3=3']
Exploring Operation: 93+3=96, Resulting Numbers: [98, 96]
Generated Node #0,4,0: 76:[98, 96] Operation: 93+3=96
Exploring Operation: 93-3=90, Resulting Numbers: [98, 90]
Generated Node #0,4,1: 76:[98, 90] Operation: 93-3=90
Exploring Operation: 98-3=95, Resulting Numbers: [93, 95]
Generated Node #0,4,2: 76:[93, 95] Operation: 98-3=95
Exploring Operation: 98-93=5, Resulting Numbers: [3, 5]
Generated Node #0,4,3: 76:[3, 5] Operation: 98-93=5
Exploring Operation: 93/3=31, Resulting Numbers: [98, 31]
Generated Node #0,4,4: 76:[98, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[3, 5], Operations: ['9/3=3', '98-93=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[98, 31], Operations: ['9/3=3', '93/3=31']
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,76 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[98, 90], Operations: ['9/3=3', '93-3=90']
Exploring Operation: 98+90=188, Resulting Numbers: [188]
188,76 unequal: No Solution
Exploring Operation: 98*90=8820, Resulting Numbers: [8820]
8820,76 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[93, 95], Operations: ['9/3=3', '98-3=95']
Exploring Operation: 93*95=8835, Resulting Numbers: [8835]
8835,76 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 93+95=188, Resulting Numbers: [188]
188,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[98, 96], Operations: ['9/3=3', '93+3=96']
Exploring Operation: 98+96=194, Resulting Numbers: [194]
194,76 unequal: No Solution
Exploring Operation: 98*96=9408, Resulting Numbers: [9408]
9408,76 unequal: No Solution
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,76 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: 76:[3, 4], Operations: ['98-93=5', '9-5=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[5, 3], Operations: ['98-93=5', '9/3=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[5, 6], Operations: ['98-93=5', '9-3=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[9, 2], Operations: ['98-93=5', '5-3=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[3, 14], Operations: ['93-9=84', '98-84=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[3, 14], Operations: ['98-93=5', '9+5=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[9, 67], Operations: ['93/3=31', '98-31=67']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,76 unequal: No Solution
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[93, 9, 3, 98], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [9, 98, 31]
Generated Node #0,2: 76:[9, 98, 31] Operation: 93/3=31
Moving to Node #0,2
Current State: 76:[9, 98, 31], Operations: ['93/3=31']
Exploring Operation: 98-31=67, Resulting Numbers: [9, 67]
Generated Node #0,2,2: 76:[9, 67] Operation: 98-31=67
Moving to Node #0,2,2
Current State: 76:[9, 67], Operations: ['93/3=31', '98-31=67']
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
59,
23,
46,
87
] | 51 | [
"59+23=82",
"46+87=133",
"133-82=51"
] | Current State: 51:[59, 23, 46, 87], Operations: []
Exploring Operation: 59+23=82, Resulting Numbers: [46, 87, 82]
Generated Node #2: [46, 87, 82] from Operation: 59+23=82
Current State: 51:[46, 87, 82], Operations: ['59+23=82']
Exploring Operation: 46+87=133, Resulting Numbers: [82, 133]
Generated Node #3: [82, 133] from Operation: 46+87=133
Current State: 51:[82, 133], Operations: ['59+23=82', '46+87=133']
Exploring Operation: 133-82=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[59, 23, 46, 87], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [59, 23, 41]
Generated Node #0,0: 51:[59, 23, 41] Operation: 87-46=41
Exploring Operation: 87-23=64, Resulting Numbers: [59, 46, 64]
Generated Node #0,1: 51:[59, 46, 64] Operation: 87-23=64
Exploring Operation: 46/23=2, Resulting Numbers: [59, 87, 2]
Generated Node #0,2: 51:[59, 87, 2] Operation: 46/23=2
Exploring Operation: 87-59=28, Resulting Numbers: [23, 46, 28]
Generated Node #0,3: 51:[23, 46, 28] Operation: 87-59=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[23, 46, 28], Operations: ['87-59=28']
Exploring Operation: 46/23=2, Resulting Numbers: [28, 2]
Generated Node #0,3,0: 51:[28, 2] Operation: 46/23=2
Exploring Operation: 28-23=5, Resulting Numbers: [46, 5]
Generated Node #0,3,1: 51:[46, 5] Operation: 28-23=5
Exploring Operation: 23+28=51, Resulting Numbers: [46, 51]
Generated Node #0,3,2: 51:[46, 51] Operation: 23+28=51
Exploring Operation: 46-28=18, Resulting Numbers: [23, 18]
Generated Node #0,3,3: 51:[23, 18] Operation: 46-28=18
Moving to Node #0,3,2
Current State: 51:[46, 51], Operations: ['87-59=28', '23+28=51']
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[23, 18], Operations: ['87-59=28', '46-28=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[46, 5], Operations: ['87-59=28', '28-23=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,51 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[59, 23, 46, 87], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [23, 46, 28]
Generated Node #0,3: 51:[23, 46, 28] Operation: 87-59=28
Moving to Node #0,3
Current State: 51:[23, 46, 28], Operations: ['87-59=28']
Exploring Operation: 28-23=5, Resulting Numbers: [46, 5]
Generated Node #0,3,1: 51:[46, 5] Operation: 28-23=5
Moving to Node #0,3,1
Current State: 51:[46, 5], Operations: ['87-59=28', '28-23=5']
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
54,
28,
96,
38
] | 32 | [
"54-28=26",
"96-38=58",
"58-26=32"
] | Current State: 32:[54, 28, 96, 38], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [96, 38, 26]
Generated Node #2: [96, 38, 26] from Operation: 54-28=26
Current State: 32:[96, 38, 26], Operations: ['54-28=26']
Exploring Operation: 96-38=58, Resulting Numbers: [26, 58]
Generated Node #3: [26, 58] from Operation: 96-38=58
Current State: 32:[26, 58], Operations: ['54-28=26', '96-38=58']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[54, 28, 96, 38], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [28, 38, 42]
Generated Node #0,0: 32:[28, 38, 42] Operation: 96-54=42
Moving to Node #0,0
Current State: 32:[28, 38, 42], Operations: ['96-54=42']
Exploring Operation: 42-38=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 32:[28, 4] Operation: 42-38=4
Moving to Node #0,0,0
Current State: 32:[28, 4], Operations: ['96-54=42', '42-38=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[54, 28, 96, 38], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [28, 38, 42]
Generated Node #0,0: 32:[28, 38, 42] Operation: 96-54=42
Moving to Node #0,0
Current State: 32:[28, 38, 42], Operations: ['96-54=42']
Exploring Operation: 42-38=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 32:[28, 4] Operation: 42-38=4
Moving to Node #0,0,0
Current State: 32:[28, 4], Operations: ['96-54=42', '42-38=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
20,
87,
87,
11
] | 30 | [
"20+11=31",
"87/87=1",
"31-1=30"
] | Current State: 30:[20, 87, 87, 11], Operations: []
Exploring Operation: 20+11=31, Resulting Numbers: [87, 87, 31]
Generated Node #2: [87, 87, 31] from Operation: 20+11=31
Current State: 30:[87, 87, 31], Operations: ['20+11=31']
Exploring Operation: 87/87=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 87/87=1
Current State: 30:[31, 1], Operations: ['20+11=31', '87/87=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 87, 87, 11], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [20, 11, 0]
Generated Node #0,0: 30:[20, 11, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [20, 11, 1]
Generated Node #0,1: 30:[20, 11, 1] Operation: 87/87=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[20, 11, 1], Operations: ['87/87=1']
Exploring Operation: 20-11=9, Resulting Numbers: [1, 9]
Generated Node #0,1,0: 30:[1, 9] Operation: 20-11=9
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #0,1,1: 30:[1, 31] Operation: 20+11=31
Moving to Node #0,1,0
Current State: 30:[1, 9], Operations: ['87/87=1', '20-11=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[1, 31], Operations: ['87/87=1', '20+11=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[20, 87, 87, 11], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [20, 11, 1]
Generated Node #0,1: 30:[20, 11, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 30:[20, 11, 1], Operations: ['87/87=1']
Exploring Operation: 20+11=31, Resulting Numbers: [1, 31]
Generated Node #0,1,1: 30:[1, 31] Operation: 20+11=31
Moving to Node #0,1,1
Current State: 30:[1, 31], Operations: ['87/87=1', '20+11=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
83,
62,
31,
25
] | 35 | [
"83-62=21",
"31+25=56",
"56-21=35"
] | Current State: 35:[83, 62, 31, 25], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [31, 25, 21]
Generated Node #2: [31, 25, 21] from Operation: 83-62=21
Current State: 35:[31, 25, 21], Operations: ['83-62=21']
Exploring Operation: 31+25=56, Resulting Numbers: [21, 56]
Generated Node #3: [21, 56] from Operation: 31+25=56
Current State: 35:[21, 56], Operations: ['83-62=21', '31+25=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[83, 62, 31, 25], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [62, 25, 52]
Generated Node #0,0: 35:[62, 25, 52] Operation: 83-31=52
Exploring Operation: 83-62=21, Resulting Numbers: [31, 25, 21]
Generated Node #0,1: 35:[31, 25, 21] Operation: 83-62=21
Exploring Operation: 83-25=58, Resulting Numbers: [62, 31, 58]
Generated Node #0,2: 35:[62, 31, 58] Operation: 83-25=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[31, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-21=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 35:[31, 4] Operation: 25-21=4
Exploring Operation: 31-21=10, Resulting Numbers: [25, 10]
Generated Node #0,1,1: 35:[25, 10] Operation: 31-21=10
Exploring Operation: 31-25=6, Resulting Numbers: [21, 6]
Generated Node #0,1,2: 35:[21, 6] Operation: 31-25=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[31, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[83, 62, 31, 25], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [31, 25, 21]
Generated Node #0,1: 35:[31, 25, 21] Operation: 83-62=21
Moving to Node #0,1
Current State: 35:[31, 25, 21], Operations: ['83-62=21']
Exploring Operation: 25-21=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 35:[31, 4] Operation: 25-21=4
Moving to Node #0,1,0
Current State: 35:[31, 4], Operations: ['83-62=21', '25-21=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
19,
99,
65,
67
] | 61 | [
"67-65=2",
"19*2=38",
"99-38=61"
] | Current State: 61:[19, 99, 65, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [19, 99, 2]
Generated Node #2: [19, 99, 2] from Operation: 67-65=2
Current State: 61:[19, 99, 2], Operations: ['67-65=2']
Exploring Operation: 19*2=38, Resulting Numbers: [99, 38]
Generated Node #3: [99, 38] from Operation: 19*2=38
Current State: 61:[99, 38], Operations: ['67-65=2', '19*2=38']
Exploring Operation: 99-38=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[19, 99, 65, 67], Operations: []
Exploring Operation: 99-19=80, Resulting Numbers: [65, 67, 80]
Generated Node #0,0: 61:[65, 67, 80] Operation: 99-19=80
Exploring Operation: 19+65=84, Resulting Numbers: [99, 67, 84]
Generated Node #0,1: 61:[99, 67, 84] Operation: 19+65=84
Exploring Operation: 67-19=48, Resulting Numbers: [99, 65, 48]
Generated Node #0,2: 61:[99, 65, 48] Operation: 67-19=48
Exploring Operation: 65-19=46, Resulting Numbers: [99, 67, 46]
Generated Node #0,3: 61:[99, 67, 46] Operation: 65-19=46
Exploring Operation: 19+99=118, Resulting Numbers: [65, 67, 118]
Generated Node #0,4: 61:[65, 67, 118] Operation: 19+99=118
Moving to Node #0,0
Current State: 61:[65, 67, 80], Operations: ['99-19=80']
Exploring Operation: 80-65=15, Resulting Numbers: [67, 15]
Generated Node #0,0,0: 61:[67, 15] Operation: 80-65=15
Exploring Operation: 65+67=132, Resulting Numbers: [80, 132]
Generated Node #0,0,1: 61:[80, 132] Operation: 65+67=132
Exploring Operation: 80-67=13, Resulting Numbers: [65, 13]
Generated Node #0,0,2: 61:[65, 13] Operation: 80-67=13
Exploring Operation: 65+80=145, Resulting Numbers: [67, 145]
Generated Node #0,0,3: 61:[67, 145] Operation: 65+80=145
Exploring Operation: 67-65=2, Resulting Numbers: [80, 2]
Generated Node #0,0,4: 61:[80, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[67, 15], Operations: ['99-19=80', '80-65=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,61 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[65, 13], Operations: ['99-19=80', '80-67=13']
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,61 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 61:[80, 2], Operations: ['99-19=80', '67-65=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,61 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[80, 132], Operations: ['99-19=80', '65+67=132']
Exploring Operation: 132-80=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 80+132=212, Resulting Numbers: [212]
212,61 unequal: No Solution
Exploring Operation: 80*132=10560, Resulting Numbers: [10560]
10560,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[67, 145], Operations: ['99-19=80', '65+80=145']
Exploring Operation: 67*145=9715, Resulting Numbers: [9715]
9715,61 unequal: No Solution
Exploring Operation: 67+145=212, Resulting Numbers: [212]
212,61 unequal: No Solution
Exploring Operation: 145-67=78, Resulting Numbers: [78]
78,61 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: 61:[99, 65, 48], Operations: ['67-19=48']
Exploring Operation: 99-65=34, Resulting Numbers: [48, 34]
Generated Node #0,2,0: 61:[48, 34] Operation: 99-65=34
Exploring Operation: 99-48=51, Resulting Numbers: [65, 51]
Generated Node #0,2,1: 61:[65, 51] Operation: 99-48=51
Exploring Operation: 99+48=147, Resulting Numbers: [65, 147]
Generated Node #0,2,2: 61:[65, 147] Operation: 99+48=147
Exploring Operation: 65+48=113, Resulting Numbers: [99, 113]
Generated Node #0,2,3: 61:[99, 113] Operation: 65+48=113
Exploring Operation: 65-48=17, Resulting Numbers: [99, 17]
Generated Node #0,2,4: 61:[99, 17] Operation: 65-48=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[65, 51], Operations: ['67-19=48', '99-48=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[48, 34], Operations: ['67-19=48', '99-65=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 61:[99, 17], Operations: ['67-19=48', '65-48=17']
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,61 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[65, 147], Operations: ['67-19=48', '99+48=147']
Exploring Operation: 147-65=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 65*147=9555, Resulting Numbers: [9555]
9555,61 unequal: No Solution
Exploring Operation: 65+147=212, Resulting Numbers: [212]
212,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[99, 113], Operations: ['67-19=48', '65+48=113']
Exploring Operation: 113-99=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 99+113=212, Resulting Numbers: [212]
212,61 unequal: No Solution
Exploring Operation: 99*113=11187, Resulting Numbers: [11187]
11187,61 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: 61:[99, 67, 46], Operations: ['65-19=46']
Exploring Operation: 99-46=53, Resulting Numbers: [67, 53]
Generated Node #0,3,0: 61:[67, 53] Operation: 99-46=53
Exploring Operation: 99+46=145, Resulting Numbers: [67, 145]
Generated Node #0,3,1: 61:[67, 145] Operation: 99+46=145
Exploring Operation: 67+46=113, Resulting Numbers: [99, 113]
Generated Node #0,3,2: 61:[99, 113] Operation: 67+46=113
Exploring Operation: 67-46=21, Resulting Numbers: [99, 21]
Generated Node #0,3,3: 61:[99, 21] Operation: 67-46=21
Exploring Operation: 99-67=32, Resulting Numbers: [46, 32]
Generated Node #0,3,4: 61:[46, 32] Operation: 99-67=32
Moving to Node #0,1
Current State: 61:[99, 67, 84], Operations: ['19+65=84']
Exploring Operation: 84-67=17, Resulting Numbers: [99, 17]
Generated Node #0,1,0: 61:[99, 17] Operation: 84-67=17
Exploring Operation: 99+67=166, Resulting Numbers: [84, 166]
Generated Node #0,1,1: 61:[84, 166] Operation: 99+67=166
Exploring Operation: 99+84=183, Resulting Numbers: [67, 183]
Generated Node #0,1,2: 61:[67, 183] Operation: 99+84=183
Exploring Operation: 99-67=32, Resulting Numbers: [84, 32]
Generated Node #0,1,3: 61:[84, 32] Operation: 99-67=32
Exploring Operation: 99-84=15, Resulting Numbers: [67, 15]
Generated Node #0,1,4: 61:[67, 15] Operation: 99-84=15
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[84, 32], Operations: ['19+65=84', '99-67=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,61 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 61:[67, 15], Operations: ['19+65=84', '99-84=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,61 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[99, 17], Operations: ['19+65=84', '84-67=17']
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[84, 166], Operations: ['19+65=84', '99+67=166']
Exploring Operation: 84+166=250, Resulting Numbers: [250]
250,61 unequal: No Solution
Exploring Operation: 166-84=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 84*166=13944, Resulting Numbers: [13944]
13944,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[67, 183], Operations: ['19+65=84', '99+84=183']
Exploring Operation: 67+183=250, Resulting Numbers: [250]
250,61 unequal: No Solution
Exploring Operation: 183-67=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 67*183=12261, Resulting Numbers: [12261]
12261,61 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: 61:[65, 67, 118], Operations: ['19+99=118']
Exploring Operation: 118-65=53, Resulting Numbers: [67, 53]
Generated Node #0,4,0: 61:[67, 53] Operation: 118-65=53
Exploring Operation: 65+67=132, Resulting Numbers: [118, 132]
Generated Node #0,4,1: 61:[118, 132] Operation: 65+67=132
Exploring Operation: 65+118=183, Resulting Numbers: [67, 183]
Generated Node #0,4,2: 61:[67, 183] Operation: 65+118=183
Exploring Operation: 118-67=51, Resulting Numbers: [65, 51]
Generated Node #0,4,3: 61:[65, 51] Operation: 118-67=51
Exploring Operation: 67-65=2, Resulting Numbers: [118, 2]
Generated Node #0,4,4: 61:[118, 2] Operation: 67-65=2
Moving to Node #0,3,0
Current State: 61:[67, 53], Operations: ['65-19=46', '99-46=53']
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[67, 53], Operations: ['19+99=118', '118-65=53']
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,61 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,4,3
Current State: 61:[65, 51], Operations: ['19+99=118', '118-67=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,61 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[46, 32], Operations: ['65-19=46', '99-67=32']
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,61 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[99, 21], Operations: ['65-19=46', '67-46=21']
Exploring Operation: 99+21=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 99*21=2079, Resulting Numbers: [2079]
2079,61 unequal: No Solution
Exploring Operation: 99-21=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[99, 113], Operations: ['65-19=46', '67+46=113']
Exploring Operation: 99*113=11187, Resulting Numbers: [11187]
11187,61 unequal: No Solution
Exploring Operation: 99+113=212, Resulting Numbers: [212]
212,61 unequal: No Solution
Exploring Operation: 113-99=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[67, 145], Operations: ['65-19=46', '99+46=145']
Exploring Operation: 67*145=9715, Resulting Numbers: [9715]
9715,61 unequal: No Solution
Exploring Operation: 67+145=212, Resulting Numbers: [212]
212,61 unequal: No Solution
Exploring Operation: 145-67=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[118, 2], Operations: ['19+99=118', '67-65=2']
Exploring Operation: 118*2=236, Resulting Numbers: [236]
236,61 unequal: No Solution
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 118+2=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 118-2=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[67, 183], Operations: ['19+99=118', '65+118=183']
Exploring Operation: 183-67=116, Resulting Numbers: [116]
116,61 unequal: No Solution
Exploring Operation: 67*183=12261, Resulting Numbers: [12261]
12261,61 unequal: No Solution
Exploring Operation: 67+183=250, Resulting Numbers: [250]
250,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[118, 132], Operations: ['19+99=118', '65+67=132']
Exploring Operation: 118+132=250, Resulting Numbers: [250]
250,61 unequal: No Solution
Exploring Operation: 118*132=15576, Resulting Numbers: [15576]
15576,61 unequal: No Solution
Exploring Operation: 132-118=14, Resulting Numbers: [14]
14,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
4,
37,
82
] | 62 | [
"53+4=57",
"37+82=119",
"119-57=62"
] | Current State: 62:[53, 4, 37, 82], Operations: []
Exploring Operation: 53+4=57, Resulting Numbers: [37, 82, 57]
Generated Node #2: [37, 82, 57] from Operation: 53+4=57
Current State: 62:[37, 82, 57], Operations: ['53+4=57']
Exploring Operation: 37+82=119, Resulting Numbers: [57, 119]
Generated Node #3: [57, 119] from Operation: 37+82=119
Current State: 62:[57, 119], Operations: ['53+4=57', '37+82=119']
Exploring Operation: 119-57=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[53, 4, 37, 82], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [53, 4, 45]
Generated Node #0,0: 62:[53, 4, 45] Operation: 82-37=45
Exploring Operation: 82-53=29, Resulting Numbers: [4, 37, 29]
Generated Node #0,1: 62:[4, 37, 29] Operation: 82-53=29
Moving to Node #0,1
Current State: 62:[4, 37, 29], Operations: ['82-53=29']
Exploring Operation: 37-4=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 37-4=33
Exploring Operation: 37+29=66, Resulting Numbers: [4, 66]
Generated Node #0,1,1: 62:[4, 66] Operation: 37+29=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[29, 33], Operations: ['82-53=29', '37-4=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[53, 4, 37, 82], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [4, 37, 29]
Generated Node #0,1: 62:[4, 37, 29] Operation: 82-53=29
Moving to Node #0,1
Current State: 62:[4, 37, 29], Operations: ['82-53=29']
Exploring Operation: 37-4=33, Resulting Numbers: [29, 33]
Generated Node #0,1,0: 62:[29, 33] Operation: 37-4=33
Moving to Node #0,1,0
Current State: 62:[29, 33], Operations: ['82-53=29', '37-4=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
84,
18,
5,
14
] | 57 | [
"84-18=66",
"14-5=9",
"66-9=57"
] | Current State: 57:[84, 18, 5, 14], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [5, 14, 66]
Generated Node #2: [5, 14, 66] from Operation: 84-18=66
Current State: 57:[5, 14, 66], Operations: ['84-18=66']
Exploring Operation: 14-5=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 14-5=9
Current State: 57:[66, 9], Operations: ['84-18=66', '14-5=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[84, 18, 5, 14], Operations: []
Exploring Operation: 84-5=79, Resulting Numbers: [18, 14, 79]
Generated Node #0,0: 57:[18, 14, 79] Operation: 84-5=79
Exploring Operation: 84/14=6, Resulting Numbers: [18, 5, 6]
Generated Node #0,1: 57:[18, 5, 6] Operation: 84/14=6
Exploring Operation: 84-14=70, Resulting Numbers: [18, 5, 70]
Generated Node #0,2: 57:[18, 5, 70] Operation: 84-14=70
Exploring Operation: 84-18=66, Resulting Numbers: [5, 14, 66]
Generated Node #0,3: 57:[5, 14, 66] Operation: 84-18=66
Moving to Node #0,1
Current State: 57:[18, 5, 6], Operations: ['84/14=6']
Exploring Operation: 18+5=23, Resulting Numbers: [6, 23]
Generated Node #0,1,0: 57:[6, 23] Operation: 18+5=23
Exploring Operation: 18+6=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 57:[5, 24] Operation: 18+6=24
Exploring Operation: 18/6=3, Resulting Numbers: [5, 3]
Generated Node #0,1,2: 57:[5, 3] Operation: 18/6=3
Exploring Operation: 6-5=1, Resulting Numbers: [18, 1]
Generated Node #0,1,3: 57:[18, 1] Operation: 6-5=1
Moving to Node #0,3
Current State: 57:[5, 14, 66], Operations: ['84-18=66']
Exploring Operation: 66-5=61, Resulting Numbers: [14, 61]
Generated Node #0,3,0: 57:[14, 61] Operation: 66-5=61
Exploring Operation: 5+14=19, Resulting Numbers: [66, 19]
Generated Node #0,3,1: 57:[66, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [66, 9]
Generated Node #0,3,2: 57:[66, 9] Operation: 14-5=9
Exploring Operation: 66-14=52, Resulting Numbers: [5, 52]
Generated Node #0,3,3: 57:[5, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[5, 52], Operations: ['84-18=66', '66-14=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[84, 18, 5, 14], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [5, 14, 66]
Generated Node #0,3: 57:[5, 14, 66] Operation: 84-18=66
Moving to Node #0,3
Current State: 57:[5, 14, 66], Operations: ['84-18=66']
Exploring Operation: 66-14=52, Resulting Numbers: [5, 52]
Generated Node #0,3,3: 57:[5, 52] Operation: 66-14=52
Moving to Node #0,3,3
Current State: 57:[5, 52], Operations: ['84-18=66', '66-14=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
71,
19,
97,
88
] | 95 | [
"71+19=90",
"97+88=185",
"185-90=95"
] | Current State: 95:[71, 19, 97, 88], Operations: []
Exploring Operation: 71+19=90, Resulting Numbers: [97, 88, 90]
Generated Node #2: [97, 88, 90] from Operation: 71+19=90
Current State: 95:[97, 88, 90], Operations: ['71+19=90']
Exploring Operation: 97+88=185, Resulting Numbers: [90, 185]
Generated Node #3: [90, 185] from Operation: 97+88=185
Current State: 95:[90, 185], Operations: ['71+19=90', '97+88=185']
Exploring Operation: 185-90=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[71, 19, 97, 88], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [19, 97, 17]
Generated Node #0,0: 95:[19, 97, 17] Operation: 88-71=17
Exploring Operation: 71+19=90, Resulting Numbers: [97, 88, 90]
Generated Node #0,1: 95:[97, 88, 90] Operation: 71+19=90
Exploring Operation: 97-71=26, Resulting Numbers: [19, 88, 26]
Generated Node #0,2: 95:[19, 88, 26] Operation: 97-71=26
Moving to Node #0,0
Current State: 95:[19, 97, 17], Operations: ['88-71=17']
Exploring Operation: 19-17=2, Resulting Numbers: [97, 2]
Generated Node #0,0,0: 95:[97, 2] Operation: 19-17=2
Exploring Operation: 97-17=80, Resulting Numbers: [19, 80]
Generated Node #0,0,1: 95:[19, 80] Operation: 97-17=80
Exploring Operation: 97-19=78, Resulting Numbers: [17, 78]
Generated Node #0,0,2: 95:[17, 78] Operation: 97-19=78
Moving to Node #0,1
Current State: 95:[97, 88, 90], Operations: ['71+19=90']
Exploring Operation: 90-88=2, Resulting Numbers: [97, 2]
Generated Node #0,1,0: 95:[97, 2] Operation: 90-88=2
Exploring Operation: 97-90=7, Resulting Numbers: [88, 7]
Generated Node #0,1,1: 95:[88, 7] Operation: 97-90=7
Exploring Operation: 97-88=9, Resulting Numbers: [90, 9]
Generated Node #0,1,2: 95:[90, 9] Operation: 97-88=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[97, 2], Operations: ['71+19=90', '90-88=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[71, 19, 97, 88], Operations: []
Exploring Operation: 71+19=90, Resulting Numbers: [97, 88, 90]
Generated Node #0,1: 95:[97, 88, 90] Operation: 71+19=90
Moving to Node #0,1
Current State: 95:[97, 88, 90], Operations: ['71+19=90']
Exploring Operation: 90-88=2, Resulting Numbers: [97, 2]
Generated Node #0,1,0: 95:[97, 2] Operation: 90-88=2
Moving to Node #0,1,0
Current State: 95:[97, 2], Operations: ['71+19=90', '90-88=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
47,
97,
10,
18
] | 42 | [
"97-47=50",
"18-10=8",
"50-8=42"
] | Current State: 42:[47, 97, 10, 18], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [10, 18, 50]
Generated Node #2: [10, 18, 50] from Operation: 97-47=50
Current State: 42:[10, 18, 50], Operations: ['97-47=50']
Exploring Operation: 18-10=8, Resulting Numbers: [50, 8]
Generated Node #3: [50, 8] from Operation: 18-10=8
Current State: 42:[50, 8], Operations: ['97-47=50', '18-10=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[47, 97, 10, 18], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [10, 18, 50]
Generated Node #0,0: 42:[10, 18, 50] Operation: 97-47=50
Exploring Operation: 18-10=8, Resulting Numbers: [47, 97, 8]
Generated Node #0,1: 42:[47, 97, 8] Operation: 18-10=8
Exploring Operation: 97-10=87, Resulting Numbers: [47, 18, 87]
Generated Node #0,2: 42:[47, 18, 87] Operation: 97-10=87
Exploring Operation: 97-18=79, Resulting Numbers: [47, 10, 79]
Generated Node #0,3: 42:[47, 10, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[10, 18, 50], Operations: ['97-47=50']
Exploring Operation: 50-18=32, Resulting Numbers: [10, 32]
Generated Node #0,0,0: 42:[10, 32] Operation: 50-18=32
Exploring Operation: 50-10=40, Resulting Numbers: [18, 40]
Generated Node #0,0,1: 42:[18, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [18, 5]
Generated Node #0,0,2: 42:[18, 5] Operation: 50/10=5
Exploring Operation: 18-10=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 42:[50, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[18, 5], Operations: ['97-47=50', '50/10=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[18, 40], Operations: ['97-47=50', '50-10=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,42 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[50, 8], Operations: ['97-47=50', '18-10=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[47, 97, 10, 18], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [10, 18, 50]
Generated Node #0,0: 42:[10, 18, 50] Operation: 97-47=50
Moving to Node #0,0
Current State: 42:[10, 18, 50], Operations: ['97-47=50']
Exploring Operation: 18-10=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 42:[50, 8] Operation: 18-10=8
Moving to Node #0,0,3
Current State: 42:[50, 8], Operations: ['97-47=50', '18-10=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
7,
89,
33,
45
] | 94 | [
"89-7=82",
"45-33=12",
"82+12=94"
] | Current State: 94:[7, 89, 33, 45], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [33, 45, 82]
Generated Node #2: [33, 45, 82] from Operation: 89-7=82
Current State: 94:[33, 45, 82], Operations: ['89-7=82']
Exploring Operation: 45-33=12, Resulting Numbers: [82, 12]
Generated Node #3: [82, 12] from Operation: 45-33=12
Current State: 94:[82, 12], Operations: ['89-7=82', '45-33=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[7, 89, 33, 45], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [7, 45, 56]
Generated Node #0,0: 94:[7, 45, 56] Operation: 89-33=56
Exploring Operation: 7+33=40, Resulting Numbers: [89, 45, 40]
Generated Node #0,1: 94:[89, 45, 40] Operation: 7+33=40
Exploring Operation: 7+89=96, Resulting Numbers: [33, 45, 96]
Generated Node #0,2: 94:[33, 45, 96] Operation: 7+89=96
Moving to Node #0,1
Current State: 94:[89, 45, 40], Operations: ['7+33=40']
Exploring Operation: 89-45=44, Resulting Numbers: [40, 44]
Generated Node #0,1,0: 94:[40, 44] Operation: 89-45=44
Exploring Operation: 45-40=5, Resulting Numbers: [89, 5]
Generated Node #0,1,1: 94:[89, 5] Operation: 45-40=5
Exploring Operation: 89-40=49, Resulting Numbers: [45, 49]
Generated Node #0,1,2: 94:[45, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[45, 49], Operations: ['7+33=40', '89-40=49']
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,94 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[7, 89, 33, 45], Operations: []
Exploring Operation: 7+33=40, Resulting Numbers: [89, 45, 40]
Generated Node #0,1: 94:[89, 45, 40] Operation: 7+33=40
Moving to Node #0,1
Current State: 94:[89, 45, 40], Operations: ['7+33=40']
Exploring Operation: 89-40=49, Resulting Numbers: [45, 49]
Generated Node #0,1,2: 94:[45, 49] Operation: 89-40=49
Moving to Node #0,1,2
Current State: 94:[45, 49], Operations: ['7+33=40', '89-40=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
21,
1,
90,
72
] | 38 | [
"21-1=20",
"90-72=18",
"20+18=38"
] | Current State: 38:[21, 1, 90, 72], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [90, 72, 20]
Generated Node #2: [90, 72, 20] from Operation: 21-1=20
Current State: 38:[90, 72, 20], Operations: ['21-1=20']
Exploring Operation: 90-72=18, Resulting Numbers: [20, 18]
Generated Node #3: [20, 18] from Operation: 90-72=18
Current State: 38:[20, 18], Operations: ['21-1=20', '90-72=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[21, 1, 90, 72], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [21, 1, 18]
Generated Node #0,0: 38:[21, 1, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 38:[21, 1, 18], Operations: ['90-72=18']
Exploring Operation: 21-1=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 38:[18, 20] Operation: 21-1=20
Moving to Node #0,0,0
Current State: 38:[18, 20], Operations: ['90-72=18', '21-1=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[21, 1, 90, 72], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [21, 1, 18]
Generated Node #0,0: 38:[21, 1, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 38:[21, 1, 18], Operations: ['90-72=18']
Exploring Operation: 21-1=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 38:[18, 20] Operation: 21-1=20
Moving to Node #0,0,0
Current State: 38:[18, 20], Operations: ['90-72=18', '21-1=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
88,
40,
20,
96
] | 28 | [
"88-40=48",
"96-20=76",
"76-48=28"
] | Current State: 28:[88, 40, 20, 96], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [20, 96, 48]
Generated Node #2: [20, 96, 48] from Operation: 88-40=48
Current State: 28:[20, 96, 48], Operations: ['88-40=48']
Exploring Operation: 96-20=76, Resulting Numbers: [48, 76]
Generated Node #3: [48, 76] from Operation: 96-20=76
Current State: 28:[48, 76], Operations: ['88-40=48', '96-20=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[88, 40, 20, 96], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [20, 96, 48]
Generated Node #0,0: 28:[20, 96, 48] Operation: 88-40=48
Exploring Operation: 96-40=56, Resulting Numbers: [88, 20, 56]
Generated Node #0,1: 28:[88, 20, 56] Operation: 96-40=56
Exploring Operation: 88-20=68, Resulting Numbers: [40, 96, 68]
Generated Node #0,2: 28:[40, 96, 68] Operation: 88-20=68
Exploring Operation: 96-88=8, Resulting Numbers: [40, 20, 8]
Generated Node #0,3: 28:[40, 20, 8] Operation: 96-88=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[40, 20, 8], Operations: ['96-88=8']
Exploring Operation: 40/20=2, Resulting Numbers: [8, 2]
Generated Node #0,3,0: 28:[8, 2] Operation: 40/20=2
Exploring Operation: 40-8=32, Resulting Numbers: [20, 32]
Generated Node #0,3,1: 28:[20, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [20, 5]
Generated Node #0,3,2: 28:[20, 5] Operation: 40/8=5
Exploring Operation: 40-20=20, Resulting Numbers: [8, 20]
Generated Node #0,3,3: 28:[8, 20] Operation: 40-20=20
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[8, 2], Operations: ['96-88=8', '40/20=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[20, 5], Operations: ['96-88=8', '40/8=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,28 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[8, 20], Operations: ['96-88=8', '40-20=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,28 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[88, 40, 20, 96], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [40, 20, 8]
Generated Node #0,3: 28:[40, 20, 8] Operation: 96-88=8
Moving to Node #0,3
Current State: 28:[40, 20, 8], Operations: ['96-88=8']
Exploring Operation: 40-20=20, Resulting Numbers: [8, 20]
Generated Node #0,3,3: 28:[8, 20] Operation: 40-20=20
Moving to Node #0,3,3
Current State: 28:[8, 20], Operations: ['96-88=8', '40-20=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
73,
76,
3,
13
] | 14 | [
"76-73=3",
"3/3=1",
"13+1=14"
] | Current State: 14:[73, 76, 3, 13], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [3, 13, 3]
Generated Node #2: [3, 13, 3] from Operation: 76-73=3
Current State: 14:[3, 13, 3], Operations: ['76-73=3']
Exploring Operation: 3/3=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 3/3=1
Current State: 14:[13, 1], Operations: ['76-73=3', '3/3=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[73, 76, 3, 13], Operations: []
Exploring Operation: 73-13=60, Resulting Numbers: [76, 3, 60]
Generated Node #0,0: 14:[76, 3, 60] Operation: 73-13=60
Exploring Operation: 76-13=63, Resulting Numbers: [73, 3, 63]
Generated Node #0,1: 14:[73, 3, 63] Operation: 76-13=63
Exploring Operation: 76-73=3, Resulting Numbers: [3, 13, 3]
Generated Node #0,2: 14:[3, 13, 3] Operation: 76-73=3
Moving to Node #0,2
Current State: 14:[3, 13, 3], Operations: ['76-73=3']
Exploring Operation: 3+3=6, Resulting Numbers: [13, 6]
Generated Node #0,2,0: 14:[13, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 14:[13, 1] Operation: 3/3=1
Exploring Operation: 3+13=16, Resulting Numbers: [3, 16]
Generated Node #0,2,2: 14:[3, 16] Operation: 3+13=16
Moving to Node #0,0
Current State: 14:[76, 3, 60], Operations: ['73-13=60']
Exploring Operation: 76-3=73, Resulting Numbers: [60, 73]
Generated Node #0,0,0: 14:[60, 73] Operation: 76-3=73
Exploring Operation: 60/3=20, Resulting Numbers: [76, 20]
Generated Node #0,0,1: 14:[76, 20] Operation: 60/3=20
Exploring Operation: 76-60=16, Resulting Numbers: [3, 16]
Generated Node #0,0,2: 14:[3, 16] Operation: 76-60=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[3, 16], Operations: ['73-13=60', '76-60=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,14 unequal: No Solution
No 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: 14:[76, 20], Operations: ['73-13=60', '60/3=20']
Exploring Operation: 76*20=1520, Resulting Numbers: [1520]
1520,14 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 76+20=96, Resulting Numbers: [96]
96,14 unequal: No Solution
No 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: 14:[60, 73], Operations: ['73-13=60', '76-3=73']
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,14 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,14 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: 14:[73, 3, 63], Operations: ['76-13=63']
Exploring Operation: 73-63=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 14:[3, 10] Operation: 73-63=10
Exploring Operation: 73-3=70, Resulting Numbers: [63, 70]
Generated Node #0,1,1: 14:[63, 70] Operation: 73-3=70
Exploring Operation: 63/3=21, Resulting Numbers: [73, 21]
Generated Node #0,1,2: 14:[73, 21] Operation: 63/3=21
Moving to Node #0,2,0
Current State: 14:[13, 6], Operations: ['76-73=3', '3+3=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[13, 1], Operations: ['76-73=3', '3/3=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[73, 76, 3, 13], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [3, 13, 3]
Generated Node #0,2: 14:[3, 13, 3] Operation: 76-73=3
Moving to Node #0,2
Current State: 14:[3, 13, 3], Operations: ['76-73=3']
Exploring Operation: 3/3=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 14:[13, 1] Operation: 3/3=1
Moving to Node #0,2,1
Current State: 14:[13, 1], Operations: ['76-73=3', '3/3=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
12,
31,
41,
20
] | 91 | [
"31-20=11",
"12*11=132",
"132-41=91"
] | Current State: 91:[12, 31, 41, 20], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [12, 41, 11]
Generated Node #2: [12, 41, 11] from Operation: 31-20=11
Current State: 91:[12, 41, 11], Operations: ['31-20=11']
Exploring Operation: 12*11=132, Resulting Numbers: [41, 132]
Generated Node #3: [41, 132] from Operation: 12*11=132
Current State: 91:[41, 132], Operations: ['31-20=11', '12*11=132']
Exploring Operation: 132-41=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[12, 31, 41, 20], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [12, 20, 10]
Generated Node #0,0: 91:[12, 20, 10] Operation: 41-31=10
Moving to Node #0,0
Current State: 91:[12, 20, 10], Operations: ['41-31=10']
Exploring Operation: 20-12=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 91:[10, 8] Operation: 20-12=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[10, 8], Operations: ['41-31=10', '20-12=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,91 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 |
[
44,
84,
18,
42
] | 16 | [
"84-44=40",
"42-18=24",
"40-24=16"
] | Current State: 16:[44, 84, 18, 42], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [18, 42, 40]
Generated Node #2: [18, 42, 40] from Operation: 84-44=40
Current State: 16:[18, 42, 40], Operations: ['84-44=40']
Exploring Operation: 42-18=24, Resulting Numbers: [40, 24]
Generated Node #3: [40, 24] from Operation: 42-18=24
Current State: 16:[40, 24], Operations: ['84-44=40', '42-18=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[44, 84, 18, 42], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [44, 18, 2]
Generated Node #0,0: 16:[44, 18, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [44, 18, 42]
Generated Node #0,1: 16:[44, 18, 42] Operation: 84-42=42
Exploring Operation: 44-42=2, Resulting Numbers: [84, 18, 2]
Generated Node #0,2: 16:[84, 18, 2] Operation: 44-42=2
Exploring Operation: 84-44=40, Resulting Numbers: [18, 42, 40]
Generated Node #0,3: 16:[18, 42, 40] Operation: 84-44=40
Moving to Node #0,0
Current State: 16:[44, 18, 2], Operations: ['84/42=2']
Exploring Operation: 44-2=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 16:[18, 42] Operation: 44-2=42
Exploring Operation: 18-2=16, Resulting Numbers: [44, 16]
Generated Node #0,0,1: 16:[44, 16] Operation: 18-2=16
Exploring Operation: 44-18=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 16:[2, 26] Operation: 44-18=26
Exploring Operation: 44/2=22, Resulting Numbers: [18, 22]
Generated Node #0,0,3: 16:[18, 22] Operation: 44/2=22
Moving to Node #0,3
Current State: 16:[18, 42, 40], Operations: ['84-44=40']
Exploring Operation: 18+42=60, Resulting Numbers: [40, 60]
Generated Node #0,3,0: 16:[40, 60] Operation: 18+42=60
Exploring Operation: 42-18=24, Resulting Numbers: [40, 24]
Generated Node #0,3,1: 16:[40, 24] Operation: 42-18=24
Exploring Operation: 42-40=2, Resulting Numbers: [18, 2]
Generated Node #0,3,2: 16:[18, 2] Operation: 42-40=2
Exploring Operation: 40-18=22, Resulting Numbers: [42, 22]
Generated Node #0,3,3: 16:[42, 22] Operation: 40-18=22
Moving to Node #0,1
Current State: 16:[44, 18, 42], Operations: ['84-42=42']
Exploring Operation: 44+18=62, Resulting Numbers: [42, 62]
Generated Node #0,1,0: 16:[42, 62] Operation: 44+18=62
Exploring Operation: 44-42=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 16:[18, 2] Operation: 44-42=2
Exploring Operation: 42-18=24, Resulting Numbers: [44, 24]
Generated Node #0,1,2: 16:[44, 24] Operation: 42-18=24
Exploring Operation: 44-18=26, Resulting Numbers: [42, 26]
Generated Node #0,1,3: 16:[42, 26] Operation: 44-18=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[18, 2], Operations: ['84-42=42', '44-42=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[44, 84, 18, 42], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [44, 18, 42]
Generated Node #0,1: 16:[44, 18, 42] Operation: 84-42=42
Moving to Node #0,1
Current State: 16:[44, 18, 42], Operations: ['84-42=42']
Exploring Operation: 44-42=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 16:[18, 2] Operation: 44-42=2
Moving to Node #0,1,1
Current State: 16:[18, 2], Operations: ['84-42=42', '44-42=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
2,
22,
17,
67
] | 78 | [
"67-17=50",
"2*50=100",
"100-22=78"
] | Current State: 78:[2, 22, 17, 67], Operations: []
Exploring Operation: 67-17=50, Resulting Numbers: [2, 22, 50]
Generated Node #2: [2, 22, 50] from Operation: 67-17=50
Current State: 78:[2, 22, 50], Operations: ['67-17=50']
Exploring Operation: 2*50=100, Resulting Numbers: [22, 100]
Generated Node #3: [22, 100] from Operation: 2*50=100
Current State: 78:[22, 100], Operations: ['67-17=50', '2*50=100']
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[2, 22, 17, 67], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [2, 17, 45]
Generated Node #0,0: 78:[2, 17, 45] Operation: 67-22=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[2, 17, 45], Operations: ['67-22=45']
Exploring Operation: 45-17=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 78:[2, 28] Operation: 45-17=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[2, 28], Operations: ['67-22=45', '45-17=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,78 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 |
[
30,
68,
28,
18
] | 52 | [
"30+68=98",
"28+18=46",
"98-46=52"
] | Current State: 52:[30, 68, 28, 18], Operations: []
Exploring Operation: 30+68=98, Resulting Numbers: [28, 18, 98]
Generated Node #2: [28, 18, 98] from Operation: 30+68=98
Current State: 52:[28, 18, 98], Operations: ['30+68=98']
Exploring Operation: 28+18=46, Resulting Numbers: [98, 46]
Generated Node #3: [98, 46] from Operation: 28+18=46
Current State: 52:[98, 46], Operations: ['30+68=98', '28+18=46']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[30, 68, 28, 18], Operations: []
Exploring Operation: 68-30=38, Resulting Numbers: [28, 18, 38]
Generated Node #0,0: 52:[28, 18, 38] Operation: 68-30=38
Exploring Operation: 68-18=50, Resulting Numbers: [30, 28, 50]
Generated Node #0,1: 52:[30, 28, 50] Operation: 68-18=50
Exploring Operation: 30-18=12, Resulting Numbers: [68, 28, 12]
Generated Node #0,2: 52:[68, 28, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[30, 28, 50], Operations: ['68-18=50']
Exploring Operation: 30+28=58, Resulting Numbers: [50, 58]
Generated Node #0,1,0: 52:[50, 58] Operation: 30+28=58
Exploring Operation: 30-28=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 52:[50, 2] Operation: 30-28=2
Exploring Operation: 50-30=20, Resulting Numbers: [28, 20]
Generated Node #0,1,2: 52:[28, 20] Operation: 50-30=20
Moving to Node #0,1,1
Current State: 52:[50, 2], Operations: ['68-18=50', '30-28=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[30, 68, 28, 18], Operations: []
Exploring Operation: 68-18=50, Resulting Numbers: [30, 28, 50]
Generated Node #0,1: 52:[30, 28, 50] Operation: 68-18=50
Moving to Node #0,1
Current State: 52:[30, 28, 50], Operations: ['68-18=50']
Exploring Operation: 30-28=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 52:[50, 2] Operation: 30-28=2
Moving to Node #0,1,1
Current State: 52:[50, 2], Operations: ['68-18=50', '30-28=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
15,
77,
64,
85
] | 83 | [
"77-15=62",
"85-64=21",
"62+21=83"
] | Current State: 83:[15, 77, 64, 85], Operations: []
Exploring Operation: 77-15=62, Resulting Numbers: [64, 85, 62]
Generated Node #2: [64, 85, 62] from Operation: 77-15=62
Current State: 83:[64, 85, 62], Operations: ['77-15=62']
Exploring Operation: 85-64=21, Resulting Numbers: [62, 21]
Generated Node #3: [62, 21] from Operation: 85-64=21
Current State: 83:[62, 21], Operations: ['77-15=62', '85-64=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[15, 77, 64, 85], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [77, 85, 49]
Generated Node #0,0: 83:[77, 85, 49] Operation: 64-15=49
Exploring Operation: 77-15=62, Resulting Numbers: [64, 85, 62]
Generated Node #0,1: 83:[64, 85, 62] Operation: 77-15=62
Exploring Operation: 15+64=79, Resulting Numbers: [77, 85, 79]
Generated Node #0,2: 83:[77, 85, 79] Operation: 15+64=79
Exploring Operation: 15+77=92, Resulting Numbers: [64, 85, 92]
Generated Node #0,3: 83:[64, 85, 92] Operation: 15+77=92
Exploring Operation: 85-15=70, Resulting Numbers: [77, 64, 70]
Generated Node #0,4: 83:[77, 64, 70] Operation: 85-15=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[77, 85, 79], Operations: ['15+64=79']
Exploring Operation: 85-77=8, Resulting Numbers: [79, 8]
Generated Node #0,2,0: 83:[79, 8] Operation: 85-77=8
Exploring Operation: 77+79=156, Resulting Numbers: [85, 156]
Generated Node #0,2,1: 83:[85, 156] Operation: 77+79=156
Exploring Operation: 85-79=6, Resulting Numbers: [77, 6]
Generated Node #0,2,2: 83:[77, 6] Operation: 85-79=6
Exploring Operation: 79-77=2, Resulting Numbers: [85, 2]
Generated Node #0,2,3: 83:[85, 2] Operation: 79-77=2
Exploring Operation: 77+85=162, Resulting Numbers: [79, 162]
Generated Node #0,2,4: 83:[79, 162] Operation: 77+85=162
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[85, 156], Operations: ['15+64=79', '77+79=156']
Exploring Operation: 85+156=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 156-85=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 85*156=13260, Resulting Numbers: [13260]
13260,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[79, 8], Operations: ['15+64=79', '85-77=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,83 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[77, 6], Operations: ['15+64=79', '85-79=6']
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,83 unequal: No Solution
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[15, 77, 64, 85], Operations: []
Exploring Operation: 15+64=79, Resulting Numbers: [77, 85, 79]
Generated Node #0,2: 83:[77, 85, 79] Operation: 15+64=79
Moving to Node #0,2
Current State: 83:[77, 85, 79], Operations: ['15+64=79']
Exploring Operation: 85-79=6, Resulting Numbers: [77, 6]
Generated Node #0,2,2: 83:[77, 6] Operation: 85-79=6
Moving to Node #0,2,2
Current State: 83:[77, 6], Operations: ['15+64=79', '85-79=6']
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
75,
94,
6,
5
] | 84 | [
"94-75=19",
"19-5=14",
"6*14=84"
] | Current State: 84:[75, 94, 6, 5], Operations: []
Exploring Operation: 94-75=19, Resulting Numbers: [6, 5, 19]
Generated Node #2: [6, 5, 19] from Operation: 94-75=19
Current State: 84:[6, 5, 19], Operations: ['94-75=19']
Exploring Operation: 19-5=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 19-5=14
Current State: 84:[6, 14], Operations: ['94-75=19', '19-5=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[75, 94, 6, 5], Operations: []
Exploring Operation: 94-75=19, Resulting Numbers: [6, 5, 19]
Generated Node #0,0: 84:[6, 5, 19] Operation: 94-75=19
Exploring Operation: 75/5=15, Resulting Numbers: [94, 6, 15]
Generated Node #0,1: 84:[94, 6, 15] Operation: 75/5=15
Exploring Operation: 75+5=80, Resulting Numbers: [94, 6, 80]
Generated Node #0,2: 84:[94, 6, 80] Operation: 75+5=80
Exploring Operation: 75+6=81, Resulting Numbers: [94, 5, 81]
Generated Node #0,3: 84:[94, 5, 81] Operation: 75+6=81
Moving to Node #0,0
Current State: 84:[6, 5, 19], Operations: ['94-75=19']
Exploring Operation: 6+5=11, Resulting Numbers: [19, 11]
Generated Node #0,0,0: 84:[19, 11] Operation: 6+5=11
Exploring Operation: 19-5=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 84:[6, 14] Operation: 19-5=14
Exploring Operation: 19-6=13, Resulting Numbers: [5, 13]
Generated Node #0,0,2: 84:[5, 13] Operation: 19-6=13
Exploring Operation: 6-5=1, Resulting Numbers: [19, 1]
Generated Node #0,0,3: 84:[19, 1] Operation: 6-5=1
Moving to Node #0,1
Current State: 84:[94, 6, 15], Operations: ['75/5=15']
Exploring Operation: 15-6=9, Resulting Numbers: [94, 9]
Generated Node #0,1,0: 84:[94, 9] Operation: 15-6=9
Exploring Operation: 94-15=79, Resulting Numbers: [6, 79]
Generated Node #0,1,1: 84:[6, 79] Operation: 94-15=79
Exploring Operation: 94-6=88, Resulting Numbers: [15, 88]
Generated Node #0,1,2: 84:[15, 88] Operation: 94-6=88
Exploring Operation: 6+15=21, Resulting Numbers: [94, 21]
Generated Node #0,1,3: 84:[94, 21] Operation: 6+15=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[6, 79], Operations: ['75/5=15', '94-15=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[15, 88], Operations: ['75/5=15', '94-6=88']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[94, 21], Operations: ['75/5=15', '6+15=21']
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,84 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[94, 9], Operations: ['75/5=15', '15-6=9']
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,84 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 84:[94, 5, 81], Operations: ['75+6=81']
Exploring Operation: 94-81=13, Resulting Numbers: [5, 13]
Generated Node #0,3,0: 84:[5, 13] Operation: 94-81=13
Exploring Operation: 94-5=89, Resulting Numbers: [81, 89]
Generated Node #0,3,1: 84:[81, 89] Operation: 94-5=89
Exploring Operation: 5+81=86, Resulting Numbers: [94, 86]
Generated Node #0,3,2: 84:[94, 86] Operation: 5+81=86
Exploring Operation: 94+5=99, Resulting Numbers: [81, 99]
Generated Node #0,3,3: 84:[81, 99] Operation: 94+5=99
Moving to Node #0,2
Current State: 84:[94, 6, 80], Operations: ['75+5=80']
Exploring Operation: 6+80=86, Resulting Numbers: [94, 86]
Generated Node #0,2,0: 84:[94, 86] Operation: 6+80=86
Exploring Operation: 94-6=88, Resulting Numbers: [80, 88]
Generated Node #0,2,1: 84:[80, 88] Operation: 94-6=88
Exploring Operation: 94+6=100, Resulting Numbers: [80, 100]
Generated Node #0,2,2: 84:[80, 100] Operation: 94+6=100
Exploring Operation: 94-80=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 84:[6, 14] Operation: 94-80=14
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[6, 14], Operations: ['75+5=80', '94-80=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[75, 94, 6, 5], Operations: []
Exploring Operation: 75+5=80, Resulting Numbers: [94, 6, 80]
Generated Node #0,2: 84:[94, 6, 80] Operation: 75+5=80
Moving to Node #0,2
Current State: 84:[94, 6, 80], Operations: ['75+5=80']
Exploring Operation: 94-80=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 84:[6, 14] Operation: 94-80=14
Moving to Node #0,2,3
Current State: 84:[6, 14], Operations: ['75+5=80', '94-80=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
16,
59,
35,
11
] | 82 | [
"16*11=176",
"59+35=94",
"176-94=82"
] | Current State: 82:[16, 59, 35, 11], Operations: []
Exploring Operation: 16*11=176, Resulting Numbers: [59, 35, 176]
Generated Node #2: [59, 35, 176] from Operation: 16*11=176
Current State: 82:[59, 35, 176], Operations: ['16*11=176']
Exploring Operation: 59+35=94, Resulting Numbers: [176, 94]
Generated Node #3: [176, 94] from Operation: 59+35=94
Current State: 82:[176, 94], Operations: ['16*11=176', '59+35=94']
Exploring Operation: 176-94=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[16, 59, 35, 11], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [35, 11, 43]
Generated Node #0,0: 82:[35, 11, 43] Operation: 59-16=43
Exploring Operation: 16+59=75, Resulting Numbers: [35, 11, 75]
Generated Node #0,1: 82:[35, 11, 75] Operation: 16+59=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[35, 11, 43], Operations: ['59-16=43']
Exploring Operation: 35+43=78, Resulting Numbers: [11, 78]
Generated Node #0,0,0: 82:[11, 78] Operation: 35+43=78
Exploring Operation: 35+11=46, Resulting Numbers: [43, 46]
Generated Node #0,0,1: 82:[43, 46] Operation: 35+11=46
Moving to Node #0,0,1
Current State: 82:[43, 46], Operations: ['59-16=43', '35+11=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,82 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[11, 78], Operations: ['59-16=43', '35+43=78']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,82 unequal: No Solution
Exploring Operation: 11+78=89, Resulting Numbers: [89]
89,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[35, 11, 75], Operations: ['16+59=75']
Exploring Operation: 11+75=86, Resulting Numbers: [35, 86]
Generated Node #0,1,0: 82:[35, 86] Operation: 11+75=86
Exploring Operation: 75-35=40, Resulting Numbers: [11, 40]
Generated Node #0,1,1: 82:[11, 40] Operation: 75-35=40
Moving to Node #0,1,0
Current State: 82:[35, 86], Operations: ['16+59=75', '11+75=86']
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[11, 40], Operations: ['16+59=75', '75-35=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,82 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
48,
91,
16
] | 48 | [
"40+48=88",
"91-88=3",
"16*3=48"
] | Current State: 48:[40, 48, 91, 16], Operations: []
Exploring Operation: 40+48=88, Resulting Numbers: [91, 16, 88]
Generated Node #2: [91, 16, 88] from Operation: 40+48=88
Current State: 48:[91, 16, 88], Operations: ['40+48=88']
Exploring Operation: 91-88=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 91-88=3
Current State: 48:[16, 3], Operations: ['40+48=88', '91-88=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[40, 48, 91, 16], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [48, 16, 51]
Generated Node #0,0: 48:[48, 16, 51] Operation: 91-40=51
Exploring Operation: 91-48=43, Resulting Numbers: [40, 16, 43]
Generated Node #0,1: 48:[40, 16, 43] Operation: 91-48=43
Exploring Operation: 91-16=75, Resulting Numbers: [40, 48, 75]
Generated Node #0,2: 48:[40, 48, 75] Operation: 91-16=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[48, 16, 51], Operations: ['91-40=51']
Exploring Operation: 48/16=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 48:[51, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [51, 32]
Generated Node #0,0,1: 48:[51, 32] Operation: 48-16=32
Exploring Operation: 51-48=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 48:[16, 3] Operation: 51-48=3
Moving to Node #0,0,2
Current State: 48:[16, 3], Operations: ['91-40=51', '51-48=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[40, 48, 91, 16], Operations: []
Exploring Operation: 91-40=51, Resulting Numbers: [48, 16, 51]
Generated Node #0,0: 48:[48, 16, 51] Operation: 91-40=51
Moving to Node #0,0
Current State: 48:[48, 16, 51], Operations: ['91-40=51']
Exploring Operation: 51-48=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 48:[16, 3] Operation: 51-48=3
Moving to Node #0,0,2
Current State: 48:[16, 3], Operations: ['91-40=51', '51-48=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
62,
52,
50,
28
] | 59 | [
"52-50=2",
"62/2=31",
"28+31=59"
] | Current State: 59:[62, 52, 50, 28], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [62, 28, 2]
Generated Node #2: [62, 28, 2] from Operation: 52-50=2
Current State: 59:[62, 28, 2], Operations: ['52-50=2']
Exploring Operation: 62/2=31, Resulting Numbers: [28, 31]
Generated Node #3: [28, 31] from Operation: 62/2=31
Current State: 59:[28, 31], Operations: ['52-50=2', '62/2=31']
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 52, 50, 28], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [62, 50, 24]
Generated Node #0,0: 59:[62, 50, 24] Operation: 52-28=24
Exploring Operation: 62+28=90, Resulting Numbers: [52, 50, 90]
Generated Node #0,1: 59:[52, 50, 90] Operation: 62+28=90
Exploring Operation: 50+28=78, Resulting Numbers: [62, 52, 78]
Generated Node #0,2: 59:[62, 52, 78] Operation: 50+28=78
Exploring Operation: 52+28=80, Resulting Numbers: [62, 50, 80]
Generated Node #0,3: 59:[62, 50, 80] Operation: 52+28=80
Exploring Operation: 62-28=34, Resulting Numbers: [52, 50, 34]
Generated Node #0,4: 59:[52, 50, 34] Operation: 62-28=34
Moving to Node #0,2
Current State: 59:[62, 52, 78], Operations: ['50+28=78']
Exploring Operation: 62-52=10, Resulting Numbers: [78, 10]
Generated Node #0,2,0: 59:[78, 10] Operation: 62-52=10
Exploring Operation: 78-52=26, Resulting Numbers: [62, 26]
Generated Node #0,2,1: 59:[62, 26] Operation: 78-52=26
Exploring Operation: 78-62=16, Resulting Numbers: [52, 16]
Generated Node #0,2,2: 59:[52, 16] Operation: 78-62=16
Exploring Operation: 52+78=130, Resulting Numbers: [62, 130]
Generated Node #0,2,3: 59:[62, 130] Operation: 52+78=130
Exploring Operation: 62+52=114, Resulting Numbers: [78, 114]
Generated Node #0,2,4: 59:[78, 114] Operation: 62+52=114
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[62, 26], Operations: ['50+28=78', '78-52=26']
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,59 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[52, 16], Operations: ['50+28=78', '78-62=16']
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,59 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[78, 10], Operations: ['50+28=78', '62-52=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 59:[62, 130], Operations: ['50+28=78', '52+78=130']
Exploring Operation: 62*130=8060, Resulting Numbers: [8060]
8060,59 unequal: No Solution
Exploring Operation: 62+130=192, Resulting Numbers: [192]
192,59 unequal: No Solution
Exploring Operation: 130-62=68, Resulting Numbers: [68]
68,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 59:[78, 114], Operations: ['50+28=78', '62+52=114']
Exploring Operation: 78*114=8892, Resulting Numbers: [8892]
8892,59 unequal: No Solution
Exploring Operation: 78+114=192, Resulting Numbers: [192]
192,59 unequal: No Solution
Exploring Operation: 114-78=36, Resulting Numbers: [36]
36,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 59:[62, 50, 80], Operations: ['52+28=80']
Exploring Operation: 50+80=130, Resulting Numbers: [62, 130]
Generated Node #0,3,0: 59:[62, 130] Operation: 50+80=130
Exploring Operation: 80-50=30, Resulting Numbers: [62, 30]
Generated Node #0,3,1: 59:[62, 30] Operation: 80-50=30
Exploring Operation: 62+50=112, Resulting Numbers: [80, 112]
Generated Node #0,3,2: 59:[80, 112] Operation: 62+50=112
Exploring Operation: 62-50=12, Resulting Numbers: [80, 12]
Generated Node #0,3,3: 59:[80, 12] Operation: 62-50=12
Exploring Operation: 80-62=18, Resulting Numbers: [50, 18]
Generated Node #0,3,4: 59:[50, 18] Operation: 80-62=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 59:[62, 30], Operations: ['52+28=80', '80-50=30']
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 59:[50, 18], Operations: ['52+28=80', '80-62=18']
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,59 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[80, 12], Operations: ['52+28=80', '62-50=12']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[62, 130], Operations: ['52+28=80', '50+80=130']
Exploring Operation: 130-62=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 62*130=8060, Resulting Numbers: [8060]
8060,59 unequal: No Solution
Exploring Operation: 62+130=192, Resulting Numbers: [192]
192,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 59:[80, 112], Operations: ['52+28=80', '62+50=112']
Exploring Operation: 112-80=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 80+112=192, Resulting Numbers: [192]
192,59 unequal: No Solution
Exploring Operation: 80*112=8960, Resulting Numbers: [8960]
8960,59 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: 59:[52, 50, 34], Operations: ['62-28=34']
Exploring Operation: 50+34=84, Resulting Numbers: [52, 84]
Generated Node #0,4,0: 59:[52, 84] Operation: 50+34=84
Exploring Operation: 52+34=86, Resulting Numbers: [50, 86]
Generated Node #0,4,1: 59:[50, 86] Operation: 52+34=86
Exploring Operation: 52+50=102, Resulting Numbers: [34, 102]
Generated Node #0,4,2: 59:[34, 102] Operation: 52+50=102
Exploring Operation: 52-34=18, Resulting Numbers: [50, 18]
Generated Node #0,4,3: 59:[50, 18] Operation: 52-34=18
Exploring Operation: 50-34=16, Resulting Numbers: [52, 16]
Generated Node #0,4,4: 59:[52, 16] Operation: 50-34=16
Moving to Node #0,0
Current State: 59:[62, 50, 24], Operations: ['52-28=24']
Exploring Operation: 50+24=74, Resulting Numbers: [62, 74]
Generated Node #0,0,0: 59:[62, 74] Operation: 50+24=74
Exploring Operation: 50-24=26, Resulting Numbers: [62, 26]
Generated Node #0,0,1: 59:[62, 26] Operation: 50-24=26
Exploring Operation: 62-24=38, Resulting Numbers: [50, 38]
Generated Node #0,0,2: 59:[50, 38] Operation: 62-24=38
Exploring Operation: 62+24=86, Resulting Numbers: [50, 86]
Generated Node #0,0,3: 59:[50, 86] Operation: 62+24=86
Exploring Operation: 62-50=12, Resulting Numbers: [24, 12]
Generated Node #0,0,4: 59:[24, 12] Operation: 62-50=12
Moving to Node #0,1
Current State: 59:[52, 50, 90], Operations: ['62+28=90']
Exploring Operation: 90-50=40, Resulting Numbers: [52, 40]
Generated Node #0,1,0: 59:[52, 40] Operation: 90-50=40
Exploring Operation: 90-52=38, Resulting Numbers: [50, 38]
Generated Node #0,1,1: 59:[50, 38] Operation: 90-52=38
Exploring Operation: 52-50=2, Resulting Numbers: [90, 2]
Generated Node #0,1,2: 59:[90, 2] Operation: 52-50=2
Exploring Operation: 52+50=102, Resulting Numbers: [90, 102]
Generated Node #0,1,3: 59:[90, 102] Operation: 52+50=102
Exploring Operation: 50+90=140, Resulting Numbers: [52, 140]
Generated Node #0,1,4: 59:[52, 140] Operation: 50+90=140
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[52, 40], Operations: ['62+28=90', '90-50=40']
Exploring Operation: 52-40=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 52*40=2080, Resulting Numbers: [2080]
2080,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[50, 38], Operations: ['62+28=90', '90-52=38']
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,59 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[90, 102], Operations: ['62+28=90', '52+50=102']
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,59 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[90, 2], Operations: ['62+28=90', '52-50=2']
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,59 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[52, 140], Operations: ['62+28=90', '50+90=140']
Exploring Operation: 140-52=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 52*140=7280, Resulting Numbers: [7280]
7280,59 unequal: No Solution
Exploring Operation: 52+140=192, Resulting Numbers: [192]
192,59 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: 59:[62, 74], Operations: ['52-28=24', '50+24=74']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[50, 38], Operations: ['52-28=24', '62-24=38']
Exploring Operation: 50*38=1900, Resulting Numbers: [1900]
1900,59 unequal: No Solution
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,59 unequal: No Solution
Exploring Operation: 50+38=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[52, 84], Operations: ['62-28=34', '50+34=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,59 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[50, 86], Operations: ['52-28=24', '62+24=86']
Exploring Operation: 50+86=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 50*86=4300, Resulting Numbers: [4300]
4300,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[50, 86], Operations: ['62-28=34', '52+34=86']
Exploring Operation: 50*86=4300, Resulting Numbers: [4300]
4300,59 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 50+86=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[62, 26], Operations: ['52-28=24', '50-24=26']
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,59 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[50, 18], Operations: ['62-28=34', '52-34=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,59 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[52, 16], Operations: ['62-28=34', '50-34=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 52*16=832, Resulting Numbers: [832]
832,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[34, 102], Operations: ['62-28=34', '52+50=102']
Exploring Operation: 102-34=68, Resulting Numbers: [68]
68,59 unequal: No Solution
Exploring Operation: 34+102=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 102/34=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 34*102=3468, Resulting Numbers: [3468]
3468,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[24, 12], Operations: ['52-28=24', '62-50=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,59 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
93,
40,
36,
80
] | 59 | [
"93-36=57",
"80/40=2",
"57+2=59"
] | Current State: 59:[93, 40, 36, 80], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [40, 80, 57]
Generated Node #2: [40, 80, 57] from Operation: 93-36=57
Current State: 59:[40, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/40=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 80/40=2
Current State: 59:[57, 2], Operations: ['93-36=57', '80/40=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[93, 40, 36, 80], Operations: []
Exploring Operation: 40+36=76, Resulting Numbers: [93, 80, 76]
Generated Node #0,0: 59:[93, 80, 76] Operation: 40+36=76
Exploring Operation: 93-36=57, Resulting Numbers: [40, 80, 57]
Generated Node #0,1: 59:[40, 80, 57] Operation: 93-36=57
Exploring Operation: 80-36=44, Resulting Numbers: [93, 40, 44]
Generated Node #0,2: 59:[93, 40, 44] Operation: 80-36=44
Exploring Operation: 93-40=53, Resulting Numbers: [36, 80, 53]
Generated Node #0,3: 59:[36, 80, 53] Operation: 93-40=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[40, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/40=2, Resulting Numbers: [57, 2]
Generated Node #0,1,0: 59:[57, 2] Operation: 80/40=2
Exploring Operation: 40+57=97, Resulting Numbers: [80, 97]
Generated Node #0,1,1: 59:[80, 97] Operation: 40+57=97
Exploring Operation: 80-40=40, Resulting Numbers: [57, 40]
Generated Node #0,1,2: 59:[57, 40] Operation: 80-40=40
Exploring Operation: 80-57=23, Resulting Numbers: [40, 23]
Generated Node #0,1,3: 59:[40, 23] Operation: 80-57=23
Moving to Node #0,1,2
Current State: 59:[57, 40], Operations: ['93-36=57', '80-40=40']
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[40, 23], Operations: ['93-36=57', '80-57=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,59 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[80, 97], Operations: ['93-36=57', '40+57=97']
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,59 unequal: No Solution
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,59 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[57, 2], Operations: ['93-36=57', '80/40=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,59 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[93, 40, 36, 80], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [40, 80, 57]
Generated Node #0,1: 59:[40, 80, 57] Operation: 93-36=57
Moving to Node #0,1
Current State: 59:[40, 80, 57], Operations: ['93-36=57']
Exploring Operation: 80/40=2, Resulting Numbers: [57, 2]
Generated Node #0,1,0: 59:[57, 2] Operation: 80/40=2
Moving to Node #0,1,0
Current State: 59:[57, 2], Operations: ['93-36=57', '80/40=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
18,
4,
30,
5
] | 48 | [
"18+30=48",
"5-4=1",
"48*1=48"
] | Current State: 48:[18, 4, 30, 5], Operations: []
Exploring Operation: 18+30=48, Resulting Numbers: [4, 5, 48]
Generated Node #2: [4, 5, 48] from Operation: 18+30=48
Current State: 48:[4, 5, 48], Operations: ['18+30=48']
Exploring Operation: 5-4=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 5-4=1
Current State: 48:[48, 1], Operations: ['18+30=48', '5-4=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[18, 4, 30, 5], Operations: []
Exploring Operation: 30-18=12, Resulting Numbers: [4, 5, 12]
Generated Node #0,0: 48:[4, 5, 12] Operation: 30-18=12
Exploring Operation: 18+30=48, Resulting Numbers: [4, 5, 48]
Generated Node #0,1: 48:[4, 5, 48] Operation: 18+30=48
Exploring Operation: 30-5=25, Resulting Numbers: [18, 4, 25]
Generated Node #0,2: 48:[18, 4, 25] Operation: 30-5=25
Exploring Operation: 30-4=26, Resulting Numbers: [18, 5, 26]
Generated Node #0,3: 48:[18, 5, 26] Operation: 30-4=26
Exploring Operation: 30/5=6, Resulting Numbers: [18, 4, 6]
Generated Node #0,4: 48:[18, 4, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[4, 5, 12], Operations: ['30-18=12']
Exploring Operation: 4+12=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 48:[5, 16] Operation: 4+12=16
Exploring Operation: 12-4=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 48:[5, 8] Operation: 12-4=8
Exploring Operation: 5-4=1, Resulting Numbers: [12, 1]
Generated Node #0,0,2: 48:[12, 1] Operation: 5-4=1
Exploring Operation: 4+5=9, Resulting Numbers: [12, 9]
Generated Node #0,0,3: 48:[12, 9] Operation: 4+5=9
Exploring Operation: 4*12=48, Resulting Numbers: [5, 48]
Generated Node #0,0,4: 48:[5, 48] Operation: 4*12=48
Moving to Node #0,0,0
Current State: 48:[5, 16], Operations: ['30-18=12', '4+12=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[12, 1], Operations: ['30-18=12', '5-4=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Moving to Node #0,0,4
Current State: 48:[5, 48], Operations: ['30-18=12', '4*12=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[5, 8], Operations: ['30-18=12', '12-4=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[12, 9], Operations: ['30-18=12', '4+5=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[4, 5, 48], Operations: ['18+30=48']
Exploring Operation: 4*5=20, Resulting Numbers: [48, 20]
Generated Node #0,1,0: 48:[48, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [48, 9]
Generated Node #0,1,1: 48:[48, 9] Operation: 4+5=9
Exploring Operation: 5-4=1, Resulting Numbers: [48, 1]
Generated Node #0,1,2: 48:[48, 1] Operation: 5-4=1
Exploring Operation: 48/4=12, Resulting Numbers: [5, 12]
Generated Node #0,1,3: 48:[5, 12] Operation: 48/4=12
Exploring Operation: 4+48=52, Resulting Numbers: [5, 52]
Generated Node #0,1,4: 48:[5, 52] Operation: 4+48=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 48:[48, 9], Operations: ['18+30=48', '4+5=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,48 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,48 unequal: No Solution
No 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: 48:[48, 1], Operations: ['18+30=48', '5-4=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[18, 4, 30, 5], Operations: []
Exploring Operation: 18+30=48, Resulting Numbers: [4, 5, 48]
Generated Node #0,1: 48:[4, 5, 48] Operation: 18+30=48
Moving to Node #0,1
Current State: 48:[4, 5, 48], Operations: ['18+30=48']
Exploring Operation: 5-4=1, Resulting Numbers: [48, 1]
Generated Node #0,1,2: 48:[48, 1] Operation: 5-4=1
Moving to Node #0,1,2
Current State: 48:[48, 1], Operations: ['18+30=48', '5-4=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
60,
53,
26,
70
] | 36 | [
"60-53=7",
"70/7=10",
"26+10=36"
] | Current State: 36:[60, 53, 26, 70], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [26, 70, 7]
Generated Node #2: [26, 70, 7] from Operation: 60-53=7
Current State: 36:[26, 70, 7], Operations: ['60-53=7']
Exploring Operation: 70/7=10, Resulting Numbers: [26, 10]
Generated Node #3: [26, 10] from Operation: 70/7=10
Current State: 36:[26, 10], Operations: ['60-53=7', '70/7=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[60, 53, 26, 70], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [53, 26, 10]
Generated Node #0,0: 36:[53, 26, 10] Operation: 70-60=10
Exploring Operation: 70-26=44, Resulting Numbers: [60, 53, 44]
Generated Node #0,1: 36:[60, 53, 44] Operation: 70-26=44
Exploring Operation: 70-53=17, Resulting Numbers: [60, 26, 17]
Generated Node #0,2: 36:[60, 26, 17] Operation: 70-53=17
Exploring Operation: 60-53=7, Resulting Numbers: [26, 70, 7]
Generated Node #0,3: 36:[26, 70, 7] Operation: 60-53=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[53, 26, 10], Operations: ['70-60=10']
Exploring Operation: 53-26=27, Resulting Numbers: [10, 27]
Generated Node #0,0,0: 36:[10, 27] Operation: 53-26=27
Exploring Operation: 53-10=43, Resulting Numbers: [26, 43]
Generated Node #0,0,1: 36:[26, 43] Operation: 53-10=43
Exploring Operation: 26+10=36, Resulting Numbers: [53, 36]
Generated Node #0,0,2: 36:[53, 36] Operation: 26+10=36
Exploring Operation: 26-10=16, Resulting Numbers: [53, 16]
Generated Node #0,0,3: 36:[53, 16] Operation: 26-10=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[10, 27], Operations: ['70-60=10', '53-26=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,36 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,36 unequal: No Solution
No 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: 36:[26, 43], Operations: ['70-60=10', '53-10=43']
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,36 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No 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: 36:[53, 36], Operations: ['70-60=10', '26+10=36']
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,36 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,36 unequal: No Solution
No 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: 36:[53, 16], Operations: ['70-60=10', '26-10=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,36 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,36 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: 36:[60, 26, 17], Operations: ['70-53=17']
Exploring Operation: 26+17=43, Resulting Numbers: [60, 43]
Generated Node #0,2,0: 36:[60, 43] Operation: 26+17=43
Exploring Operation: 60-26=34, Resulting Numbers: [17, 34]
Generated Node #0,2,1: 36:[17, 34] Operation: 60-26=34
Exploring Operation: 60-17=43, Resulting Numbers: [26, 43]
Generated Node #0,2,2: 36:[26, 43] Operation: 60-17=43
Exploring Operation: 26-17=9, Resulting Numbers: [60, 9]
Generated Node #0,2,3: 36:[60, 9] Operation: 26-17=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[17, 34], Operations: ['70-53=17', '60-26=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,36 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No 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: 36:[26, 43], Operations: ['70-53=17', '60-17=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,36 unequal: No Solution
No 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: 36:[60, 9], Operations: ['70-53=17', '26-17=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,36 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,36 unequal: No Solution
No 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: 36:[60, 43], Operations: ['70-53=17', '26+17=43']
Exploring Operation: 60+43=103, Resulting Numbers: [103]
103,36 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 60*43=2580, Resulting Numbers: [2580]
2580,36 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: 36:[26, 70, 7], Operations: ['60-53=7']
Exploring Operation: 70-7=63, Resulting Numbers: [26, 63]
Generated Node #0,3,0: 36:[26, 63] Operation: 70-7=63
Exploring Operation: 26-7=19, Resulting Numbers: [70, 19]
Generated Node #0,3,1: 36:[70, 19] Operation: 26-7=19
Exploring Operation: 70-26=44, Resulting Numbers: [7, 44]
Generated Node #0,3,2: 36:[7, 44] Operation: 70-26=44
Exploring Operation: 70/7=10, Resulting Numbers: [26, 10]
Generated Node #0,3,3: 36:[26, 10] Operation: 70/7=10
Moving to Node #0,3,2
Current State: 36:[7, 44], Operations: ['60-53=7', '70-26=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[26, 10], Operations: ['60-53=7', '70/7=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[60, 53, 26, 70], Operations: []
Exploring Operation: 60-53=7, Resulting Numbers: [26, 70, 7]
Generated Node #0,3: 36:[26, 70, 7] Operation: 60-53=7
Moving to Node #0,3
Current State: 36:[26, 70, 7], Operations: ['60-53=7']
Exploring Operation: 70/7=10, Resulting Numbers: [26, 10]
Generated Node #0,3,3: 36:[26, 10] Operation: 70/7=10
Moving to Node #0,3,3
Current State: 36:[26, 10], Operations: ['60-53=7', '70/7=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
53,
80,
47,
49
] | 25 | [
"80-53=27",
"49-47=2",
"27-2=25"
] | Current State: 25:[53, 80, 47, 49], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [47, 49, 27]
Generated Node #2: [47, 49, 27] from Operation: 80-53=27
Current State: 25:[47, 49, 27], Operations: ['80-53=27']
Exploring Operation: 49-47=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 49-47=2
Current State: 25:[27, 2], Operations: ['80-53=27', '49-47=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[53, 80, 47, 49], Operations: []
Exploring Operation: 80-49=31, Resulting Numbers: [53, 47, 31]
Generated Node #0,0: 25:[53, 47, 31] Operation: 80-49=31
Exploring Operation: 80-53=27, Resulting Numbers: [47, 49, 27]
Generated Node #0,1: 25:[47, 49, 27] Operation: 80-53=27
Exploring Operation: 80-47=33, Resulting Numbers: [53, 49, 33]
Generated Node #0,2: 25:[53, 49, 33] Operation: 80-47=33
Moving to Node #0,1
Current State: 25:[47, 49, 27], Operations: ['80-53=27']
Exploring Operation: 49-27=22, Resulting Numbers: [47, 22]
Generated Node #0,1,0: 25:[47, 22] Operation: 49-27=22
Exploring Operation: 49-47=2, Resulting Numbers: [27, 2]
Generated Node #0,1,1: 25:[27, 2] Operation: 49-47=2
Exploring Operation: 47-27=20, Resulting Numbers: [49, 20]
Generated Node #0,1,2: 25:[49, 20] Operation: 47-27=20
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[27, 2], Operations: ['80-53=27', '49-47=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[53, 80, 47, 49], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [47, 49, 27]
Generated Node #0,1: 25:[47, 49, 27] Operation: 80-53=27
Moving to Node #0,1
Current State: 25:[47, 49, 27], Operations: ['80-53=27']
Exploring Operation: 49-47=2, Resulting Numbers: [27, 2]
Generated Node #0,1,1: 25:[27, 2] Operation: 49-47=2
Moving to Node #0,1,1
Current State: 25:[27, 2], Operations: ['80-53=27', '49-47=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
19,
44,
64,
42
] | 41 | [
"19+44=63",
"64-42=22",
"63-22=41"
] | Current State: 41:[19, 44, 64, 42], Operations: []
Exploring Operation: 19+44=63, Resulting Numbers: [64, 42, 63]
Generated Node #2: [64, 42, 63] from Operation: 19+44=63
Current State: 41:[64, 42, 63], Operations: ['19+44=63']
Exploring Operation: 64-42=22, Resulting Numbers: [63, 22]
Generated Node #3: [63, 22] from Operation: 64-42=22
Current State: 41:[63, 22], Operations: ['19+44=63', '64-42=22']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[19, 44, 64, 42], Operations: []
Exploring Operation: 44-19=25, Resulting Numbers: [64, 42, 25]
Generated Node #0,0: 41:[64, 42, 25] Operation: 44-19=25
Exploring Operation: 64-19=45, Resulting Numbers: [44, 42, 45]
Generated Node #0,1: 41:[44, 42, 45] Operation: 64-19=45
Exploring Operation: 64-44=20, Resulting Numbers: [19, 42, 20]
Generated Node #0,2: 41:[19, 42, 20] Operation: 64-44=20
Exploring Operation: 42-19=23, Resulting Numbers: [44, 64, 23]
Generated Node #0,3: 41:[44, 64, 23] Operation: 42-19=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[44, 42, 45], Operations: ['64-19=45']
Exploring Operation: 45-42=3, Resulting Numbers: [44, 3]
Generated Node #0,1,0: 41:[44, 3] Operation: 45-42=3
Exploring Operation: 44-42=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 41:[45, 2] Operation: 44-42=2
Exploring Operation: 44+42=86, Resulting Numbers: [45, 86]
Generated Node #0,1,2: 41:[45, 86] Operation: 44+42=86
Exploring Operation: 45-44=1, Resulting Numbers: [42, 1]
Generated Node #0,1,3: 41:[42, 1] Operation: 45-44=1
Moving to Node #0,1,0
Current State: 41:[44, 3], Operations: ['64-19=45', '45-42=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[19, 44, 64, 42], Operations: []
Exploring Operation: 64-19=45, Resulting Numbers: [44, 42, 45]
Generated Node #0,1: 41:[44, 42, 45] Operation: 64-19=45
Moving to Node #0,1
Current State: 41:[44, 42, 45], Operations: ['64-19=45']
Exploring Operation: 45-42=3, Resulting Numbers: [44, 3]
Generated Node #0,1,0: 41:[44, 3] Operation: 45-42=3
Moving to Node #0,1,0
Current State: 41:[44, 3], Operations: ['64-19=45', '45-42=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
67,
10,
72,
17
] | 95 | [
"72-67=5",
"17*5=85",
"10+85=95"
] | Current State: 95:[67, 10, 72, 17], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [10, 17, 5]
Generated Node #2: [10, 17, 5] from Operation: 72-67=5
Current State: 95:[10, 17, 5], Operations: ['72-67=5']
Exploring Operation: 17*5=85, Resulting Numbers: [10, 85]
Generated Node #3: [10, 85] from Operation: 17*5=85
Current State: 95:[10, 85], Operations: ['72-67=5', '17*5=85']
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[67, 10, 72, 17], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [10, 17, 5]
Generated Node #0,0: 95:[10, 17, 5] Operation: 72-67=5
Exploring Operation: 67+17=84, Resulting Numbers: [10, 72, 84]
Generated Node #0,1: 95:[10, 72, 84] Operation: 67+17=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[10, 17, 5], Operations: ['72-67=5']
Exploring Operation: 10-5=5, Resulting Numbers: [17, 5]
Generated Node #0,0,0: 95:[17, 5] Operation: 10-5=5
Exploring Operation: 17-10=7, Resulting Numbers: [5, 7]
Generated Node #0,0,1: 95:[5, 7] Operation: 17-10=7
Moving to Node #0,0,0
Current State: 95:[17, 5], Operations: ['72-67=5', '10-5=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,95 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[5, 7], Operations: ['72-67=5', '17-10=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[10, 72, 84], Operations: ['67+17=84']
Exploring Operation: 84-72=12, Resulting Numbers: [10, 12]
Generated Node #0,1,0: 95:[10, 12] Operation: 84-72=12
Exploring Operation: 10+72=82, Resulting Numbers: [84, 82]
Generated Node #0,1,1: 95:[84, 82] Operation: 10+72=82
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[10, 12], Operations: ['67+17=84', '84-72=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,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,1,1
Current State: 95:[84, 82], Operations: ['67+17=84', '10+72=82']
Exploring Operation: 84+82=166, Resulting Numbers: [166]
166,95 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,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_2 | sum_heuristic |
[
97,
62,
26,
96
] | 88 | [
"97-96=1",
"62+26=88",
"1*88=88"
] | Current State: 88:[97, 62, 26, 96], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [62, 26, 1]
Generated Node #2: [62, 26, 1] from Operation: 97-96=1
Current State: 88:[62, 26, 1], Operations: ['97-96=1']
Exploring Operation: 62+26=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 62+26=88
Current State: 88:[1, 88], Operations: ['97-96=1', '62+26=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[97, 62, 26, 96], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [62, 26, 1]
Generated Node #0,0: 88:[62, 26, 1] Operation: 97-96=1
Exploring Operation: 96-62=34, Resulting Numbers: [97, 26, 34]
Generated Node #0,1: 88:[97, 26, 34] Operation: 96-62=34
Exploring Operation: 62+26=88, Resulting Numbers: [97, 96, 88]
Generated Node #0,2: 88:[97, 96, 88] Operation: 62+26=88
Exploring Operation: 62-26=36, Resulting Numbers: [97, 96, 36]
Generated Node #0,3: 88:[97, 96, 36] Operation: 62-26=36
Exploring Operation: 97-62=35, Resulting Numbers: [26, 96, 35]
Generated Node #0,4: 88:[26, 96, 35] Operation: 97-62=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[97, 96, 88], Operations: ['62+26=88']
Exploring Operation: 97+96=193, Resulting Numbers: [88, 193]
Generated Node #0,2,0: 88:[88, 193] Operation: 97+96=193
Exploring Operation: 97+88=185, Resulting Numbers: [96, 185]
Generated Node #0,2,1: 88:[96, 185] Operation: 97+88=185
Exploring Operation: 96-88=8, Resulting Numbers: [97, 8]
Generated Node #0,2,2: 88:[97, 8] Operation: 96-88=8
Exploring Operation: 97-88=9, Resulting Numbers: [96, 9]
Generated Node #0,2,3: 88:[96, 9] Operation: 97-88=9
Exploring Operation: 97-96=1, Resulting Numbers: [88, 1]
Generated Node #0,2,4: 88:[88, 1] Operation: 97-96=1
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[88, 1], Operations: ['62+26=88', '97-96=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[97, 62, 26, 96], Operations: []
Exploring Operation: 62+26=88, Resulting Numbers: [97, 96, 88]
Generated Node #0,2: 88:[97, 96, 88] Operation: 62+26=88
Moving to Node #0,2
Current State: 88:[97, 96, 88], Operations: ['62+26=88']
Exploring Operation: 97-96=1, Resulting Numbers: [88, 1]
Generated Node #0,2,4: 88:[88, 1] Operation: 97-96=1
Moving to Node #0,2,4
Current State: 88:[88, 1], Operations: ['62+26=88', '97-96=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
67,
17,
21,
74
] | 98 | [
"74-67=7",
"17*7=119",
"119-21=98"
] | Current State: 98:[67, 17, 21, 74], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [17, 21, 7]
Generated Node #2: [17, 21, 7] from Operation: 74-67=7
Current State: 98:[17, 21, 7], Operations: ['74-67=7']
Exploring Operation: 17*7=119, Resulting Numbers: [21, 119]
Generated Node #3: [21, 119] from Operation: 17*7=119
Current State: 98:[21, 119], Operations: ['74-67=7', '17*7=119']
Exploring Operation: 119-21=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 17, 21, 74], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [67, 17, 53]
Generated Node #0,0: 98:[67, 17, 53] Operation: 74-21=53
Exploring Operation: 67-21=46, Resulting Numbers: [17, 74, 46]
Generated Node #0,1: 98:[17, 74, 46] Operation: 67-21=46
Exploring Operation: 21+74=95, Resulting Numbers: [67, 17, 95]
Generated Node #0,2: 98:[67, 17, 95] Operation: 21+74=95
Exploring Operation: 74-67=7, Resulting Numbers: [17, 21, 7]
Generated Node #0,3: 98:[17, 21, 7] Operation: 74-67=7
Moving to Node #0,3
Current State: 98:[17, 21, 7], Operations: ['74-67=7']
Exploring Operation: 21-17=4, Resulting Numbers: [7, 4]
Generated Node #0,3,0: 98:[7, 4] Operation: 21-17=4
Exploring Operation: 21-7=14, Resulting Numbers: [17, 14]
Generated Node #0,3,1: 98:[17, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [17, 3]
Generated Node #0,3,2: 98:[17, 3] Operation: 21/7=3
Exploring Operation: 17-7=10, Resulting Numbers: [21, 10]
Generated Node #0,3,3: 98:[21, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[7, 4], Operations: ['74-67=7', '21-17=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,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,1
Current State: 98:[17, 14], Operations: ['74-67=7', '21-7=14']
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,98 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,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,2
Current State: 98:[17, 3], Operations: ['74-67=7', '21/7=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,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,3
Current State: 98:[21, 10], Operations: ['74-67=7', '17-7=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,98 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[67, 17, 95], Operations: ['21+74=95']
Exploring Operation: 95-67=28, Resulting Numbers: [17, 28]
Generated Node #0,2,0: 98:[17, 28] Operation: 95-67=28
Exploring Operation: 67-17=50, Resulting Numbers: [95, 50]
Generated Node #0,2,1: 98:[95, 50] Operation: 67-17=50
Exploring Operation: 67+17=84, Resulting Numbers: [95, 84]
Generated Node #0,2,2: 98:[95, 84] Operation: 67+17=84
Exploring Operation: 17+95=112, Resulting Numbers: [67, 112]
Generated Node #0,2,3: 98:[67, 112] Operation: 17+95=112
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[95, 50], Operations: ['21+74=95', '67-17=50']
Exploring Operation: 95-50=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 95*50=4750, Resulting Numbers: [4750]
4750,98 unequal: No Solution
Exploring Operation: 95+50=145, Resulting Numbers: [145]
145,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[17, 28], Operations: ['21+74=95', '95-67=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[95, 84], Operations: ['21+74=95', '67+17=84']
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 95+84=179, Resulting Numbers: [179]
179,98 unequal: No Solution
Exploring Operation: 95*84=7980, Resulting Numbers: [7980]
7980,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[67, 112], Operations: ['21+74=95', '17+95=112']
Exploring Operation: 67*112=7504, Resulting Numbers: [7504]
7504,98 unequal: No Solution
Exploring Operation: 112-67=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 67+112=179, Resulting Numbers: [179]
179,98 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: 98:[67, 17, 53], Operations: ['74-21=53']
Exploring Operation: 67+53=120, Resulting Numbers: [17, 120]
Generated Node #0,0,0: 98:[17, 120] Operation: 67+53=120
Exploring Operation: 67+17=84, Resulting Numbers: [53, 84]
Generated Node #0,0,1: 98:[53, 84] Operation: 67+17=84
Exploring Operation: 67-17=50, Resulting Numbers: [53, 50]
Generated Node #0,0,2: 98:[53, 50] Operation: 67-17=50
Exploring Operation: 67-53=14, Resulting Numbers: [17, 14]
Generated Node #0,0,3: 98:[17, 14] Operation: 67-53=14
Moving to Node #0,1
Current State: 98:[17, 74, 46], Operations: ['67-21=46']
Exploring Operation: 17+74=91, Resulting Numbers: [46, 91]
Generated Node #0,1,0: 98:[46, 91] Operation: 17+74=91
Exploring Operation: 74+46=120, Resulting Numbers: [17, 120]
Generated Node #0,1,1: 98:[17, 120] Operation: 74+46=120
Exploring Operation: 74-17=57, Resulting Numbers: [46, 57]
Generated Node #0,1,2: 98:[46, 57] Operation: 74-17=57
Exploring Operation: 74-46=28, Resulting Numbers: [17, 28]
Generated Node #0,1,3: 98:[17, 28] Operation: 74-46=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[46, 91], Operations: ['67-21=46', '17+74=91']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[46, 57], Operations: ['67-21=46', '74-17=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,98 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[17, 28], Operations: ['67-21=46', '74-46=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,98 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[17, 120], Operations: ['67-21=46', '74+46=120']
Exploring Operation: 120-17=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 17+120=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 17*120=2040, Resulting Numbers: [2040]
2040,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 98:[17, 14], Operations: ['74-21=53', '67-53=14']
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,98 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[53, 50], Operations: ['74-21=53', '67-17=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,98 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[53, 84], Operations: ['74-21=53', '67+17=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[17, 120], Operations: ['74-21=53', '67+53=120']
Exploring Operation: 17*120=2040, Resulting Numbers: [2040]
2040,98 unequal: No Solution
Exploring Operation: 120-17=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 17+120=137, Resulting Numbers: [137]
137,98 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.