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 |
|---|---|---|---|---|---|---|---|---|
[
39,
2,
9,
76
] | 83 | [
"76-39=37",
"2*37=74",
"9+74=83"
] | Current State: 83:[39, 2, 9, 76], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [2, 9, 37]
Generated Node #2: [2, 9, 37] from Operation: 76-39=37
Current State: 83:[2, 9, 37], Operations: ['76-39=37']
Exploring Operation: 2*37=74, Resulting Numbers: [9, 74]
Generated Node #3: [9, 74] from Operation: 2*37=74
Current State: 83:[9, 74], Operations: ['76-39=37', '2*37=74']
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[39, 2, 9, 76], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [39, 76, 18]
Generated Node #0,0: 83:[39, 76, 18] Operation: 2*9=18
Exploring Operation: 39+9=48, Resulting Numbers: [2, 76, 48]
Generated Node #0,1: 83:[2, 76, 48] Operation: 39+9=48
Exploring Operation: 2+9=11, Resulting Numbers: [39, 76, 11]
Generated Node #0,2: 83:[39, 76, 11] Operation: 2+9=11
Exploring Operation: 39*2=78, Resulting Numbers: [9, 76, 78]
Generated Node #0,3: 83:[9, 76, 78] Operation: 39*2=78
Exploring Operation: 39+2=41, Resulting Numbers: [9, 76, 41]
Generated Node #0,4: 83:[9, 76, 41] Operation: 39+2=41
Moving to Node #0,3
Current State: 83:[9, 76, 78], Operations: ['39*2=78']
Exploring Operation: 9+78=87, Resulting Numbers: [76, 87]
Generated Node #0,3,0: 83:[76, 87] Operation: 9+78=87
Exploring Operation: 76+78=154, Resulting Numbers: [9, 154]
Generated Node #0,3,1: 83:[9, 154] Operation: 76+78=154
Exploring Operation: 9+76=85, Resulting Numbers: [78, 85]
Generated Node #0,3,2: 83:[78, 85] Operation: 9+76=85
Exploring Operation: 76-9=67, Resulting Numbers: [78, 67]
Generated Node #0,3,3: 83:[78, 67] Operation: 76-9=67
Exploring Operation: 78-9=69, Resulting Numbers: [76, 69]
Generated Node #0,3,4: 83:[76, 69] Operation: 78-9=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[78, 85], Operations: ['39*2=78', '9+76=85']
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,83 unequal: No Solution
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[76, 87], Operations: ['39*2=78', '9+78=87']
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,83 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[78, 67], Operations: ['39*2=78', '76-9=67']
Exploring Operation: 78*67=5226, Resulting Numbers: [5226]
5226,83 unequal: No Solution
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 83:[76, 69], Operations: ['39*2=78', '78-9=69']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,83 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[9, 154], Operations: ['39*2=78', '76+78=154']
Exploring Operation: 9*154=1386, Resulting Numbers: [1386]
1386,83 unequal: No Solution
Exploring Operation: 154-9=145, Resulting Numbers: [145]
145,83 unequal: No Solution
Exploring Operation: 9+154=163, Resulting Numbers: [163]
163,83 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: 83:[39, 76, 18], Operations: ['2*9=18']
Exploring Operation: 76+18=94, Resulting Numbers: [39, 94]
Generated Node #0,0,0: 83:[39, 94] Operation: 76+18=94
Exploring Operation: 39-18=21, Resulting Numbers: [76, 21]
Generated Node #0,0,1: 83:[76, 21] Operation: 39-18=21
Exploring Operation: 76-18=58, Resulting Numbers: [39, 58]
Generated Node #0,0,2: 83:[39, 58] Operation: 76-18=58
Exploring Operation: 39+18=57, Resulting Numbers: [76, 57]
Generated Node #0,0,3: 83:[76, 57] Operation: 39+18=57
Exploring Operation: 39+76=115, Resulting Numbers: [18, 115]
Generated Node #0,0,4: 83:[18, 115] Operation: 39+76=115
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[76, 57], Operations: ['2*9=18', '39+18=57']
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,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,0,0
Current State: 83:[39, 94], Operations: ['2*9=18', '76+18=94']
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,83 unequal: No Solution
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,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,0,1
Current State: 83:[76, 21], Operations: ['2*9=18', '39-18=21']
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,83 unequal: No Solution
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,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,0,2
Current State: 83:[39, 58], Operations: ['2*9=18', '76-18=58']
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,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,0,4
Current State: 83:[18, 115], Operations: ['2*9=18', '39+76=115']
Exploring Operation: 115-18=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 18*115=2070, Resulting Numbers: [2070]
2070,83 unequal: No Solution
Exploring Operation: 18+115=133, Resulting Numbers: [133]
133,83 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: 83:[2, 76, 48], Operations: ['39+9=48']
Exploring Operation: 48-2=46, Resulting Numbers: [76, 46]
Generated Node #0,1,0: 83:[76, 46] Operation: 48-2=46
Exploring Operation: 76-2=74, Resulting Numbers: [48, 74]
Generated Node #0,1,1: 83:[48, 74] Operation: 76-2=74
Exploring Operation: 2+76=78, Resulting Numbers: [48, 78]
Generated Node #0,1,2: 83:[48, 78] Operation: 2+76=78
Exploring Operation: 2*48=96, Resulting Numbers: [76, 96]
Generated Node #0,1,3: 83:[76, 96] Operation: 2*48=96
Exploring Operation: 2+48=50, Resulting Numbers: [76, 50]
Generated Node #0,1,4: 83:[76, 50] Operation: 2+48=50
Moving to Node #0,2
Current State: 83:[39, 76, 11], Operations: ['2+9=11']
Exploring Operation: 76+11=87, Resulting Numbers: [39, 87]
Generated Node #0,2,0: 83:[39, 87] Operation: 76+11=87
Exploring Operation: 39+76=115, Resulting Numbers: [11, 115]
Generated Node #0,2,1: 83:[11, 115] Operation: 39+76=115
Exploring Operation: 76-11=65, Resulting Numbers: [39, 65]
Generated Node #0,2,2: 83:[39, 65] Operation: 76-11=65
Exploring Operation: 39+11=50, Resulting Numbers: [76, 50]
Generated Node #0,2,3: 83:[76, 50] Operation: 39+11=50
Exploring Operation: 39-11=28, Resulting Numbers: [76, 28]
Generated Node #0,2,4: 83:[76, 28] Operation: 39-11=28
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[76, 50], Operations: ['2+9=11', '39+11=50']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,83 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[39, 87], Operations: ['2+9=11', '76+11=87']
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,83 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[39, 65], Operations: ['2+9=11', '76-11=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 83:[76, 28], Operations: ['2+9=11', '39-11=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[11, 115], Operations: ['2+9=11', '39+76=115']
Exploring Operation: 11*115=1265, Resulting Numbers: [1265]
1265,83 unequal: No Solution
Exploring Operation: 11+115=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 115-11=104, Resulting Numbers: [104]
104,83 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: 83:[9, 76, 41], Operations: ['39+2=41']
Exploring Operation: 9+41=50, Resulting Numbers: [76, 50]
Generated Node #0,4,0: 83:[76, 50] Operation: 9+41=50
Exploring Operation: 76-9=67, Resulting Numbers: [41, 67]
Generated Node #0,4,1: 83:[41, 67] Operation: 76-9=67
Exploring Operation: 9+76=85, Resulting Numbers: [41, 85]
Generated Node #0,4,2: 83:[41, 85] Operation: 9+76=85
Exploring Operation: 76+41=117, Resulting Numbers: [9, 117]
Generated Node #0,4,3: 83:[9, 117] Operation: 76+41=117
Exploring Operation: 41-9=32, Resulting Numbers: [76, 32]
Generated Node #0,4,4: 83:[76, 32] Operation: 41-9=32
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[76, 50], Operations: ['39+2=41', '9+41=50']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,83 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,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,4,2
Current State: 83:[41, 85], Operations: ['39+2=41', '9+76=85']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,83 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,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,4,1
Current State: 83:[41, 67], Operations: ['39+2=41', '76-9=67']
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,83 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,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,4,4
Current State: 83:[76, 32], Operations: ['39+2=41', '41-9=32']
Exploring Operation: 76*32=2432, Resulting Numbers: [2432]
2432,83 unequal: No Solution
Exploring Operation: 76+32=108, Resulting Numbers: [108]
108,83 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,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,4,3
Current State: 83:[9, 117], Operations: ['39+2=41', '76+41=117']
Exploring Operation: 9*117=1053, Resulting Numbers: [1053]
1053,83 unequal: No Solution
Exploring Operation: 9+117=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 117/9=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 117-9=108, Resulting Numbers: [108]
108,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 83:[76, 96], Operations: ['39+9=48', '2*48=96']
Exploring Operation: 76+96=172, Resulting Numbers: [172]
172,83 unequal: No Solution
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 76*96=7296, Resulting Numbers: [7296]
7296,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[76, 50], Operations: ['39+9=48', '2+48=50']
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,83 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[48, 78], Operations: ['39+9=48', '2+76=78']
Exploring Operation: 48*78=3744, Resulting Numbers: [3744]
3744,83 unequal: No Solution
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 48+78=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[76, 46], Operations: ['39+9=48', '48-2=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,83 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[48, 74], Operations: ['39+9=48', '76-2=74']
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,83 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
60,
8,
61
] | 98 | [
"90+8=98",
"61-60=1",
"98*1=98"
] | Current State: 98:[90, 60, 8, 61], Operations: []
Exploring Operation: 90+8=98, Resulting Numbers: [60, 61, 98]
Generated Node #2: [60, 61, 98] from Operation: 90+8=98
Current State: 98:[60, 61, 98], Operations: ['90+8=98']
Exploring Operation: 61-60=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 61-60=1
Current State: 98:[98, 1], Operations: ['90+8=98', '61-60=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[90, 60, 8, 61], Operations: []
Exploring Operation: 60-8=52, Resulting Numbers: [90, 61, 52]
Generated Node #0,0: 98:[90, 61, 52] Operation: 60-8=52
Exploring Operation: 90+8=98, Resulting Numbers: [60, 61, 98]
Generated Node #0,1: 98:[60, 61, 98] Operation: 90+8=98
Exploring Operation: 61-60=1, Resulting Numbers: [90, 8, 1]
Generated Node #0,2: 98:[90, 8, 1] Operation: 61-60=1
Moving to Node #0,2
Current State: 98:[90, 8, 1], Operations: ['61-60=1']
Exploring Operation: 8-1=7, Resulting Numbers: [90, 7]
Generated Node #0,2,0: 98:[90, 7] Operation: 8-1=7
Exploring Operation: 90+1=91, Resulting Numbers: [8, 91]
Generated Node #0,2,1: 98:[8, 91] Operation: 90+1=91
Exploring Operation: 90+8=98, Resulting Numbers: [1, 98]
Generated Node #0,2,2: 98:[1, 98] Operation: 90+8=98
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[1, 98], Operations: ['61-60=1', '90+8=98']
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[90, 60, 8, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [90, 8, 1]
Generated Node #0,2: 98:[90, 8, 1] Operation: 61-60=1
Moving to Node #0,2
Current State: 98:[90, 8, 1], Operations: ['61-60=1']
Exploring Operation: 90+8=98, Resulting Numbers: [1, 98]
Generated Node #0,2,2: 98:[1, 98] Operation: 90+8=98
Moving to Node #0,2,2
Current State: 98:[1, 98], Operations: ['61-60=1', '90+8=98']
Exploring Operation: 1*98=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
28,
20,
37,
13
] | 98 | [
"28+20=48",
"37+13=50",
"48+50=98"
] | Current State: 98:[28, 20, 37, 13], Operations: []
Exploring Operation: 28+20=48, Resulting Numbers: [37, 13, 48]
Generated Node #2: [37, 13, 48] from Operation: 28+20=48
Current State: 98:[37, 13, 48], Operations: ['28+20=48']
Exploring Operation: 37+13=50, Resulting Numbers: [48, 50]
Generated Node #3: [48, 50] from Operation: 37+13=50
Current State: 98:[48, 50], Operations: ['28+20=48', '37+13=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[28, 20, 37, 13], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [20, 13, 9]
Generated Node #0,0: 98:[20, 13, 9] Operation: 37-28=9
Exploring Operation: 28+20=48, Resulting Numbers: [37, 13, 48]
Generated Node #0,1: 98:[37, 13, 48] Operation: 28+20=48
Moving to Node #0,0
Current State: 98:[20, 13, 9], Operations: ['37-28=9']
Exploring Operation: 20-13=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 98:[9, 7] Operation: 20-13=7
Exploring Operation: 20-9=11, Resulting Numbers: [13, 11]
Generated Node #0,0,1: 98:[13, 11] Operation: 20-9=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[9, 7], Operations: ['37-28=9', '20-13=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,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,0,1
Current State: 98:[13, 11], Operations: ['37-28=9', '20-9=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,98 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: 98:[37, 13, 48], Operations: ['28+20=48']
Exploring Operation: 48-37=11, Resulting Numbers: [13, 11]
Generated Node #0,1,0: 98:[13, 11] Operation: 48-37=11
Exploring Operation: 37+13=50, Resulting Numbers: [48, 50]
Generated Node #0,1,1: 98:[48, 50] Operation: 37+13=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[48, 50], Operations: ['28+20=48', '37+13=50']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[28, 20, 37, 13], Operations: []
Exploring Operation: 28+20=48, Resulting Numbers: [37, 13, 48]
Generated Node #0,1: 98:[37, 13, 48] Operation: 28+20=48
Moving to Node #0,1
Current State: 98:[37, 13, 48], Operations: ['28+20=48']
Exploring Operation: 37+13=50, Resulting Numbers: [48, 50]
Generated Node #0,1,1: 98:[48, 50] Operation: 37+13=50
Moving to Node #0,1,1
Current State: 98:[48, 50], Operations: ['28+20=48', '37+13=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
12,
40,
52,
60
] | 17 | [
"60/12=5",
"52-40=12",
"5+12=17"
] | Current State: 17:[12, 40, 52, 60], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [40, 52, 5]
Generated Node #2: [40, 52, 5] from Operation: 60/12=5
Current State: 17:[40, 52, 5], Operations: ['60/12=5']
Exploring Operation: 52-40=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 52-40=12
Current State: 17:[5, 12], Operations: ['60/12=5', '52-40=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[12, 40, 52, 60], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [40, 52, 5]
Generated Node #0,0: 17:[40, 52, 5] Operation: 60/12=5
Exploring Operation: 40-12=28, Resulting Numbers: [52, 60, 28]
Generated Node #0,1: 17:[52, 60, 28] Operation: 40-12=28
Exploring Operation: 60-52=8, Resulting Numbers: [12, 40, 8]
Generated Node #0,2: 17:[12, 40, 8] Operation: 60-52=8
Exploring Operation: 52-40=12, Resulting Numbers: [12, 60, 12]
Generated Node #0,3: 17:[12, 60, 12] Operation: 52-40=12
Exploring Operation: 60-40=20, Resulting Numbers: [12, 52, 20]
Generated Node #0,4: 17:[12, 52, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[12, 40, 8], Operations: ['60-52=8']
Exploring Operation: 12-8=4, Resulting Numbers: [40, 4]
Generated Node #0,2,0: 17:[40, 4] Operation: 12-8=4
Exploring Operation: 40-8=32, Resulting Numbers: [12, 32]
Generated Node #0,2,1: 17:[12, 32] Operation: 40-8=32
Exploring Operation: 12+8=20, Resulting Numbers: [40, 20]
Generated Node #0,2,2: 17:[40, 20] Operation: 12+8=20
Exploring Operation: 40-12=28, Resulting Numbers: [8, 28]
Generated Node #0,2,3: 17:[8, 28] Operation: 40-12=28
Exploring Operation: 40/8=5, Resulting Numbers: [12, 5]
Generated Node #0,2,4: 17:[12, 5] Operation: 40/8=5
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 17:[12, 5], Operations: ['60-52=8', '40/8=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[12, 40, 52, 60], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [12, 40, 8]
Generated Node #0,2: 17:[12, 40, 8] Operation: 60-52=8
Moving to Node #0,2
Current State: 17:[12, 40, 8], Operations: ['60-52=8']
Exploring Operation: 40/8=5, Resulting Numbers: [12, 5]
Generated Node #0,2,4: 17:[12, 5] Operation: 40/8=5
Moving to Node #0,2,4
Current State: 17:[12, 5], Operations: ['60-52=8', '40/8=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
6,
1,
27,
35
] | 47 | [
"35-27=8",
"6*8=48",
"48-1=47"
] | Current State: 47:[6, 1, 27, 35], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [6, 1, 8]
Generated Node #2: [6, 1, 8] from Operation: 35-27=8
Current State: 47:[6, 1, 8], Operations: ['35-27=8']
Exploring Operation: 6*8=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 6*8=48
Current State: 47:[1, 48], Operations: ['35-27=8', '6*8=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[6, 1, 27, 35], Operations: []
Exploring Operation: 6+27=33, Resulting Numbers: [1, 35, 33]
Generated Node #0,0: 47:[1, 35, 33] Operation: 6+27=33
Exploring Operation: 6+1=7, Resulting Numbers: [27, 35, 7]
Generated Node #0,1: 47:[27, 35, 7] Operation: 6+1=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[1, 35, 33], Operations: ['6+27=33']
Exploring Operation: 1+35=36, Resulting Numbers: [33, 36]
Generated Node #0,0,0: 47:[33, 36] Operation: 1+35=36
Exploring Operation: 1+33=34, Resulting Numbers: [35, 34]
Generated Node #0,0,1: 47:[35, 34] Operation: 1+33=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[33, 36], Operations: ['6+27=33', '1+35=36']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[35, 34], Operations: ['6+27=33', '1+33=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[27, 35, 7], Operations: ['6+1=7']
Exploring Operation: 35+7=42, Resulting Numbers: [27, 42]
Generated Node #0,1,0: 47:[27, 42] Operation: 35+7=42
Exploring Operation: 27+7=34, Resulting Numbers: [35, 34]
Generated Node #0,1,1: 47:[35, 34] Operation: 27+7=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[27, 42], Operations: ['6+1=7', '35+7=42']
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[35, 34], Operations: ['6+1=7', '27+7=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
18,
3,
72
] | 40 | [
"42/3=14",
"72-18=54",
"54-14=40"
] | Current State: 40:[42, 18, 3, 72], Operations: []
Exploring Operation: 42/3=14, Resulting Numbers: [18, 72, 14]
Generated Node #2: [18, 72, 14] from Operation: 42/3=14
Current State: 40:[18, 72, 14], Operations: ['42/3=14']
Exploring Operation: 72-18=54, Resulting Numbers: [14, 54]
Generated Node #3: [14, 54] from Operation: 72-18=54
Current State: 40:[14, 54], Operations: ['42/3=14', '72-18=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[42, 18, 3, 72], Operations: []
Exploring Operation: 72/3=24, Resulting Numbers: [42, 18, 24]
Generated Node #0,0: 40:[42, 18, 24] Operation: 72/3=24
Exploring Operation: 72/18=4, Resulting Numbers: [42, 3, 4]
Generated Node #0,1: 40:[42, 3, 4] Operation: 72/18=4
Moving to Node #0,1
Current State: 40:[42, 3, 4], Operations: ['72/18=4']
Exploring Operation: 42-3=39, Resulting Numbers: [4, 39]
Generated Node #0,1,0: 40:[4, 39] Operation: 42-3=39
Exploring Operation: 42-4=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 40:[3, 38] Operation: 42-4=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[4, 39], Operations: ['72/18=4', '42-3=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[3, 38], Operations: ['72/18=4', '42-4=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,40 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: 40:[42, 18, 24], Operations: ['72/3=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 40:[18, 18] Operation: 42-24=18
Exploring Operation: 24-18=6, Resulting Numbers: [42, 6]
Generated Node #0,0,1: 40:[42, 6] Operation: 24-18=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[42, 6], Operations: ['72/3=24', '24-18=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[18, 18], Operations: ['72/3=24', '42-24=18']
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,40 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,40 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 |
[
55,
97,
79,
86
] | 13 | [
"55+97=152",
"79+86=165",
"165-152=13"
] | Current State: 13:[55, 97, 79, 86], Operations: []
Exploring Operation: 55+97=152, Resulting Numbers: [79, 86, 152]
Generated Node #2: [79, 86, 152] from Operation: 55+97=152
Current State: 13:[79, 86, 152], Operations: ['55+97=152']
Exploring Operation: 79+86=165, Resulting Numbers: [152, 165]
Generated Node #3: [152, 165] from Operation: 79+86=165
Current State: 13:[152, 165], Operations: ['55+97=152', '79+86=165']
Exploring Operation: 165-152=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[55, 97, 79, 86], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [55, 79, 11]
Generated Node #0,0: 13:[55, 79, 11] Operation: 97-86=11
Exploring Operation: 97-79=18, Resulting Numbers: [55, 86, 18]
Generated Node #0,1: 13:[55, 86, 18] Operation: 97-79=18
Exploring Operation: 86-79=7, Resulting Numbers: [55, 97, 7]
Generated Node #0,2: 13:[55, 97, 7] Operation: 86-79=7
Exploring Operation: 97-55=42, Resulting Numbers: [79, 86, 42]
Generated Node #0,3: 13:[79, 86, 42] Operation: 97-55=42
Moving to Node #0,0
Current State: 13:[55, 79, 11], Operations: ['97-86=11']
Exploring Operation: 79-55=24, Resulting Numbers: [11, 24]
Generated Node #0,0,0: 13:[11, 24] Operation: 79-55=24
Exploring Operation: 55-11=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 13:[79, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [79, 5]
Generated Node #0,0,2: 13:[79, 5] Operation: 55/11=5
Exploring Operation: 79-11=68, Resulting Numbers: [55, 68]
Generated Node #0,0,3: 13:[55, 68] Operation: 79-11=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[11, 24], Operations: ['97-86=11', '79-55=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[55, 97, 79, 86], Operations: []
Exploring Operation: 97-86=11, Resulting Numbers: [55, 79, 11]
Generated Node #0,0: 13:[55, 79, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 13:[55, 79, 11], Operations: ['97-86=11']
Exploring Operation: 79-55=24, Resulting Numbers: [11, 24]
Generated Node #0,0,0: 13:[11, 24] Operation: 79-55=24
Moving to Node #0,0,0
Current State: 13:[11, 24], Operations: ['97-86=11', '79-55=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
73,
63,
84
] | 18 | [
"63/9=7",
"84-73=11",
"7+11=18"
] | Current State: 18:[9, 73, 63, 84], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [73, 84, 7]
Generated Node #2: [73, 84, 7] from Operation: 63/9=7
Current State: 18:[73, 84, 7], Operations: ['63/9=7']
Exploring Operation: 84-73=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 84-73=11
Current State: 18:[7, 11], Operations: ['63/9=7', '84-73=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[9, 73, 63, 84], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [9, 73, 21]
Generated Node #0,0: 18:[9, 73, 21] Operation: 84-63=21
Exploring Operation: 84-73=11, Resulting Numbers: [9, 63, 11]
Generated Node #0,1: 18:[9, 63, 11] Operation: 84-73=11
Moving to Node #0,1
Current State: 18:[9, 63, 11], Operations: ['84-73=11']
Exploring Operation: 63-11=52, Resulting Numbers: [9, 52]
Generated Node #0,1,0: 18:[9, 52] Operation: 63-11=52
Exploring Operation: 63/9=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 18:[11, 7] Operation: 63/9=7
Moving to Node #0,0
Current State: 18:[9, 73, 21], Operations: ['84-63=21']
Exploring Operation: 73-9=64, Resulting Numbers: [21, 64]
Generated Node #0,0,0: 18:[21, 64] Operation: 73-9=64
Exploring Operation: 73-21=52, Resulting Numbers: [9, 52]
Generated Node #0,0,1: 18:[9, 52] Operation: 73-21=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[9, 52], Operations: ['84-63=21', '73-21=52']
Exploring Operation: 9+52=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[21, 64], Operations: ['84-63=21', '73-9=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 18:[11, 7], Operations: ['84-73=11', '63/9=7']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[9, 73, 63, 84], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [9, 63, 11]
Generated Node #0,1: 18:[9, 63, 11] Operation: 84-73=11
Moving to Node #0,1
Current State: 18:[9, 63, 11], Operations: ['84-73=11']
Exploring Operation: 63/9=7, Resulting Numbers: [11, 7]
Generated Node #0,1,1: 18:[11, 7] Operation: 63/9=7
Moving to Node #0,1,1
Current State: 18:[11, 7], Operations: ['84-73=11', '63/9=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
6,
14,
4,
17
] | 30 | [
"6+4=10",
"17-14=3",
"10*3=30"
] | Current State: 30:[6, 14, 4, 17], Operations: []
Exploring Operation: 6+4=10, Resulting Numbers: [14, 17, 10]
Generated Node #2: [14, 17, 10] from Operation: 6+4=10
Current State: 30:[14, 17, 10], Operations: ['6+4=10']
Exploring Operation: 17-14=3, Resulting Numbers: [10, 3]
Generated Node #3: [10, 3] from Operation: 17-14=3
Current State: 30:[10, 3], Operations: ['6+4=10', '17-14=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[6, 14, 4, 17], Operations: []
Exploring Operation: 14-4=10, Resulting Numbers: [6, 17, 10]
Generated Node #0,0: 30:[6, 17, 10] Operation: 14-4=10
Exploring Operation: 14+17=31, Resulting Numbers: [6, 4, 31]
Generated Node #0,1: 30:[6, 4, 31] Operation: 14+17=31
Exploring Operation: 17-14=3, Resulting Numbers: [6, 4, 3]
Generated Node #0,2: 30:[6, 4, 3] Operation: 17-14=3
Moving to Node #0,2
Current State: 30:[6, 4, 3], Operations: ['17-14=3']
Exploring Operation: 6+4=10, Resulting Numbers: [3, 10]
Generated Node #0,2,0: 30:[3, 10] Operation: 6+4=10
Exploring Operation: 6-3=3, Resulting Numbers: [4, 3]
Generated Node #0,2,1: 30:[4, 3] Operation: 6-3=3
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 30:[3, 2] Operation: 6-4=2
Moving to Node #0,0
Current State: 30:[6, 17, 10], Operations: ['14-4=10']
Exploring Operation: 6+10=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 30:[17, 16] Operation: 6+10=16
Exploring Operation: 17-10=7, Resulting Numbers: [6, 7]
Generated Node #0,0,1: 30:[6, 7] Operation: 17-10=7
Exploring Operation: 17-6=11, Resulting Numbers: [10, 11]
Generated Node #0,0,2: 30:[10, 11] Operation: 17-6=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[6, 7], Operations: ['14-4=10', '17-10=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[10, 11], Operations: ['14-4=10', '17-6=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,30 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,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:[17, 16], Operations: ['14-4=10', '6+10=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,30 unequal: No Solution
Exploring Operation: 17-16=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
Current State: 30:[6, 4, 31], Operations: ['14+17=31']
Exploring Operation: 6+4=10, Resulting Numbers: [31, 10]
Generated Node #0,1,0: 30:[31, 10] Operation: 6+4=10
Exploring Operation: 6-4=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 30:[31, 2] Operation: 6-4=2
Exploring Operation: 31-4=27, Resulting Numbers: [6, 27]
Generated Node #0,1,2: 30:[6, 27] Operation: 31-4=27
Moving to Node #0,2,0
Current State: 30:[3, 10], Operations: ['17-14=3', '6+4=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[6, 14, 4, 17], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [6, 4, 3]
Generated Node #0,2: 30:[6, 4, 3] Operation: 17-14=3
Moving to Node #0,2
Current State: 30:[6, 4, 3], Operations: ['17-14=3']
Exploring Operation: 6+4=10, Resulting Numbers: [3, 10]
Generated Node #0,2,0: 30:[3, 10] Operation: 6+4=10
Moving to Node #0,2,0
Current State: 30:[3, 10], Operations: ['17-14=3', '6+4=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
79,
45,
54,
64
] | 57 | [
"79-64=15",
"45/15=3",
"54+3=57"
] | Current State: 57:[79, 45, 54, 64], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [45, 54, 15]
Generated Node #2: [45, 54, 15] from Operation: 79-64=15
Current State: 57:[45, 54, 15], Operations: ['79-64=15']
Exploring Operation: 45/15=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 45/15=3
Current State: 57:[54, 3], Operations: ['79-64=15', '45/15=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[79, 45, 54, 64], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [45, 54, 15]
Generated Node #0,0: 57:[45, 54, 15] Operation: 79-64=15
Exploring Operation: 79-45=34, Resulting Numbers: [54, 64, 34]
Generated Node #0,1: 57:[54, 64, 34] Operation: 79-45=34
Moving to Node #0,0
Current State: 57:[45, 54, 15], Operations: ['79-64=15']
Exploring Operation: 45+15=60, Resulting Numbers: [54, 60]
Generated Node #0,0,0: 57:[54, 60] Operation: 45+15=60
Exploring Operation: 45/15=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 57:[54, 3] Operation: 45/15=3
Moving to Node #0,1
Current State: 57:[54, 64, 34], Operations: ['79-45=34']
Exploring Operation: 64-34=30, Resulting Numbers: [54, 30]
Generated Node #0,1,0: 57:[54, 30] Operation: 64-34=30
Exploring Operation: 54-34=20, Resulting Numbers: [64, 20]
Generated Node #0,1,1: 57:[64, 20] Operation: 54-34=20
Moving to Node #0,0,1
Current State: 57:[54, 3], Operations: ['79-64=15', '45/15=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[79, 45, 54, 64], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [45, 54, 15]
Generated Node #0,0: 57:[45, 54, 15] Operation: 79-64=15
Moving to Node #0,0
Current State: 57:[45, 54, 15], Operations: ['79-64=15']
Exploring Operation: 45/15=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 57:[54, 3] Operation: 45/15=3
Moving to Node #0,0,1
Current State: 57:[54, 3], Operations: ['79-64=15', '45/15=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
22,
30,
9,
13
] | 31 | [
"22-9=13",
"13/13=1",
"30+1=31"
] | Current State: 31:[22, 30, 9, 13], Operations: []
Exploring Operation: 22-9=13, Resulting Numbers: [30, 13, 13]
Generated Node #2: [30, 13, 13] from Operation: 22-9=13
Current State: 31:[30, 13, 13], Operations: ['22-9=13']
Exploring Operation: 13/13=1, Resulting Numbers: [30, 1]
Generated Node #3: [30, 1] from Operation: 13/13=1
Current State: 31:[30, 1], Operations: ['22-9=13', '13/13=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[22, 30, 9, 13], Operations: []
Exploring Operation: 9+13=22, Resulting Numbers: [22, 30, 22]
Generated Node #0,0: 31:[22, 30, 22] Operation: 9+13=22
Exploring Operation: 22+9=31, Resulting Numbers: [30, 13, 31]
Generated Node #0,1: 31:[30, 13, 31] Operation: 22+9=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[22, 30, 22], Operations: ['9+13=22']
Exploring Operation: 22+22=44, Resulting Numbers: [30, 44]
Generated Node #0,0,0: 31:[30, 44] Operation: 22+22=44
Exploring Operation: 22+30=52, Resulting Numbers: [22, 52]
Generated Node #0,0,1: 31:[22, 52] Operation: 22+30=52
Moving to Node #0,0,0
Current State: 31:[30, 44], Operations: ['9+13=22', '22+22=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[22, 52], Operations: ['9+13=22', '22+30=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,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,1
Current State: 31:[30, 13, 31], Operations: ['22+9=31']
Exploring Operation: 30+13=43, Resulting Numbers: [31, 43]
Generated Node #0,1,0: 31:[31, 43] Operation: 30+13=43
Exploring Operation: 30-13=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 31:[31, 17] Operation: 30-13=17
Moving to Node #0,1,0
Current State: 31:[31, 43], Operations: ['22+9=31', '30+13=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[31, 17], Operations: ['22+9=31', '30-13=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,31 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 |
[
71,
5,
20,
57
] | 86 | [
"71-57=14",
"5*20=100",
"100-14=86"
] | Current State: 86:[71, 5, 20, 57], Operations: []
Exploring Operation: 71-57=14, Resulting Numbers: [5, 20, 14]
Generated Node #2: [5, 20, 14] from Operation: 71-57=14
Current State: 86:[5, 20, 14], Operations: ['71-57=14']
Exploring Operation: 5*20=100, Resulting Numbers: [14, 100]
Generated Node #3: [14, 100] from Operation: 5*20=100
Current State: 86:[14, 100], Operations: ['71-57=14', '5*20=100']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[71, 5, 20, 57], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [71, 57, 4]
Generated Node #0,0: 86:[71, 57, 4] Operation: 20/5=4
Exploring Operation: 57-20=37, Resulting Numbers: [71, 5, 37]
Generated Node #0,1: 86:[71, 5, 37] Operation: 57-20=37
Exploring Operation: 71+20=91, Resulting Numbers: [5, 57, 91]
Generated Node #0,2: 86:[5, 57, 91] Operation: 71+20=91
Exploring Operation: 71-20=51, Resulting Numbers: [5, 57, 51]
Generated Node #0,3: 86:[5, 57, 51] Operation: 71-20=51
Exploring Operation: 20+57=77, Resulting Numbers: [71, 5, 77]
Generated Node #0,4: 86:[71, 5, 77] Operation: 20+57=77
Moving to Node #0,2
Current State: 86:[5, 57, 91], Operations: ['71+20=91']
Exploring Operation: 5+91=96, Resulting Numbers: [57, 96]
Generated Node #0,2,0: 86:[57, 96] Operation: 5+91=96
Exploring Operation: 91-57=34, Resulting Numbers: [5, 34]
Generated Node #0,2,1: 86:[5, 34] Operation: 91-57=34
Exploring Operation: 57-5=52, Resulting Numbers: [91, 52]
Generated Node #0,2,2: 86:[91, 52] Operation: 57-5=52
Exploring Operation: 5+57=62, Resulting Numbers: [91, 62]
Generated Node #0,2,3: 86:[91, 62] Operation: 5+57=62
Exploring Operation: 91-5=86, Resulting Numbers: [57, 86]
Generated Node #0,2,4: 86:[57, 86] Operation: 91-5=86
Moving to Node #0,1
Current State: 86:[71, 5, 37], Operations: ['57-20=37']
Exploring Operation: 71+5=76, Resulting Numbers: [37, 76]
Generated Node #0,1,0: 86:[37, 76] Operation: 71+5=76
Exploring Operation: 71+37=108, Resulting Numbers: [5, 108]
Generated Node #0,1,1: 86:[5, 108] Operation: 71+37=108
Exploring Operation: 71-5=66, Resulting Numbers: [37, 66]
Generated Node #0,1,2: 86:[37, 66] Operation: 71-5=66
Exploring Operation: 5+37=42, Resulting Numbers: [71, 42]
Generated Node #0,1,3: 86:[71, 42] Operation: 5+37=42
Exploring Operation: 71-37=34, Resulting Numbers: [5, 34]
Generated Node #0,1,4: 86:[5, 34] Operation: 71-37=34
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[5, 34], Operations: ['57-20=37', '71-37=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,86 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[37, 76], Operations: ['57-20=37', '71+5=76']
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,86 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[71, 42], Operations: ['57-20=37', '5+37=42']
Exploring Operation: 71*42=2982, Resulting Numbers: [2982]
2982,86 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[5, 108], Operations: ['57-20=37', '71+37=108']
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[37, 66], Operations: ['57-20=37', '71-5=66']
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,86 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,86 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: 86:[5, 57, 51], Operations: ['71-20=51']
Exploring Operation: 57+51=108, Resulting Numbers: [5, 108]
Generated Node #0,3,0: 86:[5, 108] Operation: 57+51=108
Exploring Operation: 57-5=52, Resulting Numbers: [51, 52]
Generated Node #0,3,1: 86:[51, 52] Operation: 57-5=52
Exploring Operation: 57-51=6, Resulting Numbers: [5, 6]
Generated Node #0,3,2: 86:[5, 6] Operation: 57-51=6
Exploring Operation: 51-5=46, Resulting Numbers: [57, 46]
Generated Node #0,3,3: 86:[57, 46] Operation: 51-5=46
Exploring Operation: 5+57=62, Resulting Numbers: [51, 62]
Generated Node #0,3,4: 86:[51, 62] Operation: 5+57=62
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[5, 6], Operations: ['71-20=51', '57-51=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[51, 52], Operations: ['71-20=51', '57-5=52']
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[57, 46], Operations: ['71-20=51', '51-5=46']
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[5, 108], Operations: ['71-20=51', '57+51=108']
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,86 unequal: No Solution
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[51, 62], Operations: ['71-20=51', '5+57=62']
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,86 unequal: No Solution
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,86 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: 86:[71, 5, 77], Operations: ['20+57=77']
Exploring Operation: 77-5=72, Resulting Numbers: [71, 72]
Generated Node #0,4,0: 86:[71, 72] Operation: 77-5=72
Exploring Operation: 71+5=76, Resulting Numbers: [77, 76]
Generated Node #0,4,1: 86:[77, 76] Operation: 71+5=76
Exploring Operation: 77-71=6, Resulting Numbers: [5, 6]
Generated Node #0,4,2: 86:[5, 6] Operation: 77-71=6
Exploring Operation: 5+77=82, Resulting Numbers: [71, 82]
Generated Node #0,4,3: 86:[71, 82] Operation: 5+77=82
Exploring Operation: 71-5=66, Resulting Numbers: [77, 66]
Generated Node #0,4,4: 86:[77, 66] Operation: 71-5=66
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[5, 6], Operations: ['20+57=77', '77-71=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[77, 76], Operations: ['20+57=77', '71+5=76']
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,86 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[71, 82], Operations: ['20+57=77', '5+77=82']
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,86 unequal: No Solution
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[71, 72], Operations: ['20+57=77', '77-5=72']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[77, 66], Operations: ['20+57=77', '71-5=66']
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,86 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: 86:[71, 57, 4], Operations: ['20/5=4']
Exploring Operation: 71-57=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 86:[4, 14] Operation: 71-57=14
Exploring Operation: 57+4=61, Resulting Numbers: [71, 61]
Generated Node #0,0,1: 86:[71, 61] Operation: 57+4=61
Exploring Operation: 71-4=67, Resulting Numbers: [57, 67]
Generated Node #0,0,2: 86:[57, 67] Operation: 71-4=67
Exploring Operation: 57-4=53, Resulting Numbers: [71, 53]
Generated Node #0,0,3: 86:[71, 53] Operation: 57-4=53
Exploring Operation: 71+4=75, Resulting Numbers: [57, 75]
Generated Node #0,0,4: 86:[57, 75] Operation: 71+4=75
Moving to Node #0,2,1
Current State: 86:[5, 34], Operations: ['71+20=91', '91-57=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,86 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,2,4
Current State: 86:[57, 86], Operations: ['71+20=91', '91-5=86']
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,86 unequal: No Solution
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[4, 14], Operations: ['20/5=4', '71-57=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,86 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[91, 52], Operations: ['71+20=91', '57-5=52']
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,86 unequal: No Solution
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,86 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[91, 62], Operations: ['71+20=91', '5+57=62']
Exploring Operation: 91+62=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 91*62=5642, Resulting Numbers: [5642]
5642,86 unequal: No Solution
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[57, 96], Operations: ['71+20=91', '5+91=96']
Exploring Operation: 57*96=5472, Resulting Numbers: [5472]
5472,86 unequal: No Solution
Exploring Operation: 57+96=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[71, 53], Operations: ['20/5=4', '57-4=53']
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 71*53=3763, Resulting Numbers: [3763]
3763,86 unequal: No Solution
Exploring Operation: 71+53=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[57, 75], Operations: ['20/5=4', '71+4=75']
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[71, 61], Operations: ['20/5=4', '57+4=61']
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[57, 67], Operations: ['20/5=4', '71-4=67']
Exploring Operation: 57*67=3819, Resulting Numbers: [3819]
3819,86 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 57+67=124, Resulting Numbers: [124]
124,86 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
66,
26,
61,
71
] | 30 | [
"66-26=40",
"71-61=10",
"40-10=30"
] | Current State: 30:[66, 26, 61, 71], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [61, 71, 40]
Generated Node #2: [61, 71, 40] from Operation: 66-26=40
Current State: 30:[61, 71, 40], Operations: ['66-26=40']
Exploring Operation: 71-61=10, Resulting Numbers: [40, 10]
Generated Node #3: [40, 10] from Operation: 71-61=10
Current State: 30:[40, 10], Operations: ['66-26=40', '71-61=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[66, 26, 61, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [26, 61, 5]
Generated Node #0,0: 30:[26, 61, 5] Operation: 71-66=5
Exploring Operation: 71-61=10, Resulting Numbers: [66, 26, 10]
Generated Node #0,1: 30:[66, 26, 10] Operation: 71-61=10
Exploring Operation: 66-61=5, Resulting Numbers: [26, 71, 5]
Generated Node #0,2: 30:[26, 71, 5] Operation: 66-61=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[26, 61, 5], Operations: ['71-66=5']
Exploring Operation: 61-26=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 30:[5, 35] Operation: 61-26=35
Exploring Operation: 61-5=56, Resulting Numbers: [26, 56]
Generated Node #0,0,1: 30:[26, 56] Operation: 61-5=56
Exploring Operation: 26+5=31, Resulting Numbers: [61, 31]
Generated Node #0,0,2: 30:[61, 31] Operation: 26+5=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[5, 35], Operations: ['71-66=5', '61-26=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[66, 26, 61, 71], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [26, 61, 5]
Generated Node #0,0: 30:[26, 61, 5] Operation: 71-66=5
Moving to Node #0,0
Current State: 30:[26, 61, 5], Operations: ['71-66=5']
Exploring Operation: 61-26=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 30:[5, 35] Operation: 61-26=35
Moving to Node #0,0,0
Current State: 30:[5, 35], Operations: ['71-66=5', '61-26=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
56,
32,
18,
53
] | 86 | [
"56-53=3",
"18*3=54",
"32+54=86"
] | Current State: 86:[56, 32, 18, 53], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [32, 18, 3]
Generated Node #2: [32, 18, 3] from Operation: 56-53=3
Current State: 86:[32, 18, 3], Operations: ['56-53=3']
Exploring Operation: 18*3=54, Resulting Numbers: [32, 54]
Generated Node #3: [32, 54] from Operation: 18*3=54
Current State: 86:[32, 54], Operations: ['56-53=3', '18*3=54']
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[56, 32, 18, 53], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [32, 53, 38]
Generated Node #0,0: 86:[32, 53, 38] Operation: 56-18=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[32, 53, 38], Operations: ['56-18=38']
Exploring Operation: 32+53=85, Resulting Numbers: [38, 85]
Generated Node #0,0,0: 86:[38, 85] Operation: 32+53=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[38, 85], Operations: ['56-18=38', '32+53=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
21,
17,
19
] | 47 | [
"32-21=11",
"17+19=36",
"11+36=47"
] | Current State: 47:[32, 21, 17, 19], Operations: []
Exploring Operation: 32-21=11, Resulting Numbers: [17, 19, 11]
Generated Node #2: [17, 19, 11] from Operation: 32-21=11
Current State: 47:[17, 19, 11], Operations: ['32-21=11']
Exploring Operation: 17+19=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 17+19=36
Current State: 47:[11, 36], Operations: ['32-21=11', '17+19=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[32, 21, 17, 19], Operations: []
Exploring Operation: 21+17=38, Resulting Numbers: [32, 19, 38]
Generated Node #0,0: 47:[32, 19, 38] Operation: 21+17=38
Exploring Operation: 32+17=49, Resulting Numbers: [21, 19, 49]
Generated Node #0,1: 47:[21, 19, 49] Operation: 32+17=49
Exploring Operation: 21+19=40, Resulting Numbers: [32, 17, 40]
Generated Node #0,2: 47:[32, 17, 40] Operation: 21+19=40
Exploring Operation: 17+19=36, Resulting Numbers: [32, 21, 36]
Generated Node #0,3: 47:[32, 21, 36] Operation: 17+19=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[32, 19, 38], Operations: ['21+17=38']
Exploring Operation: 19+38=57, Resulting Numbers: [32, 57]
Generated Node #0,0,0: 47:[32, 57] Operation: 19+38=57
Exploring Operation: 38-19=19, Resulting Numbers: [32, 19]
Generated Node #0,0,1: 47:[32, 19] Operation: 38-19=19
Exploring Operation: 32-19=13, Resulting Numbers: [38, 13]
Generated Node #0,0,2: 47:[38, 13] Operation: 32-19=13
Exploring Operation: 32+19=51, Resulting Numbers: [38, 51]
Generated Node #0,0,3: 47:[38, 51] Operation: 32+19=51
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[38, 51], Operations: ['21+17=38', '32+19=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[32, 57], Operations: ['21+17=38', '19+38=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[32, 19], Operations: ['21+17=38', '38-19=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,47 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[38, 13], Operations: ['21+17=38', '32-19=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,47 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[32, 17, 40], Operations: ['21+19=40']
Exploring Operation: 32+17=49, Resulting Numbers: [40, 49]
Generated Node #0,2,0: 47:[40, 49] Operation: 32+17=49
Exploring Operation: 40-17=23, Resulting Numbers: [32, 23]
Generated Node #0,2,1: 47:[32, 23] Operation: 40-17=23
Exploring Operation: 17+40=57, Resulting Numbers: [32, 57]
Generated Node #0,2,2: 47:[32, 57] Operation: 17+40=57
Exploring Operation: 32-17=15, Resulting Numbers: [40, 15]
Generated Node #0,2,3: 47:[40, 15] Operation: 32-17=15
Moving to Node #0,2,0
Current State: 47:[40, 49], Operations: ['21+19=40', '32+17=49']
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,47 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[32, 57], Operations: ['21+19=40', '17+40=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,47 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[40, 15], Operations: ['21+19=40', '32-17=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[32, 23], Operations: ['21+19=40', '40-17=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[32, 21, 36], Operations: ['17+19=36']
Exploring Operation: 32+21=53, Resulting Numbers: [36, 53]
Generated Node #0,3,0: 47:[36, 53] Operation: 32+21=53
Exploring Operation: 21+36=57, Resulting Numbers: [32, 57]
Generated Node #0,3,1: 47:[32, 57] Operation: 21+36=57
Exploring Operation: 32+36=68, Resulting Numbers: [21, 68]
Generated Node #0,3,2: 47:[21, 68] Operation: 32+36=68
Exploring Operation: 32-21=11, Resulting Numbers: [36, 11]
Generated Node #0,3,3: 47:[36, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[36, 53], Operations: ['17+19=36', '32+21=53']
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[32, 57], Operations: ['17+19=36', '21+36=57']
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,47 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[21, 68], Operations: ['17+19=36', '32+36=68']
Exploring Operation: 21+68=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 21*68=1428, Resulting Numbers: [1428]
1428,47 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[32, 21, 17, 19], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [32, 21, 36]
Generated Node #0,3: 47:[32, 21, 36] Operation: 17+19=36
Moving to Node #0,3
Current State: 47:[32, 21, 36], Operations: ['17+19=36']
Exploring Operation: 32+36=68, Resulting Numbers: [21, 68]
Generated Node #0,3,2: 47:[21, 68] Operation: 32+36=68
Moving to Node #0,3,2
Current State: 47:[21, 68], Operations: ['17+19=36', '32+36=68']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953993 | hs_4 | sum_heuristic |
[
6,
11,
71,
89
] | 97 | [
"89-71=18",
"6*18=108",
"108-11=97"
] | Current State: 97:[6, 11, 71, 89], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [6, 11, 18]
Generated Node #2: [6, 11, 18] from Operation: 89-71=18
Current State: 97:[6, 11, 18], Operations: ['89-71=18']
Exploring Operation: 6*18=108, Resulting Numbers: [11, 108]
Generated Node #3: [11, 108] from Operation: 6*18=108
Current State: 97:[11, 108], Operations: ['89-71=18', '6*18=108']
Exploring Operation: 108-11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[6, 11, 71, 89], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [71, 89, 17]
Generated Node #0,0: 97:[71, 89, 17] Operation: 6+11=17
Exploring Operation: 6*11=66, Resulting Numbers: [71, 89, 66]
Generated Node #0,1: 97:[71, 89, 66] Operation: 6*11=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[71, 89, 66], Operations: ['6*11=66']
Exploring Operation: 71+66=137, Resulting Numbers: [89, 137]
Generated Node #0,1,0: 97:[89, 137] Operation: 71+66=137
Exploring Operation: 89+66=155, Resulting Numbers: [71, 155]
Generated Node #0,1,1: 97:[71, 155] Operation: 89+66=155
Moving to Node #0,1,0
Current State: 97:[89, 137], Operations: ['6*11=66', '71+66=137']
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[71, 155], Operations: ['6*11=66', '89+66=155']
Exploring Operation: 71+155=226, Resulting Numbers: [226]
226,97 unequal: No Solution
Exploring Operation: 155-71=84, Resulting Numbers: [84]
84,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[71, 89, 17], Operations: ['6+11=17']
Exploring Operation: 71+17=88, Resulting Numbers: [89, 88]
Generated Node #0,0,0: 97:[89, 88] Operation: 71+17=88
Exploring Operation: 89+17=106, Resulting Numbers: [71, 106]
Generated Node #0,0,1: 97:[71, 106] Operation: 89+17=106
Moving to Node #0,0,0
Current State: 97:[89, 88], Operations: ['6+11=17', '71+17=88']
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[71, 106], Operations: ['6+11=17', '89+17=106']
Exploring Operation: 106-71=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 71+106=177, Resulting Numbers: [177]
177,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
10,
80,
71
] | 15 | [
"60/10=6",
"80-71=9",
"6+9=15"
] | Current State: 15:[60, 10, 80, 71], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [80, 71, 6]
Generated Node #2: [80, 71, 6] from Operation: 60/10=6
Current State: 15:[80, 71, 6], Operations: ['60/10=6']
Exploring Operation: 80-71=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 80-71=9
Current State: 15:[6, 9], Operations: ['60/10=6', '80-71=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[60, 10, 80, 71], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [60, 10, 9]
Generated Node #0,0: 15:[60, 10, 9] Operation: 80-71=9
Moving to Node #0,0
Current State: 15:[60, 10, 9], Operations: ['80-71=9']
Exploring Operation: 60/10=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 15:[9, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[9, 6], Operations: ['80-71=9', '60/10=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[60, 10, 80, 71], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [60, 10, 9]
Generated Node #0,0: 15:[60, 10, 9] Operation: 80-71=9
Moving to Node #0,0
Current State: 15:[60, 10, 9], Operations: ['80-71=9']
Exploring Operation: 60/10=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 15:[9, 6] Operation: 60/10=6
Moving to Node #0,0,0
Current State: 15:[9, 6], Operations: ['80-71=9', '60/10=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
34,
17,
10
] | 61 | [
"68-34=34",
"17+10=27",
"34+27=61"
] | Current State: 61:[68, 34, 17, 10], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [17, 10, 34]
Generated Node #2: [17, 10, 34] from Operation: 68-34=34
Current State: 61:[17, 10, 34], Operations: ['68-34=34']
Exploring Operation: 17+10=27, Resulting Numbers: [34, 27]
Generated Node #3: [34, 27] from Operation: 17+10=27
Current State: 61:[34, 27], Operations: ['68-34=34', '17+10=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[68, 34, 17, 10], Operations: []
Exploring Operation: 34+17=51, Resulting Numbers: [68, 10, 51]
Generated Node #0,0: 61:[68, 10, 51] Operation: 34+17=51
Moving to Node #0,0
Current State: 61:[68, 10, 51], Operations: ['34+17=51']
Exploring Operation: 10+51=61, Resulting Numbers: [68, 61]
Generated Node #0,0,0: 61:[68, 61] Operation: 10+51=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[68, 61], Operations: ['34+17=51', '10+51=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,61 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 |
[
33,
60,
4,
81
] | 33 | [
"81-33=48",
"60/4=15",
"48-15=33"
] | Current State: 33:[33, 60, 4, 81], Operations: []
Exploring Operation: 81-33=48, Resulting Numbers: [60, 4, 48]
Generated Node #2: [60, 4, 48] from Operation: 81-33=48
Current State: 33:[60, 4, 48], Operations: ['81-33=48']
Exploring Operation: 60/4=15, Resulting Numbers: [48, 15]
Generated Node #3: [48, 15] from Operation: 60/4=15
Current State: 33:[48, 15], Operations: ['81-33=48', '60/4=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[33, 60, 4, 81], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [33, 4, 21]
Generated Node #0,0: 33:[33, 4, 21] Operation: 81-60=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[33, 4, 21], Operations: ['81-60=21']
Exploring Operation: 33-21=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 33:[4, 12] Operation: 33-21=12
Moving to Node #0,0,0
Current State: 33:[4, 12], Operations: ['81-60=21', '33-21=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 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 |
[
96,
4,
70,
61
] | 15 | [
"96/4=24",
"70-61=9",
"24-9=15"
] | Current State: 15:[96, 4, 70, 61], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [70, 61, 24]
Generated Node #2: [70, 61, 24] from Operation: 96/4=24
Current State: 15:[70, 61, 24], Operations: ['96/4=24']
Exploring Operation: 70-61=9, Resulting Numbers: [24, 9]
Generated Node #3: [24, 9] from Operation: 70-61=9
Current State: 15:[24, 9], Operations: ['96/4=24', '70-61=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[96, 4, 70, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [4, 70, 35]
Generated Node #0,0: 15:[4, 70, 35] Operation: 96-61=35
Exploring Operation: 96/4=24, Resulting Numbers: [70, 61, 24]
Generated Node #0,1: 15:[70, 61, 24] Operation: 96/4=24
Exploring Operation: 96-70=26, Resulting Numbers: [4, 61, 26]
Generated Node #0,2: 15:[4, 61, 26] Operation: 96-70=26
Exploring Operation: 70-61=9, Resulting Numbers: [96, 4, 9]
Generated Node #0,3: 15:[96, 4, 9] Operation: 70-61=9
Moving to Node #0,2
Current State: 15:[4, 61, 26], Operations: ['96-70=26']
Exploring Operation: 26-4=22, Resulting Numbers: [61, 22]
Generated Node #0,2,0: 15:[61, 22] Operation: 26-4=22
Exploring Operation: 4+61=65, Resulting Numbers: [26, 65]
Generated Node #0,2,1: 15:[26, 65] Operation: 4+61=65
Exploring Operation: 61-26=35, Resulting Numbers: [4, 35]
Generated Node #0,2,2: 15:[4, 35] Operation: 61-26=35
Exploring Operation: 61-4=57, Resulting Numbers: [26, 57]
Generated Node #0,2,3: 15:[26, 57] Operation: 61-4=57
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[4, 35], Operations: ['96-70=26', '61-26=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[61, 22], Operations: ['96-70=26', '26-4=22']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[26, 57], Operations: ['96-70=26', '61-4=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[26, 65], Operations: ['96-70=26', '4+61=65']
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,15 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,15 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,15 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: 15:[4, 70, 35], Operations: ['96-61=35']
Exploring Operation: 70-4=66, Resulting Numbers: [35, 66]
Generated Node #0,0,0: 15:[35, 66] Operation: 70-4=66
Exploring Operation: 70-35=35, Resulting Numbers: [4, 35]
Generated Node #0,0,1: 15:[4, 35] Operation: 70-35=35
Exploring Operation: 35-4=31, Resulting Numbers: [70, 31]
Generated Node #0,0,2: 15:[70, 31] Operation: 35-4=31
Exploring Operation: 70/35=2, Resulting Numbers: [4, 2]
Generated Node #0,0,3: 15:[4, 2] Operation: 70/35=2
Moving to Node #0,3
Current State: 15:[96, 4, 9], Operations: ['70-61=9']
Exploring Operation: 96-4=92, Resulting Numbers: [9, 92]
Generated Node #0,3,0: 15:[9, 92] Operation: 96-4=92
Exploring Operation: 9-4=5, Resulting Numbers: [96, 5]
Generated Node #0,3,1: 15:[96, 5] Operation: 9-4=5
Exploring Operation: 96/4=24, Resulting Numbers: [9, 24]
Generated Node #0,3,2: 15:[9, 24] Operation: 96/4=24
Exploring Operation: 96-9=87, Resulting Numbers: [4, 87]
Generated Node #0,3,3: 15:[4, 87] Operation: 96-9=87
Moving to Node #0,1
Current State: 15:[70, 61, 24], Operations: ['96/4=24']
Exploring Operation: 70-24=46, Resulting Numbers: [61, 46]
Generated Node #0,1,0: 15:[61, 46] Operation: 70-24=46
Exploring Operation: 70-61=9, Resulting Numbers: [24, 9]
Generated Node #0,1,1: 15:[24, 9] Operation: 70-61=9
Exploring Operation: 70+61=131, Resulting Numbers: [24, 131]
Generated Node #0,1,2: 15:[24, 131] Operation: 70+61=131
Exploring Operation: 61-24=37, Resulting Numbers: [70, 37]
Generated Node #0,1,3: 15:[70, 37] Operation: 61-24=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[24, 9], Operations: ['96/4=24', '70-61=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,15 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[96, 4, 70, 61], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [70, 61, 24]
Generated Node #0,1: 15:[70, 61, 24] Operation: 96/4=24
Moving to Node #0,1
Current State: 15:[70, 61, 24], Operations: ['96/4=24']
Exploring Operation: 70-61=9, Resulting Numbers: [24, 9]
Generated Node #0,1,1: 15:[24, 9] Operation: 70-61=9
Moving to Node #0,1,1
Current State: 15:[24, 9], Operations: ['96/4=24', '70-61=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
90,
59,
65,
90
] | 75 | [
"65-59=6",
"90/6=15",
"90-15=75"
] | Current State: 75:[90, 59, 65, 90], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [90, 90, 6]
Generated Node #2: [90, 90, 6] from Operation: 65-59=6
Current State: 75:[90, 90, 6], Operations: ['65-59=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,75 equal: Goal Reached
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[90, 59, 65, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [59, 65, 1]
Generated Node #0,0: 75:[59, 65, 1] Operation: 90/90=1
Exploring Operation: 90-90=0, Resulting Numbers: [59, 65, 0]
Generated Node #0,1: 75:[59, 65, 0] Operation: 90-90=0
Moving to Node #0,0
Current State: 75:[59, 65, 1], Operations: ['90/90=1']
Exploring Operation: 59+1=60, Resulting Numbers: [65, 60]
Generated Node #0,0,0: 75:[65, 60] Operation: 59+1=60
Exploring Operation: 65-59=6, Resulting Numbers: [1, 6]
Generated Node #0,0,1: 75:[1, 6] Operation: 65-59=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[1, 6], Operations: ['90/90=1', '65-59=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[65, 60], Operations: ['90/90=1', '59+1=60']
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,75 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,75 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: 75:[59, 65, 0], Operations: ['90-90=0']
Exploring Operation: 59*0=0, Resulting Numbers: [65, 0]
Generated Node #0,1,0: 75:[65, 0] Operation: 59*0=0
Exploring Operation: 65-59=6, Resulting Numbers: [0, 6]
Generated Node #0,1,1: 75:[0, 6] Operation: 65-59=6
Moving to Node #0,1,1
Current State: 75:[0, 6], Operations: ['90-90=0', '65-59=6']
Exploring Operation: 0+6=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[65, 0], Operations: ['90-90=0', '59*0=0']
Exploring Operation: 65*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 65+0=65, Resulting Numbers: [65]
65,75 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
83,
99,
18
] | 92 | [
"5*18=90",
"83+99=182",
"182-90=92"
] | Current State: 92:[5, 83, 99, 18], Operations: []
Exploring Operation: 5*18=90, Resulting Numbers: [83, 99, 90]
Generated Node #2: [83, 99, 90] from Operation: 5*18=90
Current State: 92:[83, 99, 90], Operations: ['5*18=90']
Exploring Operation: 83+99=182, Resulting Numbers: [90, 182]
Generated Node #3: [90, 182] from Operation: 83+99=182
Current State: 92:[90, 182], Operations: ['5*18=90', '83+99=182']
Exploring Operation: 182-90=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[5, 83, 99, 18], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [5, 18, 16]
Generated Node #0,0: 92:[5, 18, 16] Operation: 99-83=16
Exploring Operation: 99-5=94, Resulting Numbers: [83, 18, 94]
Generated Node #0,1: 92:[83, 18, 94] Operation: 99-5=94
Exploring Operation: 5+83=88, Resulting Numbers: [99, 18, 88]
Generated Node #0,2: 92:[99, 18, 88] Operation: 5+83=88
Moving to Node #0,0
Current State: 92:[5, 18, 16], Operations: ['99-83=16']
Exploring Operation: 5+16=21, Resulting Numbers: [18, 21]
Generated Node #0,0,0: 92:[18, 21] Operation: 5+16=21
Exploring Operation: 18-16=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 92:[5, 2] Operation: 18-16=2
Exploring Operation: 5+18=23, Resulting Numbers: [16, 23]
Generated Node #0,0,2: 92:[16, 23] Operation: 5+18=23
Moving to Node #0,1
Current State: 92:[83, 18, 94], Operations: ['99-5=94']
Exploring Operation: 94-83=11, Resulting Numbers: [18, 11]
Generated Node #0,1,0: 92:[18, 11] Operation: 94-83=11
Exploring Operation: 83-18=65, Resulting Numbers: [94, 65]
Generated Node #0,1,1: 92:[94, 65] Operation: 83-18=65
Exploring Operation: 83+18=101, Resulting Numbers: [94, 101]
Generated Node #0,1,2: 92:[94, 101] Operation: 83+18=101
Moving to Node #0,2
Current State: 92:[99, 18, 88], Operations: ['5+83=88']
Exploring Operation: 99-88=11, Resulting Numbers: [18, 11]
Generated Node #0,2,0: 92:[18, 11] Operation: 99-88=11
Exploring Operation: 99-18=81, Resulting Numbers: [88, 81]
Generated Node #0,2,1: 92:[88, 81] Operation: 99-18=81
Exploring Operation: 18+88=106, Resulting Numbers: [99, 106]
Generated Node #0,2,2: 92:[99, 106] Operation: 18+88=106
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[18, 11], Operations: ['5+83=88', '99-88=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,92 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[88, 81], Operations: ['5+83=88', '99-18=81']
Exploring Operation: 88+81=169, Resulting Numbers: [169]
169,92 unequal: No Solution
Exploring Operation: 88*81=7128, Resulting Numbers: [7128]
7128,92 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[99, 106], Operations: ['5+83=88', '18+88=106']
Exploring Operation: 99+106=205, Resulting Numbers: [205]
205,92 unequal: No Solution
Exploring Operation: 99*106=10494, Resulting Numbers: [10494]
10494,92 unequal: No Solution
Exploring Operation: 106-99=7, Resulting Numbers: [7]
7,92 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: 92:[5, 2], Operations: ['99-83=16', '18-16=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[16, 23], Operations: ['99-83=16', '5+18=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,92 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[18, 21], Operations: ['99-83=16', '5+16=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[94, 101], Operations: ['99-5=94', '83+18=101']
Exploring Operation: 94+101=195, Resulting Numbers: [195]
195,92 unequal: No Solution
Exploring Operation: 94*101=9494, Resulting Numbers: [9494]
9494,92 unequal: No Solution
Exploring Operation: 101-94=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[18, 11], Operations: ['99-5=94', '94-83=11']
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,92 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[94, 65], Operations: ['99-5=94', '83-18=65']
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 94*65=6110, Resulting Numbers: [6110]
6110,92 unequal: No Solution
Exploring Operation: 94+65=159, Resulting Numbers: [159]
159,92 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
26,
30,
4,
64
] | 72 | [
"26+30=56",
"64/4=16",
"56+16=72"
] | Current State: 72:[26, 30, 4, 64], Operations: []
Exploring Operation: 26+30=56, Resulting Numbers: [4, 64, 56]
Generated Node #2: [4, 64, 56] from Operation: 26+30=56
Current State: 72:[4, 64, 56], Operations: ['26+30=56']
Exploring Operation: 64/4=16, Resulting Numbers: [56, 16]
Generated Node #3: [56, 16] from Operation: 64/4=16
Current State: 72:[56, 16], Operations: ['26+30=56', '64/4=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[26, 30, 4, 64], Operations: []
Exploring Operation: 64-30=34, Resulting Numbers: [26, 4, 34]
Generated Node #0,0: 72:[26, 4, 34] Operation: 64-30=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[26, 4, 34], Operations: ['64-30=34']
Exploring Operation: 34-26=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 72:[4, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 72:[4, 8], Operations: ['64-30=34', '34-26=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,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 | mult_heuristic |
[
86,
41,
35,
33
] | 47 | [
"86-41=45",
"35-33=2",
"45+2=47"
] | Current State: 47:[86, 41, 35, 33], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [35, 33, 45]
Generated Node #2: [35, 33, 45] from Operation: 86-41=45
Current State: 47:[35, 33, 45], Operations: ['86-41=45']
Exploring Operation: 35-33=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 35-33=2
Current State: 47:[45, 2], Operations: ['86-41=45', '35-33=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[86, 41, 35, 33], Operations: []
Exploring Operation: 86-33=53, Resulting Numbers: [41, 35, 53]
Generated Node #0,0: 47:[41, 35, 53] Operation: 86-33=53
Exploring Operation: 86-35=51, Resulting Numbers: [41, 33, 51]
Generated Node #0,1: 47:[41, 33, 51] Operation: 86-35=51
Exploring Operation: 86-41=45, Resulting Numbers: [35, 33, 45]
Generated Node #0,2: 47:[35, 33, 45] Operation: 86-41=45
Moving to Node #0,0
Current State: 47:[41, 35, 53], Operations: ['86-33=53']
Exploring Operation: 41+35=76, Resulting Numbers: [53, 76]
Generated Node #0,0,0: 47:[53, 76] Operation: 41+35=76
Exploring Operation: 41-35=6, Resulting Numbers: [53, 6]
Generated Node #0,0,1: 47:[53, 6] Operation: 41-35=6
Exploring Operation: 53-35=18, Resulting Numbers: [41, 18]
Generated Node #0,0,2: 47:[41, 18] Operation: 53-35=18
Moving to Node #0,1
Current State: 47:[41, 33, 51], Operations: ['86-35=51']
Exploring Operation: 51-33=18, Resulting Numbers: [41, 18]
Generated Node #0,1,0: 47:[41, 18] Operation: 51-33=18
Exploring Operation: 41-33=8, Resulting Numbers: [51, 8]
Generated Node #0,1,1: 47:[51, 8] Operation: 41-33=8
Exploring Operation: 41+33=74, Resulting Numbers: [51, 74]
Generated Node #0,1,2: 47:[51, 74] Operation: 41+33=74
Moving to Node #0,2
Current State: 47:[35, 33, 45], Operations: ['86-41=45']
Exploring Operation: 35+33=68, Resulting Numbers: [45, 68]
Generated Node #0,2,0: 47:[45, 68] Operation: 35+33=68
Exploring Operation: 35-33=2, Resulting Numbers: [45, 2]
Generated Node #0,2,1: 47:[45, 2] Operation: 35-33=2
Exploring Operation: 33+45=78, Resulting Numbers: [35, 78]
Generated Node #0,2,2: 47:[35, 78] Operation: 33+45=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[45, 68], Operations: ['86-41=45', '35+33=68']
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,47 unequal: No Solution
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[35, 78], Operations: ['86-41=45', '33+45=78']
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,47 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,47 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[45, 2], Operations: ['86-41=45', '35-33=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[86, 41, 35, 33], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [35, 33, 45]
Generated Node #0,2: 47:[35, 33, 45] Operation: 86-41=45
Moving to Node #0,2
Current State: 47:[35, 33, 45], Operations: ['86-41=45']
Exploring Operation: 35-33=2, Resulting Numbers: [45, 2]
Generated Node #0,2,1: 47:[45, 2] Operation: 35-33=2
Moving to Node #0,2,1
Current State: 47:[45, 2], Operations: ['86-41=45', '35-33=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
94,
37,
20,
19
] | 60 | [
"94-37=57",
"20*57=1140",
"1140/19=60"
] | Current State: 60:[94, 37, 20, 19], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [20, 19, 57]
Generated Node #2: [20, 19, 57] from Operation: 94-37=57
Current State: 60:[20, 19, 57], Operations: ['94-37=57']
Exploring Operation: 20*57=1140, Resulting Numbers: [19, 1140]
Generated Node #3: [19, 1140] from Operation: 20*57=1140
Current State: 60:[19, 1140], Operations: ['94-37=57', '20*57=1140']
Exploring Operation: 1140/19=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[94, 37, 20, 19], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [20, 19, 57]
Generated Node #0,0: 60:[20, 19, 57] Operation: 94-37=57
Exploring Operation: 94-20=74, Resulting Numbers: [37, 19, 74]
Generated Node #0,1: 60:[37, 19, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[20, 19, 57], Operations: ['94-37=57']
Exploring Operation: 20-19=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 60:[57, 1] Operation: 20-19=1
Exploring Operation: 57/19=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 60:[20, 3] Operation: 57/19=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[20, 3], Operations: ['94-37=57', '57/19=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[94, 37, 20, 19], Operations: []
Exploring Operation: 94-37=57, Resulting Numbers: [20, 19, 57]
Generated Node #0,0: 60:[20, 19, 57] Operation: 94-37=57
Moving to Node #0,0
Current State: 60:[20, 19, 57], Operations: ['94-37=57']
Exploring Operation: 57/19=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 60:[20, 3] Operation: 57/19=3
Moving to Node #0,0,1
Current State: 60:[20, 3], Operations: ['94-37=57', '57/19=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
27,
74,
81
] | 73 | [
"54+27=81",
"81/81=1",
"74-1=73"
] | Current State: 73:[54, 27, 74, 81], Operations: []
Exploring Operation: 54+27=81, Resulting Numbers: [74, 81, 81]
Generated Node #2: [74, 81, 81] from Operation: 54+27=81
Current State: 73:[74, 81, 81], Operations: ['54+27=81']
Exploring Operation: 81/81=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 81/81=1
Current State: 73:[74, 1], Operations: ['54+27=81', '81/81=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[54, 27, 74, 81], Operations: []
Exploring Operation: 81-27=54, Resulting Numbers: [54, 74, 54]
Generated Node #0,0: 73:[54, 74, 54] Operation: 81-27=54
Exploring Operation: 54+27=81, Resulting Numbers: [74, 81, 81]
Generated Node #0,1: 73:[74, 81, 81] Operation: 54+27=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[74, 81, 81], Operations: ['54+27=81']
Exploring Operation: 81-74=7, Resulting Numbers: [81, 7]
Generated Node #0,1,0: 73:[81, 7] Operation: 81-74=7
Exploring Operation: 81/81=1, Resulting Numbers: [74, 1]
Generated Node #0,1,1: 73:[74, 1] Operation: 81/81=1
Moving to Node #0,1,1
Current State: 73:[74, 1], Operations: ['54+27=81', '81/81=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[54, 27, 74, 81], Operations: []
Exploring Operation: 54+27=81, Resulting Numbers: [74, 81, 81]
Generated Node #0,1: 73:[74, 81, 81] Operation: 54+27=81
Moving to Node #0,1
Current State: 73:[74, 81, 81], Operations: ['54+27=81']
Exploring Operation: 81/81=1, Resulting Numbers: [74, 1]
Generated Node #0,1,1: 73:[74, 1] Operation: 81/81=1
Moving to Node #0,1,1
Current State: 73:[74, 1], Operations: ['54+27=81', '81/81=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
4,
92,
22,
14
] | 10 | [
"92-4=88",
"88/22=4",
"14-4=10"
] | Current State: 10:[4, 92, 22, 14], Operations: []
Exploring Operation: 92-4=88, Resulting Numbers: [22, 14, 88]
Generated Node #2: [22, 14, 88] from Operation: 92-4=88
Current State: 10:[22, 14, 88], Operations: ['92-4=88']
Exploring Operation: 88/22=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 88/22=4
Current State: 10:[14, 4], Operations: ['92-4=88', '88/22=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[4, 92, 22, 14], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [4, 92, 8]
Generated Node #0,0: 10:[4, 92, 8] Operation: 22-14=8
Exploring Operation: 92-14=78, Resulting Numbers: [4, 22, 78]
Generated Node #0,1: 10:[4, 22, 78] Operation: 92-14=78
Exploring Operation: 92/4=23, Resulting Numbers: [22, 14, 23]
Generated Node #0,2: 10:[22, 14, 23] Operation: 92/4=23
Exploring Operation: 92-22=70, Resulting Numbers: [4, 14, 70]
Generated Node #0,3: 10:[4, 14, 70] Operation: 92-22=70
Moving to Node #0,2
Current State: 10:[22, 14, 23], Operations: ['92/4=23']
Exploring Operation: 22-14=8, Resulting Numbers: [23, 8]
Generated Node #0,2,0: 10:[23, 8] Operation: 22-14=8
Exploring Operation: 23-22=1, Resulting Numbers: [14, 1]
Generated Node #0,2,1: 10:[14, 1] Operation: 23-22=1
Exploring Operation: 22+14=36, Resulting Numbers: [23, 36]
Generated Node #0,2,2: 10:[23, 36] Operation: 22+14=36
Exploring Operation: 23-14=9, Resulting Numbers: [22, 9]
Generated Node #0,2,3: 10:[22, 9] Operation: 23-14=9
Moving to Node #0,3
Current State: 10:[4, 14, 70], Operations: ['92-22=70']
Exploring Operation: 70-14=56, Resulting Numbers: [4, 56]
Generated Node #0,3,0: 10:[4, 56] Operation: 70-14=56
Exploring Operation: 70/14=5, Resulting Numbers: [4, 5]
Generated Node #0,3,1: 10:[4, 5] Operation: 70/14=5
Exploring Operation: 14-4=10, Resulting Numbers: [70, 10]
Generated Node #0,3,2: 10:[70, 10] Operation: 14-4=10
Exploring Operation: 70-4=66, Resulting Numbers: [14, 66]
Generated Node #0,3,3: 10:[14, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[4, 5], Operations: ['92-22=70', '70/14=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[4, 56], Operations: ['92-22=70', '70-14=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,10 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[70, 10], Operations: ['92-22=70', '14-4=10']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,10 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[14, 66], Operations: ['92-22=70', '70-4=66']
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,10 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,10 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: 10:[4, 22, 78], Operations: ['92-14=78']
Exploring Operation: 4+22=26, Resulting Numbers: [78, 26]
Generated Node #0,1,0: 10:[78, 26] Operation: 4+22=26
Exploring Operation: 78-22=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 10:[4, 56] Operation: 78-22=56
Exploring Operation: 78-4=74, Resulting Numbers: [22, 74]
Generated Node #0,1,2: 10:[22, 74] Operation: 78-4=74
Exploring Operation: 22-4=18, Resulting Numbers: [78, 18]
Generated Node #0,1,3: 10:[78, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[4, 56], Operations: ['92-14=78', '78-22=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,10 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[22, 74], Operations: ['92-14=78', '78-4=74']
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[78, 18], Operations: ['92-14=78', '22-4=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[78, 26], Operations: ['92-14=78', '4+22=26']
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,10 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,10 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[4, 92, 8], Operations: ['22-14=8']
Exploring Operation: 92-8=84, Resulting Numbers: [4, 84]
Generated Node #0,0,0: 10:[4, 84] Operation: 92-8=84
Exploring Operation: 92-4=88, Resulting Numbers: [8, 88]
Generated Node #0,0,1: 10:[8, 88] Operation: 92-4=88
Exploring Operation: 8/4=2, Resulting Numbers: [92, 2]
Generated Node #0,0,2: 10:[92, 2] Operation: 8/4=2
Exploring Operation: 92/4=23, Resulting Numbers: [8, 23]
Generated Node #0,0,3: 10:[8, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[8, 23], Operations: ['22-14=8', '92/4=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[4, 84], Operations: ['22-14=8', '92-8=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[8, 88], Operations: ['22-14=8', '92-4=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 8*88=704, Resulting Numbers: [704]
704,10 unequal: No Solution
Exploring Operation: 8+88=96, Resulting Numbers: [96]
96,10 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[92, 2], Operations: ['22-14=8', '8/4=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,10 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 10:[14, 1], Operations: ['92/4=23', '23-22=1']
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[22, 9], Operations: ['92/4=23', '23-14=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,10 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[23, 8], Operations: ['92/4=23', '22-14=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,10 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[23, 36], Operations: ['92/4=23', '22+14=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,10 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
73,
8,
7
] | 52 | [
"11-8=3",
"7*3=21",
"73-21=52"
] | Current State: 52:[11, 73, 8, 7], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [73, 7, 3]
Generated Node #2: [73, 7, 3] from Operation: 11-8=3
Current State: 52:[73, 7, 3], Operations: ['11-8=3']
Exploring Operation: 7*3=21, Resulting Numbers: [73, 21]
Generated Node #3: [73, 21] from Operation: 7*3=21
Current State: 52:[73, 21], Operations: ['11-8=3', '7*3=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 73, 8, 7], Operations: []
Exploring Operation: 73-11=62, Resulting Numbers: [8, 7, 62]
Generated Node #0,0: 52:[8, 7, 62] Operation: 73-11=62
Moving to Node #0,0
Current State: 52:[8, 7, 62], Operations: ['73-11=62']
Exploring Operation: 62-8=54, Resulting Numbers: [7, 54]
Generated Node #0,0,0: 52:[7, 54] Operation: 62-8=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[7, 54], Operations: ['73-11=62', '62-8=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,52 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 |
[
93,
78,
22,
63
] | 24 | [
"93+63=156",
"156/78=2",
"22+2=24"
] | Current State: 24:[93, 78, 22, 63], Operations: []
Exploring Operation: 93+63=156, Resulting Numbers: [78, 22, 156]
Generated Node #2: [78, 22, 156] from Operation: 93+63=156
Current State: 24:[78, 22, 156], Operations: ['93+63=156']
Exploring Operation: 156/78=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 156/78=2
Current State: 24:[22, 2], Operations: ['93+63=156', '156/78=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[93, 78, 22, 63], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [78, 22, 30]
Generated Node #0,0: 24:[78, 22, 30] Operation: 93-63=30
Exploring Operation: 93-78=15, Resulting Numbers: [22, 63, 15]
Generated Node #0,1: 24:[22, 63, 15] Operation: 93-78=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[22, 63, 15], Operations: ['93-78=15']
Exploring Operation: 63-15=48, Resulting Numbers: [22, 48]
Generated Node #0,1,0: 24:[22, 48] Operation: 63-15=48
Exploring Operation: 63-22=41, Resulting Numbers: [15, 41]
Generated Node #0,1,1: 24:[15, 41] Operation: 63-22=41
Moving to Node #0,1,1
Current State: 24:[15, 41], Operations: ['93-78=15', '63-22=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[22, 48], Operations: ['93-78=15', '63-15=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,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
Current State: 24:[78, 22, 30], Operations: ['93-63=30']
Exploring Operation: 78-30=48, Resulting Numbers: [22, 48]
Generated Node #0,0,0: 24:[22, 48] Operation: 78-30=48
Exploring Operation: 78-22=56, Resulting Numbers: [30, 56]
Generated Node #0,0,1: 24:[30, 56] Operation: 78-22=56
Moving to Node #0,0,0
Current State: 24:[22, 48], Operations: ['93-63=30', '78-30=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[30, 56], Operations: ['93-63=30', '78-22=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,24 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 |
[
68,
20,
68,
8
] | 27 | [
"68/68=1",
"20+8=28",
"28-1=27"
] | Current State: 27:[68, 20, 68, 8], Operations: []
Exploring Operation: 68/68=1, Resulting Numbers: [20, 8, 1]
Generated Node #2: [20, 8, 1] from Operation: 68/68=1
Current State: 27:[20, 8, 1], Operations: ['68/68=1']
Exploring Operation: 20+8=28, Resulting Numbers: [1, 28]
Generated Node #3: [1, 28] from Operation: 20+8=28
Current State: 27:[1, 28], Operations: ['68/68=1', '20+8=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[68, 20, 68, 8], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [20, 68, 60]
Generated Node #0,0: 27:[20, 68, 60] Operation: 68-8=60
Exploring Operation: 68-20=48, Resulting Numbers: [68, 8, 48]
Generated Node #0,1: 27:[68, 8, 48] Operation: 68-20=48
Exploring Operation: 68-68=0, Resulting Numbers: [20, 8, 0]
Generated Node #0,2: 27:[20, 8, 0] Operation: 68-68=0
Exploring Operation: 68/68=1, Resulting Numbers: [20, 8, 1]
Generated Node #0,3: 27:[20, 8, 1] Operation: 68/68=1
Exploring Operation: 68-20=48, Resulting Numbers: [68, 8, 48]
Generated Node #0,4: 27:[68, 8, 48] Operation: 68-20=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[20, 8, 1], Operations: ['68/68=1']
Exploring Operation: 8+1=9, Resulting Numbers: [20, 9]
Generated Node #0,3,0: 27:[20, 9] Operation: 8+1=9
Exploring Operation: 20+1=21, Resulting Numbers: [8, 21]
Generated Node #0,3,1: 27:[8, 21] Operation: 20+1=21
Exploring Operation: 20+8=28, Resulting Numbers: [1, 28]
Generated Node #0,3,2: 27:[1, 28] Operation: 20+8=28
Exploring Operation: 20*1=20, Resulting Numbers: [8, 20]
Generated Node #0,3,3: 27:[8, 20] Operation: 20*1=20
Exploring Operation: 20-8=12, Resulting Numbers: [1, 12]
Generated Node #0,3,4: 27:[1, 12] Operation: 20-8=12
Moving to Node #0,3,2
Current State: 27:[1, 28], Operations: ['68/68=1', '20+8=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[68, 20, 68, 8], Operations: []
Exploring Operation: 68/68=1, Resulting Numbers: [20, 8, 1]
Generated Node #0,3: 27:[20, 8, 1] Operation: 68/68=1
Moving to Node #0,3
Current State: 27:[20, 8, 1], Operations: ['68/68=1']
Exploring Operation: 20+8=28, Resulting Numbers: [1, 28]
Generated Node #0,3,2: 27:[1, 28] Operation: 20+8=28
Moving to Node #0,3,2
Current State: 27:[1, 28], Operations: ['68/68=1', '20+8=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
40,
4,
44,
48
] | 16 | [
"44-40=4",
"48/4=12",
"4+12=16"
] | Current State: 16:[40, 4, 44, 48], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [4, 48, 4]
Generated Node #2: [4, 48, 4] from Operation: 44-40=4
Current State: 16:[4, 48, 4], Operations: ['44-40=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,16 equal: Goal Reached
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[40, 4, 44, 48], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [4, 48, 4]
Generated Node #0,0: 16:[4, 48, 4] Operation: 44-40=4
Exploring Operation: 48-40=8, Resulting Numbers: [4, 44, 8]
Generated Node #0,1: 16:[4, 44, 8] Operation: 48-40=8
Exploring Operation: 48-44=4, Resulting Numbers: [40, 4, 4]
Generated Node #0,2: 16:[40, 4, 4] Operation: 48-44=4
Moving to Node #0,2
Current State: 16:[40, 4, 4], Operations: ['48-44=4']
Exploring Operation: 40/4=10, Resulting Numbers: [4, 10]
Generated Node #0,2,0: 16:[4, 10] Operation: 40/4=10
Exploring Operation: 40-4=36, Resulting Numbers: [4, 36]
Generated Node #0,2,1: 16:[4, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [4, 10]
Generated Node #0,2,2: 16:[4, 10] Operation: 40/4=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[4, 10], Operations: ['48-44=4', '40/4=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No 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: 16:[4, 10], Operations: ['48-44=4', '40/4=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[4, 36], Operations: ['48-44=4', '40-4=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,16 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: 16:[4, 44, 8], Operations: ['48-40=8']
Exploring Operation: 44/4=11, Resulting Numbers: [8, 11]
Generated Node #0,1,0: 16:[8, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [8, 40]
Generated Node #0,1,1: 16:[8, 40] Operation: 44-4=40
Exploring Operation: 44-8=36, Resulting Numbers: [4, 36]
Generated Node #0,1,2: 16:[4, 36] Operation: 44-8=36
Moving to Node #0,0
Current State: 16:[4, 48, 4], Operations: ['44-40=4']
Exploring Operation: 48-4=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 16:[4, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,0,1: 16:[4, 12] Operation: 48/4=12
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,0,2: 16:[4, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[4, 12], Operations: ['44-40=4', '48/4=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[40, 4, 44, 48], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [4, 48, 4]
Generated Node #0,0: 16:[4, 48, 4] Operation: 44-40=4
Moving to Node #0,0
Current State: 16:[4, 48, 4], Operations: ['44-40=4']
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,0,1: 16:[4, 12] Operation: 48/4=12
Moving to Node #0,0,1
Current State: 16:[4, 12], Operations: ['44-40=4', '48/4=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
75,
32,
43,
21
] | 85 | [
"75+32=107",
"43-21=22",
"107-22=85"
] | Current State: 85:[75, 32, 43, 21], Operations: []
Exploring Operation: 75+32=107, Resulting Numbers: [43, 21, 107]
Generated Node #2: [43, 21, 107] from Operation: 75+32=107
Current State: 85:[43, 21, 107], Operations: ['75+32=107']
Exploring Operation: 43-21=22, Resulting Numbers: [107, 22]
Generated Node #3: [107, 22] from Operation: 43-21=22
Current State: 85:[107, 22], Operations: ['75+32=107', '43-21=22']
Exploring Operation: 107-22=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[75, 32, 43, 21], Operations: []
Exploring Operation: 32-21=11, Resulting Numbers: [75, 43, 11]
Generated Node #0,0: 85:[75, 43, 11] Operation: 32-21=11
Exploring Operation: 43-21=22, Resulting Numbers: [75, 32, 22]
Generated Node #0,1: 85:[75, 32, 22] Operation: 43-21=22
Exploring Operation: 43-32=11, Resulting Numbers: [75, 21, 11]
Generated Node #0,2: 85:[75, 21, 11] Operation: 43-32=11
Exploring Operation: 32+43=75, Resulting Numbers: [75, 21, 75]
Generated Node #0,3: 85:[75, 21, 75] Operation: 32+43=75
Exploring Operation: 75-43=32, Resulting Numbers: [32, 21, 32]
Generated Node #0,4: 85:[32, 21, 32] Operation: 75-43=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[75, 21, 11], Operations: ['43-32=11']
Exploring Operation: 75+21=96, Resulting Numbers: [11, 96]
Generated Node #0,2,0: 85:[11, 96] Operation: 75+21=96
Exploring Operation: 75-11=64, Resulting Numbers: [21, 64]
Generated Node #0,2,1: 85:[21, 64] Operation: 75-11=64
Exploring Operation: 75+11=86, Resulting Numbers: [21, 86]
Generated Node #0,2,2: 85:[21, 86] Operation: 75+11=86
Exploring Operation: 21+11=32, Resulting Numbers: [75, 32]
Generated Node #0,2,3: 85:[75, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [75, 10]
Generated Node #0,2,4: 85:[75, 10] Operation: 21-11=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[21, 86], Operations: ['43-32=11', '75+11=86']
Exploring Operation: 21+86=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 21*86=1806, Resulting Numbers: [1806]
1806,85 unequal: No Solution
No 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: 85:[75, 10], Operations: ['43-32=11', '21-11=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[75, 32, 43, 21], Operations: []
Exploring Operation: 43-32=11, Resulting Numbers: [75, 21, 11]
Generated Node #0,2: 85:[75, 21, 11] Operation: 43-32=11
Moving to Node #0,2
Current State: 85:[75, 21, 11], Operations: ['43-32=11']
Exploring Operation: 21-11=10, Resulting Numbers: [75, 10]
Generated Node #0,2,4: 85:[75, 10] Operation: 21-11=10
Moving to Node #0,2,4
Current State: 85:[75, 10], Operations: ['43-32=11', '21-11=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
33,
75,
50,
50
] | 66 | [
"33*50=1650",
"75-50=25",
"1650/25=66"
] | Current State: 66:[33, 75, 50, 50], Operations: []
Exploring Operation: 33*50=1650, Resulting Numbers: [75, 1650]
Generated Node #2: [75, 1650] from Operation: 33*50=1650
Current State: 66:[75, 1650], Operations: ['33*50=1650']
Exploring Operation: 75-50=25, Resulting Numbers: [1650, 25]
Generated Node #3: [1650, 25] from Operation: 75-50=25
Current State: 66:[1650, 25], Operations: ['33*50=1650', '75-50=25']
Exploring Operation: 1650/25=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[33, 75, 50, 50], Operations: []
Exploring Operation: 50/50=1, Resulting Numbers: [33, 75, 1]
Generated Node #0,0: 66:[33, 75, 1] Operation: 50/50=1
Moving to Node #0,0
Current State: 66:[33, 75, 1], Operations: ['50/50=1']
Exploring Operation: 75-1=74, Resulting Numbers: [33, 74]
Generated Node #0,0,0: 66:[33, 74] Operation: 75-1=74
Moving to Node #0,0,0
Current State: 66:[33, 74], Operations: ['50/50=1', '75-1=74']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,66 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
35,
84,
92
] | 16 | [
"70/35=2",
"92-84=8",
"2*8=16"
] | Current State: 16:[70, 35, 84, 92], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [84, 92, 2]
Generated Node #2: [84, 92, 2] from Operation: 70/35=2
Current State: 16:[84, 92, 2], Operations: ['70/35=2']
Exploring Operation: 92-84=8, Resulting Numbers: [2, 8]
Generated Node #3: [2, 8] from Operation: 92-84=8
Current State: 16:[2, 8], Operations: ['70/35=2', '92-84=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[70, 35, 84, 92], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [84, 92, 2]
Generated Node #0,0: 16:[84, 92, 2] Operation: 70/35=2
Exploring Operation: 92-84=8, Resulting Numbers: [70, 35, 8]
Generated Node #0,1: 16:[70, 35, 8] Operation: 92-84=8
Exploring Operation: 92-70=22, Resulting Numbers: [35, 84, 22]
Generated Node #0,2: 16:[35, 84, 22] Operation: 92-70=22
Exploring Operation: 84-70=14, Resulting Numbers: [35, 92, 14]
Generated Node #0,3: 16:[35, 92, 14] Operation: 84-70=14
Moving to Node #0,1
Current State: 16:[70, 35, 8], Operations: ['92-84=8']
Exploring Operation: 70-35=35, Resulting Numbers: [8, 35]
Generated Node #0,1,0: 16:[8, 35] Operation: 70-35=35
Exploring Operation: 70/35=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 16:[8, 2] Operation: 70/35=2
Exploring Operation: 35-8=27, Resulting Numbers: [70, 27]
Generated Node #0,1,2: 16:[70, 27] Operation: 35-8=27
Exploring Operation: 70-8=62, Resulting Numbers: [35, 62]
Generated Node #0,1,3: 16:[35, 62] Operation: 70-8=62
Moving to Node #0,2
Current State: 16:[35, 84, 22], Operations: ['92-70=22']
Exploring Operation: 35+84=119, Resulting Numbers: [22, 119]
Generated Node #0,2,0: 16:[22, 119] Operation: 35+84=119
Exploring Operation: 84-22=62, Resulting Numbers: [35, 62]
Generated Node #0,2,1: 16:[35, 62] Operation: 84-22=62
Exploring Operation: 35-22=13, Resulting Numbers: [84, 13]
Generated Node #0,2,2: 16:[84, 13] Operation: 35-22=13
Exploring Operation: 84-35=49, Resulting Numbers: [22, 49]
Generated Node #0,2,3: 16:[22, 49] Operation: 84-35=49
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[22, 49], Operations: ['92-70=22', '84-35=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[35, 62], Operations: ['92-70=22', '84-22=62']
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,16 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[84, 13], Operations: ['92-70=22', '35-22=13']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,16 unequal: No Solution
Exploring Operation: 84*13=1092, Resulting Numbers: [1092]
1092,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[22, 119], Operations: ['92-70=22', '35+84=119']
Exploring Operation: 22+119=141, Resulting Numbers: [141]
141,16 unequal: No Solution
Exploring Operation: 22*119=2618, Resulting Numbers: [2618]
2618,16 unequal: No Solution
Exploring Operation: 119-22=97, Resulting Numbers: [97]
97,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 16:[35, 92, 14], Operations: ['84-70=14']
Exploring Operation: 92-35=57, Resulting Numbers: [14, 57]
Generated Node #0,3,0: 16:[14, 57] Operation: 92-35=57
Exploring Operation: 92-14=78, Resulting Numbers: [35, 78]
Generated Node #0,3,1: 16:[35, 78] Operation: 92-14=78
Exploring Operation: 35-14=21, Resulting Numbers: [92, 21]
Generated Node #0,3,2: 16:[92, 21] Operation: 35-14=21
Exploring Operation: 35+14=49, Resulting Numbers: [92, 49]
Generated Node #0,3,3: 16:[92, 49] Operation: 35+14=49
Moving to Node #0,0
Current State: 16:[84, 92, 2], Operations: ['70/35=2']
Exploring Operation: 84/2=42, Resulting Numbers: [92, 42]
Generated Node #0,0,0: 16:[92, 42] Operation: 84/2=42
Exploring Operation: 92-84=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 16:[2, 8] Operation: 92-84=8
Exploring Operation: 84-2=82, Resulting Numbers: [92, 82]
Generated Node #0,0,2: 16:[92, 82] Operation: 84-2=82
Exploring Operation: 92/2=46, Resulting Numbers: [84, 46]
Generated Node #0,0,3: 16:[84, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[2, 8], Operations: ['70/35=2', '92-84=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[70, 35, 84, 92], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [84, 92, 2]
Generated Node #0,0: 16:[84, 92, 2] Operation: 70/35=2
Moving to Node #0,0
Current State: 16:[84, 92, 2], Operations: ['70/35=2']
Exploring Operation: 92-84=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 16:[2, 8] Operation: 92-84=8
Moving to Node #0,0,1
Current State: 16:[2, 8], Operations: ['70/35=2', '92-84=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
74,
53,
69,
20
] | 49 | [
"74-69=5",
"20/5=4",
"53-4=49"
] | Current State: 49:[74, 53, 69, 20], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [53, 20, 5]
Generated Node #2: [53, 20, 5] from Operation: 74-69=5
Current State: 49:[53, 20, 5], Operations: ['74-69=5']
Exploring Operation: 20/5=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 20/5=4
Current State: 49:[53, 4], Operations: ['74-69=5', '20/5=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[74, 53, 69, 20], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [53, 20, 5]
Generated Node #0,0: 49:[53, 20, 5] Operation: 74-69=5
Exploring Operation: 74-20=54, Resulting Numbers: [53, 69, 54]
Generated Node #0,1: 49:[53, 69, 54] Operation: 74-20=54
Moving to Node #0,0
Current State: 49:[53, 20, 5], Operations: ['74-69=5']
Exploring Operation: 20/5=4, Resulting Numbers: [53, 4]
Generated Node #0,0,0: 49:[53, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [53, 15]
Generated Node #0,0,1: 49:[53, 15] Operation: 20-5=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[53, 4], Operations: ['74-69=5', '20/5=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[74, 53, 69, 20], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [53, 20, 5]
Generated Node #0,0: 49:[53, 20, 5] Operation: 74-69=5
Moving to Node #0,0
Current State: 49:[53, 20, 5], Operations: ['74-69=5']
Exploring Operation: 20/5=4, Resulting Numbers: [53, 4]
Generated Node #0,0,0: 49:[53, 4] Operation: 20/5=4
Moving to Node #0,0,0
Current State: 49:[53, 4], Operations: ['74-69=5', '20/5=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
84,
31,
65,
28
] | 31 | [
"84/28=3",
"65-31=34",
"34-3=31"
] | Current State: 31:[84, 31, 65, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [31, 65, 3]
Generated Node #2: [31, 65, 3] from Operation: 84/28=3
Current State: 31:[31, 65, 3], Operations: ['84/28=3']
Exploring Operation: 65-31=34, Resulting Numbers: [3, 34]
Generated Node #3: [3, 34] from Operation: 65-31=34
Current State: 31:[3, 34], Operations: ['84/28=3', '65-31=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[84, 31, 65, 28], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [31, 28, 19]
Generated Node #0,0: 31:[31, 28, 19] Operation: 84-65=19
Exploring Operation: 84-31=53, Resulting Numbers: [65, 28, 53]
Generated Node #0,1: 31:[65, 28, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 31:[31, 28, 19], Operations: ['84-65=19']
Exploring Operation: 31+19=50, Resulting Numbers: [28, 50]
Generated Node #0,0,0: 31:[28, 50] Operation: 31+19=50
Exploring Operation: 28+19=47, Resulting Numbers: [31, 47]
Generated Node #0,0,1: 31:[31, 47] Operation: 28+19=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[31, 47], Operations: ['84-65=19', '28+19=47']
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[28, 50], Operations: ['84-65=19', '31+19=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,31 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: 31:[65, 28, 53], Operations: ['84-31=53']
Exploring Operation: 65-53=12, Resulting Numbers: [28, 12]
Generated Node #0,1,0: 31:[28, 12] Operation: 65-53=12
Exploring Operation: 65-28=37, Resulting Numbers: [53, 37]
Generated Node #0,1,1: 31:[53, 37] Operation: 65-28=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[28, 12], Operations: ['84-31=53', '65-53=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,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,1,1
Current State: 31:[53, 37], Operations: ['84-31=53', '65-28=37']
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,31 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 |
[
94,
58,
24,
81
] | 95 | [
"94+58=152",
"81-24=57",
"152-57=95"
] | Current State: 95:[94, 58, 24, 81], Operations: []
Exploring Operation: 94+58=152, Resulting Numbers: [24, 81, 152]
Generated Node #2: [24, 81, 152] from Operation: 94+58=152
Current State: 95:[24, 81, 152], Operations: ['94+58=152']
Exploring Operation: 81-24=57, Resulting Numbers: [152, 57]
Generated Node #3: [152, 57] from Operation: 81-24=57
Current State: 95:[152, 57], Operations: ['94+58=152', '81-24=57']
Exploring Operation: 152-57=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[94, 58, 24, 81], Operations: []
Exploring Operation: 58+24=82, Resulting Numbers: [94, 81, 82]
Generated Node #0,0: 95:[94, 81, 82] Operation: 58+24=82
Exploring Operation: 81-58=23, Resulting Numbers: [94, 24, 23]
Generated Node #0,1: 95:[94, 24, 23] Operation: 81-58=23
Moving to Node #0,1
Current State: 95:[94, 24, 23], Operations: ['81-58=23']
Exploring Operation: 24-23=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 95:[94, 1] Operation: 24-23=1
Exploring Operation: 94+24=118, Resulting Numbers: [23, 118]
Generated Node #0,1,1: 95:[23, 118] Operation: 94+24=118
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[94, 1], Operations: ['81-58=23', '24-23=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[94, 58, 24, 81], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [94, 24, 23]
Generated Node #0,1: 95:[94, 24, 23] Operation: 81-58=23
Moving to Node #0,1
Current State: 95:[94, 24, 23], Operations: ['81-58=23']
Exploring Operation: 24-23=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 95:[94, 1] Operation: 24-23=1
Moving to Node #0,1,0
Current State: 95:[94, 1], Operations: ['81-58=23', '24-23=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
8,
28,
12,
74
] | 68 | [
"28+74=102",
"8*102=816",
"816/12=68"
] | Current State: 68:[8, 28, 12, 74], Operations: []
Exploring Operation: 28+74=102, Resulting Numbers: [8, 12, 102]
Generated Node #2: [8, 12, 102] from Operation: 28+74=102
Current State: 68:[8, 12, 102], Operations: ['28+74=102']
Exploring Operation: 8*102=816, Resulting Numbers: [12, 816]
Generated Node #3: [12, 816] from Operation: 8*102=816
Current State: 68:[12, 816], Operations: ['28+74=102', '8*102=816']
Exploring Operation: 816/12=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[8, 28, 12, 74], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [28, 74, 4]
Generated Node #0,0: 68:[28, 74, 4] Operation: 12-8=4
Exploring Operation: 28-12=16, Resulting Numbers: [8, 74, 16]
Generated Node #0,1: 68:[8, 74, 16] Operation: 28-12=16
Exploring Operation: 8+28=36, Resulting Numbers: [12, 74, 36]
Generated Node #0,2: 68:[12, 74, 36] Operation: 8+28=36
Exploring Operation: 74-8=66, Resulting Numbers: [28, 12, 66]
Generated Node #0,3: 68:[28, 12, 66] Operation: 74-8=66
Moving to Node #0,1
Current State: 68:[8, 74, 16], Operations: ['28-12=16']
Exploring Operation: 16-8=8, Resulting Numbers: [74, 8]
Generated Node #0,1,0: 68:[74, 8] Operation: 16-8=8
Exploring Operation: 74-8=66, Resulting Numbers: [16, 66]
Generated Node #0,1,1: 68:[16, 66] Operation: 74-8=66
Exploring Operation: 16/8=2, Resulting Numbers: [74, 2]
Generated Node #0,1,2: 68:[74, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [74, 24]
Generated Node #0,1,3: 68:[74, 24] Operation: 8+16=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[16, 66], Operations: ['28-12=16', '74-8=66']
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,68 unequal: No Solution
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[74, 2], Operations: ['28-12=16', '16/8=2']
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,68 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[74, 8], Operations: ['28-12=16', '16-8=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,68 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[74, 24], Operations: ['28-12=16', '8+16=24']
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,68 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,68 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: 68:[28, 74, 4], Operations: ['12-8=4']
Exploring Operation: 28+4=32, Resulting Numbers: [74, 32]
Generated Node #0,0,0: 68:[74, 32] Operation: 28+4=32
Exploring Operation: 74-28=46, Resulting Numbers: [4, 46]
Generated Node #0,0,1: 68:[4, 46] Operation: 74-28=46
Exploring Operation: 74-4=70, Resulting Numbers: [28, 70]
Generated Node #0,0,2: 68:[28, 70] Operation: 74-4=70
Exploring Operation: 28/4=7, Resulting Numbers: [74, 7]
Generated Node #0,0,3: 68:[74, 7] Operation: 28/4=7
Moving to Node #0,3
Current State: 68:[28, 12, 66], Operations: ['74-8=66']
Exploring Operation: 12+66=78, Resulting Numbers: [28, 78]
Generated Node #0,3,0: 68:[28, 78] Operation: 12+66=78
Exploring Operation: 28-12=16, Resulting Numbers: [66, 16]
Generated Node #0,3,1: 68:[66, 16] Operation: 28-12=16
Exploring Operation: 28+12=40, Resulting Numbers: [66, 40]
Generated Node #0,3,2: 68:[66, 40] Operation: 28+12=40
Exploring Operation: 66-28=38, Resulting Numbers: [12, 38]
Generated Node #0,3,3: 68:[12, 38] Operation: 66-28=38
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 68:[66, 16], Operations: ['74-8=66', '28-12=16']
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,68 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,68 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[66, 40], Operations: ['74-8=66', '28+12=40']
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,68 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 68:[12, 38], Operations: ['74-8=66', '66-28=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,68 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[28, 78], Operations: ['74-8=66', '12+66=78']
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,68 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: 68:[12, 74, 36], Operations: ['8+28=36']
Exploring Operation: 36-12=24, Resulting Numbers: [74, 24]
Generated Node #0,2,0: 68:[74, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [74, 3]
Generated Node #0,2,1: 68:[74, 3] Operation: 36/12=3
Exploring Operation: 74-36=38, Resulting Numbers: [12, 38]
Generated Node #0,2,2: 68:[12, 38] Operation: 74-36=38
Exploring Operation: 74-12=62, Resulting Numbers: [36, 62]
Generated Node #0,2,3: 68:[36, 62] Operation: 74-12=62
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[74, 3], Operations: ['8+28=36', '36/12=3']
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,68 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[36, 62], Operations: ['8+28=36', '74-12=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[12, 38], Operations: ['8+28=36', '74-36=38']
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,68 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[74, 24], Operations: ['8+28=36', '36-12=24']
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,68 unequal: No Solution
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,68 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: 68:[74, 32], Operations: ['12-8=4', '28+4=32']
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,68 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[28, 70], Operations: ['12-8=4', '74-4=70']
Exploring Operation: 28+70=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 28*70=1960, Resulting Numbers: [1960]
1960,68 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[74, 7], Operations: ['12-8=4', '28/4=7']
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,68 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[4, 46], Operations: ['12-8=4', '74-28=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,68 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,68 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
92,
57,
69,
15
] | 91 | [
"92*57=5244",
"5244/69=76",
"15+76=91"
] | Current State: 91:[92, 57, 69, 15], Operations: []
Exploring Operation: 92*57=5244, Resulting Numbers: [69, 15, 5244]
Generated Node #2: [69, 15, 5244] from Operation: 92*57=5244
Current State: 91:[69, 15, 5244], Operations: ['92*57=5244']
Exploring Operation: 5244/69=76, Resulting Numbers: [15, 76]
Generated Node #3: [15, 76] from Operation: 5244/69=76
Current State: 91:[15, 76], Operations: ['92*57=5244', '5244/69=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[92, 57, 69, 15], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [92, 15, 12]
Generated Node #0,0: 91:[92, 15, 12] Operation: 69-57=12
Exploring Operation: 57+69=126, Resulting Numbers: [92, 15, 126]
Generated Node #0,1: 91:[92, 15, 126] Operation: 57+69=126
Exploring Operation: 92-57=35, Resulting Numbers: [69, 15, 35]
Generated Node #0,2: 91:[69, 15, 35] Operation: 92-57=35
Exploring Operation: 69+15=84, Resulting Numbers: [92, 57, 84]
Generated Node #0,3: 91:[92, 57, 84] Operation: 69+15=84
Exploring Operation: 57+15=72, Resulting Numbers: [92, 69, 72]
Generated Node #0,4: 91:[92, 69, 72] Operation: 57+15=72
Moving to Node #0,0
Current State: 91:[92, 15, 12], Operations: ['69-57=12']
Exploring Operation: 92+12=104, Resulting Numbers: [15, 104]
Generated Node #0,0,0: 91:[15, 104] Operation: 92+12=104
Exploring Operation: 15-12=3, Resulting Numbers: [92, 3]
Generated Node #0,0,1: 91:[92, 3] Operation: 15-12=3
Exploring Operation: 92-15=77, Resulting Numbers: [12, 77]
Generated Node #0,0,2: 91:[12, 77] Operation: 92-15=77
Exploring Operation: 92-12=80, Resulting Numbers: [15, 80]
Generated Node #0,0,3: 91:[15, 80] Operation: 92-12=80
Exploring Operation: 15+12=27, Resulting Numbers: [92, 27]
Generated Node #0,0,4: 91:[92, 27] Operation: 15+12=27
Moving to Node #0,1
Current State: 91:[92, 15, 126], Operations: ['57+69=126']
Exploring Operation: 126-15=111, Resulting Numbers: [92, 111]
Generated Node #0,1,0: 91:[92, 111] Operation: 126-15=111
Exploring Operation: 126-92=34, Resulting Numbers: [15, 34]
Generated Node #0,1,1: 91:[15, 34] Operation: 126-92=34
Exploring Operation: 92-15=77, Resulting Numbers: [126, 77]
Generated Node #0,1,2: 91:[126, 77] Operation: 92-15=77
Exploring Operation: 15+126=141, Resulting Numbers: [92, 141]
Generated Node #0,1,3: 91:[92, 141] Operation: 15+126=141
Exploring Operation: 92+15=107, Resulting Numbers: [126, 107]
Generated Node #0,1,4: 91:[126, 107] Operation: 92+15=107
Moving to Node #0,3
Current State: 91:[92, 57, 84], Operations: ['69+15=84']
Exploring Operation: 57+84=141, Resulting Numbers: [92, 141]
Generated Node #0,3,0: 91:[92, 141] Operation: 57+84=141
Exploring Operation: 84-57=27, Resulting Numbers: [92, 27]
Generated Node #0,3,1: 91:[92, 27] Operation: 84-57=27
Exploring Operation: 92-57=35, Resulting Numbers: [84, 35]
Generated Node #0,3,2: 91:[84, 35] Operation: 92-57=35
Exploring Operation: 92+57=149, Resulting Numbers: [84, 149]
Generated Node #0,3,3: 91:[84, 149] Operation: 92+57=149
Exploring Operation: 92-84=8, Resulting Numbers: [57, 8]
Generated Node #0,3,4: 91:[57, 8] Operation: 92-84=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[92, 27], Operations: ['69+15=84', '84-57=27']
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,91 unequal: No Solution
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[84, 35], Operations: ['69+15=84', '92-57=35']
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 84*35=2940, Resulting Numbers: [2940]
2940,91 unequal: No Solution
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[57, 8], Operations: ['69+15=84', '92-84=8']
Exploring Operation: 57*8=456, Resulting Numbers: [456]
456,91 unequal: No Solution
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[92, 141], Operations: ['69+15=84', '57+84=141']
Exploring Operation: 141-92=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 92*141=12972, Resulting Numbers: [12972]
12972,91 unequal: No Solution
Exploring Operation: 92+141=233, Resulting Numbers: [233]
233,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[84, 149], Operations: ['69+15=84', '92+57=149']
Exploring Operation: 84*149=12516, Resulting Numbers: [12516]
12516,91 unequal: No Solution
Exploring Operation: 84+149=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 149-84=65, Resulting Numbers: [65]
65,91 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: 91:[92, 69, 72], Operations: ['57+15=72']
Exploring Operation: 92-69=23, Resulting Numbers: [72, 23]
Generated Node #0,4,0: 91:[72, 23] Operation: 92-69=23
Exploring Operation: 92+69=161, Resulting Numbers: [72, 161]
Generated Node #0,4,1: 91:[72, 161] Operation: 92+69=161
Exploring Operation: 72-69=3, Resulting Numbers: [92, 3]
Generated Node #0,4,2: 91:[92, 3] Operation: 72-69=3
Exploring Operation: 92-72=20, Resulting Numbers: [69, 20]
Generated Node #0,4,3: 91:[69, 20] Operation: 92-72=20
Exploring Operation: 69+72=141, Resulting Numbers: [92, 141]
Generated Node #0,4,4: 91:[92, 141] Operation: 69+72=141
Moving to Node #0,2
Current State: 91:[69, 15, 35], Operations: ['92-57=35']
Exploring Operation: 35-15=20, Resulting Numbers: [69, 20]
Generated Node #0,2,0: 91:[69, 20] Operation: 35-15=20
Exploring Operation: 69+35=104, Resulting Numbers: [15, 104]
Generated Node #0,2,1: 91:[15, 104] Operation: 69+35=104
Exploring Operation: 69-35=34, Resulting Numbers: [15, 34]
Generated Node #0,2,2: 91:[15, 34] Operation: 69-35=34
Exploring Operation: 69-15=54, Resulting Numbers: [35, 54]
Generated Node #0,2,3: 91:[35, 54] Operation: 69-15=54
Exploring Operation: 69+15=84, Resulting Numbers: [35, 84]
Generated Node #0,2,4: 91:[35, 84] Operation: 69+15=84
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[15, 104], Operations: ['92-57=35', '69+35=104']
Exploring Operation: 104-15=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 15*104=1560, Resulting Numbers: [1560]
1560,91 unequal: No Solution
Exploring Operation: 15+104=119, Resulting Numbers: [119]
119,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[15, 34], Operations: ['92-57=35', '69-35=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[69, 20], Operations: ['92-57=35', '35-15=20']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 69*20=1380, Resulting Numbers: [1380]
1380,91 unequal: No Solution
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[35, 84], Operations: ['92-57=35', '69+15=84']
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[35, 54], Operations: ['92-57=35', '69-15=54']
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,91 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,91 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: 91:[92, 3], Operations: ['69-57=12', '15-12=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,91 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[92, 3], Operations: ['57+15=72', '72-69=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,91 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[15, 80], Operations: ['69-57=12', '92-12=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 15*80=1200, Resulting Numbers: [1200]
1200,91 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[15, 104], Operations: ['69-57=12', '92+12=104']
Exploring Operation: 104-15=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 15*104=1560, Resulting Numbers: [1560]
1560,91 unequal: No Solution
Exploring Operation: 15+104=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[92, 27], Operations: ['69-57=12', '15+12=27']
Exploring Operation: 92*27=2484, Resulting Numbers: [2484]
2484,91 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 92+27=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[12, 77], Operations: ['69-57=12', '92-15=77']
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,91 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[92, 111], Operations: ['57+69=126', '126-15=111']
Exploring Operation: 92+111=203, Resulting Numbers: [203]
203,91 unequal: No Solution
Exploring Operation: 92*111=10212, Resulting Numbers: [10212]
10212,91 unequal: No Solution
Exploring Operation: 111-92=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[15, 34], Operations: ['57+69=126', '126-92=34']
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,91 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[72, 23], Operations: ['57+15=72', '92-69=23']
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,91 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[69, 20], Operations: ['57+15=72', '92-72=20']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 69*20=1380, Resulting Numbers: [1380]
1380,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[126, 77], Operations: ['57+69=126', '92-15=77']
Exploring Operation: 126+77=203, Resulting Numbers: [203]
203,91 unequal: No Solution
Exploring Operation: 126-77=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 126*77=9702, Resulting Numbers: [9702]
9702,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[92, 141], Operations: ['57+15=72', '69+72=141']
Exploring Operation: 92+141=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 141-92=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 92*141=12972, Resulting Numbers: [12972]
12972,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[92, 141], Operations: ['57+69=126', '15+126=141']
Exploring Operation: 141-92=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 92*141=12972, Resulting Numbers: [12972]
12972,91 unequal: No Solution
Exploring Operation: 92+141=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[126, 107], Operations: ['57+69=126', '92+15=107']
Exploring Operation: 126-107=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 126*107=13482, Resulting Numbers: [13482]
13482,91 unequal: No Solution
Exploring Operation: 126+107=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[72, 161], Operations: ['57+15=72', '92+69=161']
Exploring Operation: 72+161=233, Resulting Numbers: [233]
233,91 unequal: No Solution
Exploring Operation: 161-72=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 72*161=11592, Resulting Numbers: [11592]
11592,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
71,
53,
34,
47
] | 77 | [
"71*34=2414",
"53*47=2491",
"2491-2414=77"
] | Current State: 77:[71, 53, 34, 47], Operations: []
Exploring Operation: 71*34=2414, Resulting Numbers: [53, 47, 2414]
Generated Node #2: [53, 47, 2414] from Operation: 71*34=2414
Current State: 77:[53, 47, 2414], Operations: ['71*34=2414']
Exploring Operation: 53*47=2491, Resulting Numbers: [2414, 2491]
Generated Node #3: [2414, 2491] from Operation: 53*47=2491
Current State: 77:[2414, 2491], Operations: ['71*34=2414', '53*47=2491']
Exploring Operation: 2491-2414=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[71, 53, 34, 47], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [71, 53, 13]
Generated Node #0,0: 77:[71, 53, 13] Operation: 47-34=13
Exploring Operation: 53-47=6, Resulting Numbers: [71, 34, 6]
Generated Node #0,1: 77:[71, 34, 6] Operation: 53-47=6
Exploring Operation: 34+47=81, Resulting Numbers: [71, 53, 81]
Generated Node #0,2: 77:[71, 53, 81] Operation: 34+47=81
Exploring Operation: 53-34=19, Resulting Numbers: [71, 47, 19]
Generated Node #0,3: 77:[71, 47, 19] Operation: 53-34=19
Exploring Operation: 53+34=87, Resulting Numbers: [71, 47, 87]
Generated Node #0,4: 77:[71, 47, 87] Operation: 53+34=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[71, 34, 6], Operations: ['53-47=6']
Exploring Operation: 71+6=77, Resulting Numbers: [34, 77]
Generated Node #0,1,0: 77:[34, 77] Operation: 71+6=77
Exploring Operation: 71-34=37, Resulting Numbers: [6, 37]
Generated Node #0,1,1: 77:[6, 37] Operation: 71-34=37
Exploring Operation: 71+34=105, Resulting Numbers: [6, 105]
Generated Node #0,1,2: 77:[6, 105] Operation: 71+34=105
Exploring Operation: 34-6=28, Resulting Numbers: [71, 28]
Generated Node #0,1,3: 77:[71, 28] Operation: 34-6=28
Exploring Operation: 71-6=65, Resulting Numbers: [34, 65]
Generated Node #0,1,4: 77:[34, 65] Operation: 71-6=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[34, 77], Operations: ['53-47=6', '71+6=77']
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,77 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[71, 28], Operations: ['53-47=6', '34-6=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,77 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[6, 37], Operations: ['53-47=6', '71-34=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,77 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[6, 105], Operations: ['53-47=6', '71+34=105']
Exploring Operation: 6+105=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 6*105=630, Resulting Numbers: [630]
630,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 77:[34, 65], Operations: ['53-47=6', '71-6=65']
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[71, 53, 13], Operations: ['47-34=13']
Exploring Operation: 71+13=84, Resulting Numbers: [53, 84]
Generated Node #0,0,0: 77:[53, 84] Operation: 71+13=84
Exploring Operation: 71-13=58, Resulting Numbers: [53, 58]
Generated Node #0,0,1: 77:[53, 58] Operation: 71-13=58
Exploring Operation: 53+13=66, Resulting Numbers: [71, 66]
Generated Node #0,0,2: 77:[71, 66] Operation: 53+13=66
Exploring Operation: 53-13=40, Resulting Numbers: [71, 40]
Generated Node #0,0,3: 77:[71, 40] Operation: 53-13=40
Exploring Operation: 71-53=18, Resulting Numbers: [13, 18]
Generated Node #0,0,4: 77:[13, 18] Operation: 71-53=18
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 77:[13, 18], Operations: ['47-34=13', '71-53=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[71, 66], Operations: ['47-34=13', '53+13=66']
Exploring Operation: 71*66=4686, Resulting Numbers: [4686]
4686,77 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 71+66=137, Resulting Numbers: [137]
137,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[53, 84], Operations: ['47-34=13', '71+13=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,77 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,77 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[71, 40], Operations: ['47-34=13', '53-13=40']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[53, 58], Operations: ['47-34=13', '71-13=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,77 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[71, 53, 81], Operations: ['34+47=81']
Exploring Operation: 71+53=124, Resulting Numbers: [81, 124]
Generated Node #0,2,0: 77:[81, 124] Operation: 71+53=124
Exploring Operation: 81-53=28, Resulting Numbers: [71, 28]
Generated Node #0,2,1: 77:[71, 28] Operation: 81-53=28
Exploring Operation: 71-53=18, Resulting Numbers: [81, 18]
Generated Node #0,2,2: 77:[81, 18] Operation: 71-53=18
Exploring Operation: 53+81=134, Resulting Numbers: [71, 134]
Generated Node #0,2,3: 77:[71, 134] Operation: 53+81=134
Exploring Operation: 81-71=10, Resulting Numbers: [53, 10]
Generated Node #0,2,4: 77:[53, 10] Operation: 81-71=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[81, 18], Operations: ['34+47=81', '71-53=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,77 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[71, 28], Operations: ['34+47=81', '81-53=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,77 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 77:[53, 10], Operations: ['34+47=81', '81-71=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,77 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[81, 124], Operations: ['34+47=81', '71+53=124']
Exploring Operation: 81*124=10044, Resulting Numbers: [10044]
10044,77 unequal: No Solution
Exploring Operation: 124-81=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 81+124=205, Resulting Numbers: [205]
205,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[71, 134], Operations: ['34+47=81', '53+81=134']
Exploring Operation: 71*134=9514, Resulting Numbers: [9514]
9514,77 unequal: No Solution
Exploring Operation: 71+134=205, Resulting Numbers: [205]
205,77 unequal: No Solution
Exploring Operation: 134-71=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[71, 47, 19], Operations: ['53-34=19']
Exploring Operation: 47-19=28, Resulting Numbers: [71, 28]
Generated Node #0,3,0: 77:[71, 28] Operation: 47-19=28
Exploring Operation: 71+19=90, Resulting Numbers: [47, 90]
Generated Node #0,3,1: 77:[47, 90] Operation: 71+19=90
Exploring Operation: 71-47=24, Resulting Numbers: [19, 24]
Generated Node #0,3,2: 77:[19, 24] Operation: 71-47=24
Exploring Operation: 47+19=66, Resulting Numbers: [71, 66]
Generated Node #0,3,3: 77:[71, 66] Operation: 47+19=66
Exploring Operation: 71+47=118, Resulting Numbers: [19, 118]
Generated Node #0,3,4: 77:[19, 118] Operation: 71+47=118
Moving to Node #0,3,3
Current State: 77:[71, 66], Operations: ['53-34=19', '47+19=66']
Exploring Operation: 71*66=4686, Resulting Numbers: [4686]
4686,77 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 71+66=137, Resulting Numbers: [137]
137,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[19, 24], Operations: ['53-34=19', '71-47=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,77 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[71, 28], Operations: ['53-34=19', '47-19=28']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[47, 90], Operations: ['53-34=19', '71+19=90']
Exploring Operation: 47*90=4230, Resulting Numbers: [4230]
4230,77 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,77 unequal: No Solution
Exploring Operation: 47+90=137, Resulting Numbers: [137]
137,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[19, 118], Operations: ['53-34=19', '71+47=118']
Exploring Operation: 118-19=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 19*118=2242, Resulting Numbers: [2242]
2242,77 unequal: No Solution
Exploring Operation: 19+118=137, Resulting Numbers: [137]
137,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[71, 47, 87], Operations: ['53+34=87']
Exploring Operation: 71-47=24, Resulting Numbers: [87, 24]
Generated Node #0,4,0: 77:[87, 24] Operation: 71-47=24
Exploring Operation: 71+47=118, Resulting Numbers: [87, 118]
Generated Node #0,4,1: 77:[87, 118] Operation: 71+47=118
Exploring Operation: 87-47=40, Resulting Numbers: [71, 40]
Generated Node #0,4,2: 77:[71, 40] Operation: 87-47=40
Exploring Operation: 87-71=16, Resulting Numbers: [47, 16]
Generated Node #0,4,3: 77:[47, 16] Operation: 87-71=16
Exploring Operation: 47+87=134, Resulting Numbers: [71, 134]
Generated Node #0,4,4: 77:[71, 134] Operation: 47+87=134
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 77:[87, 24], Operations: ['53+34=87', '71-47=24']
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,77 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 77:[71, 40], Operations: ['53+34=87', '87-47=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,77 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 77:[47, 16], Operations: ['53+34=87', '87-71=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,77 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 77:[87, 118], Operations: ['53+34=87', '71+47=118']
Exploring Operation: 87*118=10266, Resulting Numbers: [10266]
10266,77 unequal: No Solution
Exploring Operation: 87+118=205, Resulting Numbers: [205]
205,77 unequal: No Solution
Exploring Operation: 118-87=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 77:[71, 134], Operations: ['53+34=87', '47+87=134']
Exploring Operation: 71+134=205, Resulting Numbers: [205]
205,77 unequal: No Solution
Exploring Operation: 134-71=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 71*134=9514, Resulting Numbers: [9514]
9514,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
4,
67,
48
] | 100 | [
"85-4=81",
"67-48=19",
"81+19=100"
] | Current State: 100:[85, 4, 67, 48], Operations: []
Exploring Operation: 85-4=81, Resulting Numbers: [67, 48, 81]
Generated Node #2: [67, 48, 81] from Operation: 85-4=81
Current State: 100:[67, 48, 81], Operations: ['85-4=81']
Exploring Operation: 67-48=19, Resulting Numbers: [81, 19]
Generated Node #3: [81, 19] from Operation: 67-48=19
Current State: 100:[81, 19], Operations: ['85-4=81', '67-48=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[85, 4, 67, 48], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [85, 4, 19]
Generated Node #0,0: 100:[85, 4, 19] Operation: 67-48=19
Exploring Operation: 85-48=37, Resulting Numbers: [4, 67, 37]
Generated Node #0,1: 100:[4, 67, 37] Operation: 85-48=37
Exploring Operation: 85-67=18, Resulting Numbers: [4, 48, 18]
Generated Node #0,2: 100:[4, 48, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[4, 48, 18], Operations: ['85-67=18']
Exploring Operation: 4+18=22, Resulting Numbers: [48, 22]
Generated Node #0,2,0: 100:[48, 22] Operation: 4+18=22
Exploring Operation: 48/4=12, Resulting Numbers: [18, 12]
Generated Node #0,2,1: 100:[18, 12] Operation: 48/4=12
Exploring Operation: 4+48=52, Resulting Numbers: [18, 52]
Generated Node #0,2,2: 100:[18, 52] Operation: 4+48=52
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[48, 22], Operations: ['85-67=18', '4+18=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,100 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[18, 12], Operations: ['85-67=18', '48/4=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[18, 52], Operations: ['85-67=18', '4+48=52']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,100 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[85, 4, 19], Operations: ['67-48=19']
Exploring Operation: 85+19=104, Resulting Numbers: [4, 104]
Generated Node #0,0,0: 100:[4, 104] Operation: 85+19=104
Exploring Operation: 85+4=89, Resulting Numbers: [19, 89]
Generated Node #0,0,1: 100:[19, 89] Operation: 85+4=89
Exploring Operation: 85-19=66, Resulting Numbers: [4, 66]
Generated Node #0,0,2: 100:[4, 66] Operation: 85-19=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[4, 104], Operations: ['67-48=19', '85+19=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[85, 4, 67, 48], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [85, 4, 19]
Generated Node #0,0: 100:[85, 4, 19] Operation: 67-48=19
Moving to Node #0,0
Current State: 100:[85, 4, 19], Operations: ['67-48=19']
Exploring Operation: 85+19=104, Resulting Numbers: [4, 104]
Generated Node #0,0,0: 100:[4, 104] Operation: 85+19=104
Moving to Node #0,0,0
Current State: 100:[4, 104], Operations: ['67-48=19', '85+19=104']
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
16,
28,
16,
97
] | 93 | [
"28-16=12",
"97-16=81",
"12+81=93"
] | Current State: 93:[16, 28, 16, 97], Operations: []
Exploring Operation: 28-16=12, Resulting Numbers: [97, 12]
Generated Node #2: [97, 12] from Operation: 28-16=12
Current State: 93:[97, 12], Operations: ['28-16=12']
Exploring Operation: 97-16=81, Resulting Numbers: [12, 81]
Generated Node #3: [12, 81] from Operation: 97-16=81
Current State: 93:[12, 81], Operations: ['28-16=12', '97-16=81']
Exploring Operation: 12+81=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 28, 16, 97], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [28, 97, 32]
Generated Node #0,0: 93:[28, 97, 32] Operation: 16+16=32
Exploring Operation: 16/16=1, Resulting Numbers: [28, 97, 1]
Generated Node #0,1: 93:[28, 97, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[28, 97, 32], Operations: ['16+16=32']
Exploring Operation: 97-28=69, Resulting Numbers: [32, 69]
Generated Node #0,0,0: 93:[32, 69] Operation: 97-28=69
Exploring Operation: 32-28=4, Resulting Numbers: [97, 4]
Generated Node #0,0,1: 93:[97, 4] Operation: 32-28=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[97, 4], Operations: ['16+16=32', '32-28=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 28, 16, 97], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [28, 97, 32]
Generated Node #0,0: 93:[28, 97, 32] Operation: 16+16=32
Moving to Node #0,0
Current State: 93:[28, 97, 32], Operations: ['16+16=32']
Exploring Operation: 32-28=4, Resulting Numbers: [97, 4]
Generated Node #0,0,1: 93:[97, 4] Operation: 32-28=4
Moving to Node #0,0,1
Current State: 93:[97, 4], Operations: ['16+16=32', '32-28=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
76,
47,
17,
59
] | 81 | [
"76+47=123",
"59-17=42",
"123-42=81"
] | Current State: 81:[76, 47, 17, 59], Operations: []
Exploring Operation: 76+47=123, Resulting Numbers: [17, 59, 123]
Generated Node #2: [17, 59, 123] from Operation: 76+47=123
Current State: 81:[17, 59, 123], Operations: ['76+47=123']
Exploring Operation: 59-17=42, Resulting Numbers: [123, 42]
Generated Node #3: [123, 42] from Operation: 59-17=42
Current State: 81:[123, 42], Operations: ['76+47=123', '59-17=42']
Exploring Operation: 123-42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 47, 17, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [76, 17, 12]
Generated Node #0,0: 81:[76, 17, 12] Operation: 59-47=12
Exploring Operation: 47-17=30, Resulting Numbers: [76, 59, 30]
Generated Node #0,1: 81:[76, 59, 30] Operation: 47-17=30
Exploring Operation: 17+59=76, Resulting Numbers: [76, 47, 76]
Generated Node #0,2: 81:[76, 47, 76] Operation: 17+59=76
Moving to Node #0,0
Current State: 81:[76, 17, 12], Operations: ['59-47=12']
Exploring Operation: 76+17=93, Resulting Numbers: [12, 93]
Generated Node #0,0,0: 81:[12, 93] Operation: 76+17=93
Exploring Operation: 17+12=29, Resulting Numbers: [76, 29]
Generated Node #0,0,1: 81:[76, 29] Operation: 17+12=29
Exploring Operation: 17-12=5, Resulting Numbers: [76, 5]
Generated Node #0,0,2: 81:[76, 5] Operation: 17-12=5
Moving to Node #0,1
Current State: 81:[76, 59, 30], Operations: ['47-17=30']
Exploring Operation: 76-59=17, Resulting Numbers: [30, 17]
Generated Node #0,1,0: 81:[30, 17] Operation: 76-59=17
Exploring Operation: 59-30=29, Resulting Numbers: [76, 29]
Generated Node #0,1,1: 81:[76, 29] Operation: 59-30=29
Exploring Operation: 59+30=89, Resulting Numbers: [76, 89]
Generated Node #0,1,2: 81:[76, 89] Operation: 59+30=89
Moving to Node #0,2
Current State: 81:[76, 47, 76], Operations: ['17+59=76']
Exploring Operation: 76-47=29, Resulting Numbers: [76, 29]
Generated Node #0,2,0: 81:[76, 29] Operation: 76-47=29
Exploring Operation: 76-47=29, Resulting Numbers: [76, 29]
Generated Node #0,2,1: 81:[76, 29] Operation: 76-47=29
Exploring Operation: 76/76=1, Resulting Numbers: [47, 1]
Generated Node #0,2,2: 81:[47, 1] Operation: 76/76=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[76, 29], Operations: ['17+59=76', '76-47=29']
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[76, 29], Operations: ['17+59=76', '76-47=29']
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[47, 1], Operations: ['17+59=76', '76/76=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,81 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: 81:[76, 29], Operations: ['59-47=12', '17+12=29']
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,81 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[76, 5], Operations: ['59-47=12', '17-12=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,81 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[76, 47, 17, 59], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [76, 17, 12]
Generated Node #0,0: 81:[76, 17, 12] Operation: 59-47=12
Moving to Node #0,0
Current State: 81:[76, 17, 12], Operations: ['59-47=12']
Exploring Operation: 17-12=5, Resulting Numbers: [76, 5]
Generated Node #0,0,2: 81:[76, 5] Operation: 17-12=5
Moving to Node #0,0,2
Current State: 81:[76, 5], Operations: ['59-47=12', '17-12=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
16,
15,
1,
66
] | 96 | [
"16+15=31",
"66-1=65",
"31+65=96"
] | Current State: 96:[16, 15, 1, 66], Operations: []
Exploring Operation: 16+15=31, Resulting Numbers: [1, 66, 31]
Generated Node #2: [1, 66, 31] from Operation: 16+15=31
Current State: 96:[1, 66, 31], Operations: ['16+15=31']
Exploring Operation: 66-1=65, Resulting Numbers: [31, 65]
Generated Node #3: [31, 65] from Operation: 66-1=65
Current State: 96:[31, 65], Operations: ['16+15=31', '66-1=65']
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[16, 15, 1, 66], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [15, 1, 50]
Generated Node #0,0: 96:[15, 1, 50] Operation: 66-16=50
Moving to Node #0,0
Current State: 96:[15, 1, 50], Operations: ['66-16=50']
Exploring Operation: 15+1=16, Resulting Numbers: [50, 16]
Generated Node #0,0,0: 96:[50, 16] Operation: 15+1=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[50, 16], Operations: ['66-16=50', '15+1=16']
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,96 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 |
[
63,
34,
2,
64
] | 65 | [
"63+34=97",
"64/2=32",
"97-32=65"
] | Current State: 65:[63, 34, 2, 64], Operations: []
Exploring Operation: 63+34=97, Resulting Numbers: [2, 64, 97]
Generated Node #2: [2, 64, 97] from Operation: 63+34=97
Current State: 65:[2, 64, 97], Operations: ['63+34=97']
Exploring Operation: 64/2=32, Resulting Numbers: [97, 32]
Generated Node #3: [97, 32] from Operation: 64/2=32
Current State: 65:[97, 32], Operations: ['63+34=97', '64/2=32']
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[63, 34, 2, 64], Operations: []
Exploring Operation: 34*2=68, Resulting Numbers: [63, 64, 68]
Generated Node #0,0: 65:[63, 64, 68] Operation: 34*2=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[63, 64, 68], Operations: ['34*2=68']
Exploring Operation: 68-63=5, Resulting Numbers: [64, 5]
Generated Node #0,0,0: 65:[64, 5] Operation: 68-63=5
Moving to Node #0,0,0
Current State: 65:[64, 5], Operations: ['34*2=68', '68-63=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,65 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 |
[
33,
35,
37,
24
] | 41 | [
"37-33=4",
"24/4=6",
"35+6=41"
] | Current State: 41:[33, 35, 37, 24], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [35, 24, 4]
Generated Node #2: [35, 24, 4] from Operation: 37-33=4
Current State: 41:[35, 24, 4], Operations: ['37-33=4']
Exploring Operation: 24/4=6, Resulting Numbers: [35, 6]
Generated Node #3: [35, 6] from Operation: 24/4=6
Current State: 41:[35, 6], Operations: ['37-33=4', '24/4=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[33, 35, 37, 24], Operations: []
Exploring Operation: 33+24=57, Resulting Numbers: [35, 37, 57]
Generated Node #0,0: 41:[35, 37, 57] Operation: 33+24=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[35, 37, 57], Operations: ['33+24=57']
Exploring Operation: 57-35=22, Resulting Numbers: [37, 22]
Generated Node #0,0,0: 41:[37, 22] Operation: 57-35=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[37, 22], Operations: ['33+24=57', '57-35=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
23,
86,
88
] | 46 | [
"88-45=43",
"23*86=1978",
"1978/43=46"
] | Current State: 46:[45, 23, 86, 88], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [23, 86, 43]
Generated Node #2: [23, 86, 43] from Operation: 88-45=43
Current State: 46:[23, 86, 43], Operations: ['88-45=43']
Exploring Operation: 23*86=1978, Resulting Numbers: [43, 1978]
Generated Node #3: [43, 1978] from Operation: 23*86=1978
Current State: 46:[43, 1978], Operations: ['88-45=43', '23*86=1978']
Exploring Operation: 1978/43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[45, 23, 86, 88], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [23, 86, 43]
Generated Node #0,0: 46:[23, 86, 43] Operation: 88-45=43
Exploring Operation: 88-86=2, Resulting Numbers: [45, 23, 2]
Generated Node #0,1: 46:[45, 23, 2] Operation: 88-86=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[45, 23, 2], Operations: ['88-86=2']
Exploring Operation: 45+2=47, Resulting Numbers: [23, 47]
Generated Node #0,1,0: 46:[23, 47] Operation: 45+2=47
Exploring Operation: 45-23=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 46:[2, 22] Operation: 45-23=22
Moving to Node #0,1,0
Current State: 46:[23, 47], Operations: ['88-86=2', '45+2=47']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[2, 22], Operations: ['88-86=2', '45-23=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[23, 86, 43], Operations: ['88-45=43']
Exploring Operation: 86-43=43, Resulting Numbers: [23, 43]
Generated Node #0,0,0: 46:[23, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 46:[23, 2] Operation: 86/43=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[23, 2], Operations: ['88-45=43', '86/43=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[45, 23, 86, 88], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [23, 86, 43]
Generated Node #0,0: 46:[23, 86, 43] Operation: 88-45=43
Moving to Node #0,0
Current State: 46:[23, 86, 43], Operations: ['88-45=43']
Exploring Operation: 86/43=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 46:[23, 2] Operation: 86/43=2
Moving to Node #0,0,1
Current State: 46:[23, 2], Operations: ['88-45=43', '86/43=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
28,
59,
56,
5
] | 79 | [
"59-56=3",
"28*3=84",
"84-5=79"
] | Current State: 79:[28, 59, 56, 5], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [28, 5, 3]
Generated Node #2: [28, 5, 3] from Operation: 59-56=3
Current State: 79:[28, 5, 3], Operations: ['59-56=3']
Exploring Operation: 28*3=84, Resulting Numbers: [5, 84]
Generated Node #3: [5, 84] from Operation: 28*3=84
Current State: 79:[5, 84], Operations: ['59-56=3', '28*3=84']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[28, 59, 56, 5], Operations: []
Exploring Operation: 56+5=61, Resulting Numbers: [28, 59, 61]
Generated Node #0,0: 79:[28, 59, 61] Operation: 56+5=61
Exploring Operation: 59+5=64, Resulting Numbers: [28, 56, 64]
Generated Node #0,1: 79:[28, 56, 64] Operation: 59+5=64
Exploring Operation: 28+5=33, Resulting Numbers: [59, 56, 33]
Generated Node #0,2: 79:[59, 56, 33] Operation: 28+5=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[28, 59, 61], Operations: ['56+5=61']
Exploring Operation: 28+59=87, Resulting Numbers: [61, 87]
Generated Node #0,0,0: 79:[61, 87] Operation: 28+59=87
Exploring Operation: 28+61=89, Resulting Numbers: [59, 89]
Generated Node #0,0,1: 79:[59, 89] Operation: 28+61=89
Exploring Operation: 59-28=31, Resulting Numbers: [61, 31]
Generated Node #0,0,2: 79:[61, 31] Operation: 59-28=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[61, 87], Operations: ['56+5=61', '28+59=87']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,79 unequal: No Solution
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[59, 89], Operations: ['56+5=61', '28+61=89']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,79 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[61, 31], Operations: ['56+5=61', '59-28=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,79 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[28, 56, 64], Operations: ['59+5=64']
Exploring Operation: 56-28=28, Resulting Numbers: [64, 28]
Generated Node #0,1,0: 79:[64, 28] Operation: 56-28=28
Exploring Operation: 28+64=92, Resulting Numbers: [56, 92]
Generated Node #0,1,1: 79:[56, 92] Operation: 28+64=92
Exploring Operation: 28+56=84, Resulting Numbers: [64, 84]
Generated Node #0,1,2: 79:[64, 84] Operation: 28+56=84
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[64, 84], Operations: ['59+5=64', '28+56=84']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,79 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[56, 92], Operations: ['59+5=64', '28+64=92']
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,79 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[64, 28], Operations: ['59+5=64', '56-28=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[59, 56, 33], Operations: ['28+5=33']
Exploring Operation: 56+33=89, Resulting Numbers: [59, 89]
Generated Node #0,2,0: 79:[59, 89] Operation: 56+33=89
Exploring Operation: 59-33=26, Resulting Numbers: [56, 26]
Generated Node #0,2,1: 79:[56, 26] Operation: 59-33=26
Exploring Operation: 59+33=92, Resulting Numbers: [56, 92]
Generated Node #0,2,2: 79:[56, 92] Operation: 59+33=92
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[59, 89], Operations: ['28+5=33', '56+33=89']
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 59*89=5251, Resulting Numbers: [5251]
5251,79 unequal: No Solution
Exploring Operation: 59+89=148, Resulting Numbers: [148]
148,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:[56, 92], Operations: ['28+5=33', '59+33=92']
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,79 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[56, 26], Operations: ['28+5=33', '59-33=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,79 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,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 |
[
2,
40,
37,
33
] | 76 | [
"2*40=80",
"37-33=4",
"80-4=76"
] | Current State: 76:[2, 40, 37, 33], Operations: []
Exploring Operation: 2*40=80, Resulting Numbers: [37, 33, 80]
Generated Node #2: [37, 33, 80] from Operation: 2*40=80
Current State: 76:[37, 33, 80], Operations: ['2*40=80']
Exploring Operation: 37-33=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 37-33=4
Current State: 76:[80, 4], Operations: ['2*40=80', '37-33=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 40, 37, 33], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [2, 37, 7]
Generated Node #0,0: 76:[2, 37, 7] Operation: 40-33=7
Exploring Operation: 37-33=4, Resulting Numbers: [2, 40, 4]
Generated Node #0,1: 76:[2, 40, 4] Operation: 37-33=4
Exploring Operation: 40+33=73, Resulting Numbers: [2, 37, 73]
Generated Node #0,2: 76:[2, 37, 73] Operation: 40+33=73
Moving to Node #0,1
Current State: 76:[2, 40, 4], Operations: ['37-33=4']
Exploring Operation: 40/2=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 76:[4, 20] Operation: 40/2=20
Exploring Operation: 4-2=2, Resulting Numbers: [40, 2]
Generated Node #0,1,1: 76:[40, 2] Operation: 4-2=2
Exploring Operation: 40-2=38, Resulting Numbers: [4, 38]
Generated Node #0,1,2: 76:[4, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[4, 38], Operations: ['37-33=4', '40-2=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,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,1,0
Current State: 76:[4, 20], Operations: ['37-33=4', '40/2=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,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,1,1
Current State: 76:[40, 2], Operations: ['37-33=4', '4-2=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,76 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: 76:[2, 37, 7], Operations: ['40-33=7']
Exploring Operation: 7-2=5, Resulting Numbers: [37, 5]
Generated Node #0,0,0: 76:[37, 5] Operation: 7-2=5
Exploring Operation: 2+37=39, Resulting Numbers: [7, 39]
Generated Node #0,0,1: 76:[7, 39] Operation: 2+37=39
Exploring Operation: 2*37=74, Resulting Numbers: [7, 74]
Generated Node #0,0,2: 76:[7, 74] Operation: 2*37=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[37, 5], Operations: ['40-33=7', '7-2=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,76 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,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,1
Current State: 76:[7, 39], Operations: ['40-33=7', '2+37=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,76 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,76 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,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:[7, 74], Operations: ['40-33=7', '2*37=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,76 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,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:[2, 37, 73], Operations: ['40+33=73']
Exploring Operation: 2+37=39, Resulting Numbers: [73, 39]
Generated Node #0,2,0: 76:[73, 39] Operation: 2+37=39
Exploring Operation: 2+73=75, Resulting Numbers: [37, 75]
Generated Node #0,2,1: 76:[37, 75] Operation: 2+73=75
Exploring Operation: 73-37=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 76:[2, 36] Operation: 73-37=36
Moving to Node #0,2,1
Current State: 76:[37, 75], Operations: ['40+33=73', '2+73=75']
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,76 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[2, 36], Operations: ['40+33=73', '73-37=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[73, 39], Operations: ['40+33=73', '2+37=39']
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,76 unequal: No Solution
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,76 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
8,
24,
24
] | 90 | [
"22*24=528",
"528/8=66",
"24+66=90"
] | Current State: 90:[22, 8, 24, 24], Operations: []
Exploring Operation: 22*24=528, Resulting Numbers: [8, 528]
Generated Node #2: [8, 528] from Operation: 22*24=528
Current State: 90:[8, 528], Operations: ['22*24=528']
Exploring Operation: 528/8=66, Resulting Numbers: [66]
66,90 equal: Goal Reached
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[22, 8, 24, 24], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [22, 8, 1]
Generated Node #0,0: 90:[22, 8, 1] Operation: 24/24=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[22, 8, 1], Operations: ['24/24=1']
Exploring Operation: 22+8=30, Resulting Numbers: [1, 30]
Generated Node #0,0,0: 90:[1, 30] Operation: 22+8=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[1, 30], Operations: ['24/24=1', '22+8=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
52,
8,
89
] | 94 | [
"92-52=40",
"40/8=5",
"89+5=94"
] | Current State: 94:[92, 52, 8, 89], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [8, 89, 40]
Generated Node #2: [8, 89, 40] from Operation: 92-52=40
Current State: 94:[8, 89, 40], Operations: ['92-52=40']
Exploring Operation: 40/8=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 40/8=5
Current State: 94:[89, 5], Operations: ['92-52=40', '40/8=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[92, 52, 8, 89], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [92, 89, 44]
Generated Node #0,0: 94:[92, 89, 44] Operation: 52-8=44
Exploring Operation: 92-89=3, Resulting Numbers: [52, 8, 3]
Generated Node #0,1: 94:[52, 8, 3] Operation: 92-89=3
Exploring Operation: 8+89=97, Resulting Numbers: [92, 52, 97]
Generated Node #0,2: 94:[92, 52, 97] Operation: 8+89=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[92, 89, 44], Operations: ['52-8=44']
Exploring Operation: 92-44=48, Resulting Numbers: [89, 48]
Generated Node #0,0,0: 94:[89, 48] Operation: 92-44=48
Exploring Operation: 92-89=3, Resulting Numbers: [44, 3]
Generated Node #0,0,1: 94:[44, 3] Operation: 92-89=3
Exploring Operation: 89-44=45, Resulting Numbers: [92, 45]
Generated Node #0,0,2: 94:[92, 45] Operation: 89-44=45
Moving to Node #0,0,1
Current State: 94:[44, 3], Operations: ['52-8=44', '92-89=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[92, 45], Operations: ['52-8=44', '89-44=45']
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[89, 48], Operations: ['52-8=44', '92-44=48']
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,94 unequal: No Solution
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[92, 52, 97], Operations: ['8+89=97']
Exploring Operation: 97-92=5, Resulting Numbers: [52, 5]
Generated Node #0,2,0: 94:[52, 5] Operation: 97-92=5
Exploring Operation: 97-52=45, Resulting Numbers: [92, 45]
Generated Node #0,2,1: 94:[92, 45] Operation: 97-52=45
Exploring Operation: 92-52=40, Resulting Numbers: [97, 40]
Generated Node #0,2,2: 94:[97, 40] Operation: 92-52=40
Moving to Node #0,2,1
Current State: 94:[92, 45], Operations: ['8+89=97', '97-52=45']
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[52, 5], Operations: ['8+89=97', '97-92=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[97, 40], Operations: ['8+89=97', '92-52=40']
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,94 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,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
Current State: 94:[52, 8, 3], Operations: ['92-89=3']
Exploring Operation: 52-8=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 94:[3, 44] Operation: 52-8=44
Exploring Operation: 52-3=49, Resulting Numbers: [8, 49]
Generated Node #0,1,1: 94:[8, 49] Operation: 52-3=49
Exploring Operation: 8-3=5, Resulting Numbers: [52, 5]
Generated Node #0,1,2: 94:[52, 5] Operation: 8-3=5
Moving to Node #0,1,0
Current State: 94:[3, 44], Operations: ['92-89=3', '52-8=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,94 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[8, 49], Operations: ['92-89=3', '52-3=49']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[52, 5], Operations: ['92-89=3', '8-3=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,94 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 |
[
60,
31,
51,
82
] | 85 | [
"51-31=20",
"60/20=3",
"82+3=85"
] | Current State: 85:[60, 31, 51, 82], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [60, 82, 20]
Generated Node #2: [60, 82, 20] from Operation: 51-31=20
Current State: 85:[60, 82, 20], Operations: ['51-31=20']
Exploring Operation: 60/20=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 60/20=3
Current State: 85:[82, 3], Operations: ['51-31=20', '60/20=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[60, 31, 51, 82], Operations: []
Exploring Operation: 31+51=82, Resulting Numbers: [60, 82, 82]
Generated Node #0,0: 85:[60, 82, 82] Operation: 31+51=82
Exploring Operation: 60+51=111, Resulting Numbers: [31, 82, 111]
Generated Node #0,1: 85:[31, 82, 111] Operation: 60+51=111
Exploring Operation: 60-51=9, Resulting Numbers: [31, 82, 9]
Generated Node #0,2: 85:[31, 82, 9] Operation: 60-51=9
Exploring Operation: 51-31=20, Resulting Numbers: [60, 82, 20]
Generated Node #0,3: 85:[60, 82, 20] Operation: 51-31=20
Exploring Operation: 60+31=91, Resulting Numbers: [51, 82, 91]
Generated Node #0,4: 85:[51, 82, 91] Operation: 60+31=91
Moving to Node #0,2
Current State: 85:[31, 82, 9], Operations: ['60-51=9']
Exploring Operation: 82+9=91, Resulting Numbers: [31, 91]
Generated Node #0,2,0: 85:[31, 91] Operation: 82+9=91
Exploring Operation: 31+82=113, Resulting Numbers: [9, 113]
Generated Node #0,2,1: 85:[9, 113] Operation: 31+82=113
Exploring Operation: 31-9=22, Resulting Numbers: [82, 22]
Generated Node #0,2,2: 85:[82, 22] Operation: 31-9=22
Exploring Operation: 31+9=40, Resulting Numbers: [82, 40]
Generated Node #0,2,3: 85:[82, 40] Operation: 31+9=40
Exploring Operation: 82-9=73, Resulting Numbers: [31, 73]
Generated Node #0,2,4: 85:[31, 73] Operation: 82-9=73
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[82, 22], Operations: ['60-51=9', '31-9=22']
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,85 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[31, 91], Operations: ['60-51=9', '82+9=91']
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,85 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[82, 40], Operations: ['60-51=9', '31+9=40']
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,85 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 85:[31, 73], Operations: ['60-51=9', '82-9=73']
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,85 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[9, 113], Operations: ['60-51=9', '31+82=113']
Exploring Operation: 113-9=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 9+113=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 9*113=1017, Resulting Numbers: [1017]
1017,85 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: 85:[60, 82, 20], Operations: ['51-31=20']
Exploring Operation: 60+20=80, Resulting Numbers: [82, 80]
Generated Node #0,3,0: 85:[82, 80] Operation: 60+20=80
Exploring Operation: 82+20=102, Resulting Numbers: [60, 102]
Generated Node #0,3,1: 85:[60, 102] Operation: 82+20=102
Exploring Operation: 82-60=22, Resulting Numbers: [20, 22]
Generated Node #0,3,2: 85:[20, 22] Operation: 82-60=22
Exploring Operation: 60-20=40, Resulting Numbers: [82, 40]
Generated Node #0,3,3: 85:[82, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [82, 3]
Generated Node #0,3,4: 85:[82, 3] Operation: 60/20=3
Moving to Node #0,0
Current State: 85:[60, 82, 82], Operations: ['31+51=82']
Exploring Operation: 82-60=22, Resulting Numbers: [82, 22]
Generated Node #0,0,0: 85:[82, 22] Operation: 82-60=22
Exploring Operation: 82/82=1, Resulting Numbers: [60, 1]
Generated Node #0,0,1: 85:[60, 1] Operation: 82/82=1
Exploring Operation: 82-82=0, Resulting Numbers: [60, 0]
Generated Node #0,0,2: 85:[60, 0] Operation: 82-82=0
Exploring Operation: 60+82=142, Resulting Numbers: [82, 142]
Generated Node #0,0,3: 85:[82, 142] Operation: 60+82=142
Exploring Operation: 82-60=22, Resulting Numbers: [82, 22]
Generated Node #0,0,4: 85:[82, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 85:[31, 82, 111], Operations: ['60+51=111']
Exploring Operation: 111-31=80, Resulting Numbers: [82, 80]
Generated Node #0,1,0: 85:[82, 80] Operation: 111-31=80
Exploring Operation: 31+82=113, Resulting Numbers: [111, 113]
Generated Node #0,1,1: 85:[111, 113] Operation: 31+82=113
Exploring Operation: 111-82=29, Resulting Numbers: [31, 29]
Generated Node #0,1,2: 85:[31, 29] Operation: 111-82=29
Exploring Operation: 31+111=142, Resulting Numbers: [82, 142]
Generated Node #0,1,3: 85:[82, 142] Operation: 31+111=142
Exploring Operation: 82-31=51, Resulting Numbers: [111, 51]
Generated Node #0,1,4: 85:[111, 51] Operation: 82-31=51
Moving to Node #0,4
Current State: 85:[51, 82, 91], Operations: ['60+31=91']
Exploring Operation: 51+82=133, Resulting Numbers: [91, 133]
Generated Node #0,4,0: 85:[91, 133] Operation: 51+82=133
Exploring Operation: 91-82=9, Resulting Numbers: [51, 9]
Generated Node #0,4,1: 85:[51, 9] Operation: 91-82=9
Exploring Operation: 91-51=40, Resulting Numbers: [82, 40]
Generated Node #0,4,2: 85:[82, 40] Operation: 91-51=40
Exploring Operation: 82-51=31, Resulting Numbers: [91, 31]
Generated Node #0,4,3: 85:[91, 31] Operation: 82-51=31
Exploring Operation: 51+91=142, Resulting Numbers: [82, 142]
Generated Node #0,4,4: 85:[82, 142] Operation: 51+91=142
Moving to Node #0,3,4
Current State: 85:[82, 3], Operations: ['51-31=20', '60/20=3']
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,85 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[60, 31, 51, 82], Operations: []
Exploring Operation: 51-31=20, Resulting Numbers: [60, 82, 20]
Generated Node #0,3: 85:[60, 82, 20] Operation: 51-31=20
Moving to Node #0,3
Current State: 85:[60, 82, 20], Operations: ['51-31=20']
Exploring Operation: 60/20=3, Resulting Numbers: [82, 3]
Generated Node #0,3,4: 85:[82, 3] Operation: 60/20=3
Moving to Node #0,3,4
Current State: 85:[82, 3], Operations: ['51-31=20', '60/20=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
47,
96,
36,
62
] | 75 | [
"96-47=49",
"62-36=26",
"49+26=75"
] | Current State: 75:[47, 96, 36, 62], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [36, 62, 49]
Generated Node #2: [36, 62, 49] from Operation: 96-47=49
Current State: 75:[36, 62, 49], Operations: ['96-47=49']
Exploring Operation: 62-36=26, Resulting Numbers: [49, 26]
Generated Node #3: [49, 26] from Operation: 62-36=26
Current State: 75:[49, 26], Operations: ['96-47=49', '62-36=26']
Exploring Operation: 49+26=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[47, 96, 36, 62], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [96, 36, 15]
Generated Node #0,0: 75:[96, 36, 15] Operation: 62-47=15
Exploring Operation: 47-36=11, Resulting Numbers: [96, 62, 11]
Generated Node #0,1: 75:[96, 62, 11] Operation: 47-36=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[96, 36, 15], Operations: ['62-47=15']
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #0,0,0: 75:[15, 60] Operation: 96-36=60
Exploring Operation: 96-15=81, Resulting Numbers: [36, 81]
Generated Node #0,0,1: 75:[36, 81] Operation: 96-15=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[15, 60], Operations: ['62-47=15', '96-36=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[47, 96, 36, 62], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [96, 36, 15]
Generated Node #0,0: 75:[96, 36, 15] Operation: 62-47=15
Moving to Node #0,0
Current State: 75:[96, 36, 15], Operations: ['62-47=15']
Exploring Operation: 96-36=60, Resulting Numbers: [15, 60]
Generated Node #0,0,0: 75:[15, 60] Operation: 96-36=60
Moving to Node #0,0,0
Current State: 75:[15, 60], Operations: ['62-47=15', '96-36=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
86,
7,
69,
64
] | 74 | [
"86-7=79",
"69-64=5",
"79-5=74"
] | Current State: 74:[86, 7, 69, 64], Operations: []
Exploring Operation: 86-7=79, Resulting Numbers: [69, 64, 79]
Generated Node #2: [69, 64, 79] from Operation: 86-7=79
Current State: 74:[69, 64, 79], Operations: ['86-7=79']
Exploring Operation: 69-64=5, Resulting Numbers: [79, 5]
Generated Node #3: [79, 5] from Operation: 69-64=5
Current State: 74:[79, 5], Operations: ['86-7=79', '69-64=5']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[86, 7, 69, 64], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [86, 7, 5]
Generated Node #0,0: 74:[86, 7, 5] Operation: 69-64=5
Exploring Operation: 7+64=71, Resulting Numbers: [86, 69, 71]
Generated Node #0,1: 74:[86, 69, 71] Operation: 7+64=71
Exploring Operation: 86-7=79, Resulting Numbers: [69, 64, 79]
Generated Node #0,2: 74:[69, 64, 79] Operation: 86-7=79
Moving to Node #0,0
Current State: 74:[86, 7, 5], Operations: ['69-64=5']
Exploring Operation: 86-5=81, Resulting Numbers: [7, 81]
Generated Node #0,0,0: 74:[7, 81] Operation: 86-5=81
Exploring Operation: 7-5=2, Resulting Numbers: [86, 2]
Generated Node #0,0,1: 74:[86, 2] Operation: 7-5=2
Exploring Operation: 86-7=79, Resulting Numbers: [5, 79]
Generated Node #0,0,2: 74:[5, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[5, 79], Operations: ['69-64=5', '86-7=79']
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,74 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[86, 7, 69, 64], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [86, 7, 5]
Generated Node #0,0: 74:[86, 7, 5] Operation: 69-64=5
Moving to Node #0,0
Current State: 74:[86, 7, 5], Operations: ['69-64=5']
Exploring Operation: 86-7=79, Resulting Numbers: [5, 79]
Generated Node #0,0,2: 74:[5, 79] Operation: 86-7=79
Moving to Node #0,0,2
Current State: 74:[5, 79], Operations: ['69-64=5', '86-7=79']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
27,
14,
84,
93
] | 72 | [
"93-27=66",
"84/14=6",
"66+6=72"
] | Current State: 72:[27, 14, 84, 93], Operations: []
Exploring Operation: 93-27=66, Resulting Numbers: [14, 84, 66]
Generated Node #2: [14, 84, 66] from Operation: 93-27=66
Current State: 72:[14, 84, 66], Operations: ['93-27=66']
Exploring Operation: 84/14=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 84/14=6
Current State: 72:[66, 6], Operations: ['93-27=66', '84/14=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[27, 14, 84, 93], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [27, 84, 79]
Generated Node #0,0: 72:[27, 84, 79] Operation: 93-14=79
Exploring Operation: 93-27=66, Resulting Numbers: [14, 84, 66]
Generated Node #0,1: 72:[14, 84, 66] Operation: 93-27=66
Exploring Operation: 84/14=6, Resulting Numbers: [27, 93, 6]
Generated Node #0,2: 72:[27, 93, 6] Operation: 84/14=6
Exploring Operation: 93-84=9, Resulting Numbers: [27, 14, 9]
Generated Node #0,3: 72:[27, 14, 9] Operation: 93-84=9
Exploring Operation: 84-14=70, Resulting Numbers: [27, 93, 70]
Generated Node #0,4: 72:[27, 93, 70] Operation: 84-14=70
Moving to Node #0,3
Current State: 72:[27, 14, 9], Operations: ['93-84=9']
Exploring Operation: 27+9=36, Resulting Numbers: [14, 36]
Generated Node #0,3,0: 72:[14, 36] Operation: 27+9=36
Exploring Operation: 14+9=23, Resulting Numbers: [27, 23]
Generated Node #0,3,1: 72:[27, 23] Operation: 14+9=23
Exploring Operation: 27-14=13, Resulting Numbers: [9, 13]
Generated Node #0,3,2: 72:[9, 13] Operation: 27-14=13
Exploring Operation: 27/9=3, Resulting Numbers: [14, 3]
Generated Node #0,3,3: 72:[14, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [14, 18]
Generated Node #0,3,4: 72:[14, 18] Operation: 27-9=18
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[9, 13], Operations: ['93-84=9', '27-14=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,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,3,0
Current State: 72:[14, 36], Operations: ['93-84=9', '27+9=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,72 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,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,3,3
Current State: 72:[14, 3], Operations: ['93-84=9', '27/9=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,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,3,4
Current State: 72:[14, 18], Operations: ['93-84=9', '27-9=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,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,3,1
Current State: 72:[27, 23], Operations: ['93-84=9', '14+9=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,72 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,72 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: 72:[14, 84, 66], Operations: ['93-27=66']
Exploring Operation: 66-14=52, Resulting Numbers: [84, 52]
Generated Node #0,1,0: 72:[84, 52] Operation: 66-14=52
Exploring Operation: 84-14=70, Resulting Numbers: [66, 70]
Generated Node #0,1,1: 72:[66, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [66, 6]
Generated Node #0,1,2: 72:[66, 6] Operation: 84/14=6
Exploring Operation: 14+66=80, Resulting Numbers: [84, 80]
Generated Node #0,1,3: 72:[84, 80] Operation: 14+66=80
Exploring Operation: 84-66=18, Resulting Numbers: [14, 18]
Generated Node #0,1,4: 72:[14, 18] Operation: 84-66=18
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 72:[14, 18], Operations: ['93-27=66', '84-66=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,72 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,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:[66, 6], Operations: ['93-27=66', '84/14=6']
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 66*6=396, Resulting Numbers: [396]
396,72 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[27, 14, 84, 93], Operations: []
Exploring Operation: 93-27=66, Resulting Numbers: [14, 84, 66]
Generated Node #0,1: 72:[14, 84, 66] Operation: 93-27=66
Moving to Node #0,1
Current State: 72:[14, 84, 66], Operations: ['93-27=66']
Exploring Operation: 84/14=6, Resulting Numbers: [66, 6]
Generated Node #0,1,2: 72:[66, 6] Operation: 84/14=6
Moving to Node #0,1,2
Current State: 72:[66, 6], Operations: ['93-27=66', '84/14=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
19,
44,
5,
96
] | 11 | [
"19+5=24",
"44*24=1056",
"1056/96=11"
] | Current State: 11:[19, 44, 5, 96], Operations: []
Exploring Operation: 19+5=24, Resulting Numbers: [44, 96, 24]
Generated Node #2: [44, 96, 24] from Operation: 19+5=24
Current State: 11:[44, 96, 24], Operations: ['19+5=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [96, 1056]
Generated Node #3: [96, 1056] from Operation: 44*24=1056
Current State: 11:[96, 1056], Operations: ['19+5=24', '44*24=1056']
Exploring Operation: 1056/96=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[19, 44, 5, 96], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [44, 5, 77]
Generated Node #0,0: 11:[44, 5, 77] Operation: 96-19=77
Exploring Operation: 44-19=25, Resulting Numbers: [5, 96, 25]
Generated Node #0,1: 11:[5, 96, 25] Operation: 44-19=25
Exploring Operation: 96-44=52, Resulting Numbers: [19, 5, 52]
Generated Node #0,2: 11:[19, 5, 52] Operation: 96-44=52
Moving to Node #0,2
Current State: 11:[19, 5, 52], Operations: ['96-44=52']
Exploring Operation: 52-5=47, Resulting Numbers: [19, 47]
Generated Node #0,2,0: 11:[19, 47] Operation: 52-5=47
Exploring Operation: 52-19=33, Resulting Numbers: [5, 33]
Generated Node #0,2,1: 11:[5, 33] Operation: 52-19=33
Exploring Operation: 19-5=14, Resulting Numbers: [52, 14]
Generated Node #0,2,2: 11:[52, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[5, 33], Operations: ['96-44=52', '52-19=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,11 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[19, 47], Operations: ['96-44=52', '52-5=47']
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,11 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[52, 14], Operations: ['96-44=52', '19-5=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,11 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,11 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: 11:[44, 5, 77], Operations: ['96-19=77']
Exploring Operation: 77-5=72, Resulting Numbers: [44, 72]
Generated Node #0,0,0: 11:[44, 72] Operation: 77-5=72
Exploring Operation: 44-5=39, Resulting Numbers: [77, 39]
Generated Node #0,0,1: 11:[77, 39] Operation: 44-5=39
Exploring Operation: 77-44=33, Resulting Numbers: [5, 33]
Generated Node #0,0,2: 11:[5, 33] Operation: 77-44=33
Moving to Node #0,1
Current State: 11:[5, 96, 25], Operations: ['44-19=25']
Exploring Operation: 96-25=71, Resulting Numbers: [5, 71]
Generated Node #0,1,0: 11:[5, 71] Operation: 96-25=71
Exploring Operation: 25/5=5, Resulting Numbers: [96, 5]
Generated Node #0,1,1: 11:[96, 5] Operation: 25/5=5
Exploring Operation: 96-5=91, Resulting Numbers: [25, 91]
Generated Node #0,1,2: 11:[25, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[5, 71], Operations: ['44-19=25', '96-25=71']
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,11 unequal: No Solution
Exploring Operation: 5*71=355, Resulting Numbers: [355]
355,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[96, 5], Operations: ['44-19=25', '25/5=5']
Exploring Operation: 96*5=480, Resulting Numbers: [480]
480,11 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 96+5=101, Resulting Numbers: [101]
101,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[25, 91], Operations: ['44-19=25', '96-5=91']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 25*91=2275, Resulting Numbers: [2275]
2275,11 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: 11:[5, 33], Operations: ['96-19=77', '77-44=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[44, 72], Operations: ['96-19=77', '77-5=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[77, 39], Operations: ['96-19=77', '44-5=39']
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,11 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
55,
47,
70
] | 78 | [
"94-55=39",
"47+70=117",
"117-39=78"
] | Current State: 78:[94, 55, 47, 70], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [47, 70, 39]
Generated Node #2: [47, 70, 39] from Operation: 94-55=39
Current State: 78:[47, 70, 39], Operations: ['94-55=39']
Exploring Operation: 47+70=117, Resulting Numbers: [39, 117]
Generated Node #3: [39, 117] from Operation: 47+70=117
Current State: 78:[39, 117], Operations: ['94-55=39', '47+70=117']
Exploring Operation: 117-39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[94, 55, 47, 70], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [47, 70, 39]
Generated Node #0,0: 78:[47, 70, 39] Operation: 94-55=39
Moving to Node #0,0
Current State: 78:[47, 70, 39], Operations: ['94-55=39']
Exploring Operation: 70-47=23, Resulting Numbers: [39, 23]
Generated Node #0,0,0: 78:[39, 23] Operation: 70-47=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[39, 23], Operations: ['94-55=39', '70-47=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
41,
33,
52
] | 82 | [
"21+33=54",
"54-52=2",
"41*2=82"
] | Current State: 82:[21, 41, 33, 52], Operations: []
Exploring Operation: 21+33=54, Resulting Numbers: [41, 52, 54]
Generated Node #2: [41, 52, 54] from Operation: 21+33=54
Current State: 82:[41, 52, 54], Operations: ['21+33=54']
Exploring Operation: 54-52=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 54-52=2
Current State: 82:[41, 2], Operations: ['21+33=54', '54-52=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[21, 41, 33, 52], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [41, 33, 31]
Generated Node #0,0: 82:[41, 33, 31] Operation: 52-21=31
Exploring Operation: 21+52=73, Resulting Numbers: [41, 33, 73]
Generated Node #0,1: 82:[41, 33, 73] Operation: 21+52=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[41, 33, 73], Operations: ['21+52=73']
Exploring Operation: 41-33=8, Resulting Numbers: [73, 8]
Generated Node #0,1,0: 82:[73, 8] Operation: 41-33=8
Exploring Operation: 73-33=40, Resulting Numbers: [41, 40]
Generated Node #0,1,1: 82:[41, 40] Operation: 73-33=40
Moving to Node #0,1,1
Current State: 82:[41, 40], Operations: ['21+52=73', '73-33=40']
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[73, 8], Operations: ['21+52=73', '41-33=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,82 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,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,0
Current State: 82:[41, 33, 31], Operations: ['52-21=31']
Exploring Operation: 41-33=8, Resulting Numbers: [31, 8]
Generated Node #0,0,0: 82:[31, 8] Operation: 41-33=8
Exploring Operation: 33-31=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 82:[41, 2] Operation: 33-31=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[41, 2], Operations: ['52-21=31', '33-31=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[21, 41, 33, 52], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [41, 33, 31]
Generated Node #0,0: 82:[41, 33, 31] Operation: 52-21=31
Moving to Node #0,0
Current State: 82:[41, 33, 31], Operations: ['52-21=31']
Exploring Operation: 33-31=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 82:[41, 2] Operation: 33-31=2
Moving to Node #0,0,1
Current State: 82:[41, 2], Operations: ['52-21=31', '33-31=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
29,
9,
28,
97
] | 89 | [
"29-9=20",
"97-28=69",
"20+69=89"
] | Current State: 89:[29, 9, 28, 97], Operations: []
Exploring Operation: 29-9=20, Resulting Numbers: [28, 97, 20]
Generated Node #2: [28, 97, 20] from Operation: 29-9=20
Current State: 89:[28, 97, 20], Operations: ['29-9=20']
Exploring Operation: 97-28=69, Resulting Numbers: [20, 69]
Generated Node #3: [20, 69] from Operation: 97-28=69
Current State: 89:[20, 69], Operations: ['29-9=20', '97-28=69']
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[29, 9, 28, 97], Operations: []
Exploring Operation: 29+9=38, Resulting Numbers: [28, 97, 38]
Generated Node #0,0: 89:[28, 97, 38] Operation: 29+9=38
Exploring Operation: 29-9=20, Resulting Numbers: [28, 97, 20]
Generated Node #0,1: 89:[28, 97, 20] Operation: 29-9=20
Exploring Operation: 29+28=57, Resulting Numbers: [9, 97, 57]
Generated Node #0,2: 89:[9, 97, 57] Operation: 29+28=57
Exploring Operation: 9+28=37, Resulting Numbers: [29, 97, 37]
Generated Node #0,3: 89:[29, 97, 37] Operation: 9+28=37
Exploring Operation: 97-9=88, Resulting Numbers: [29, 28, 88]
Generated Node #0,4: 89:[29, 28, 88] Operation: 97-9=88
Moving to Node #0,0
Current State: 89:[28, 97, 38], Operations: ['29+9=38']
Exploring Operation: 97-38=59, Resulting Numbers: [28, 59]
Generated Node #0,0,0: 89:[28, 59] Operation: 97-38=59
Exploring Operation: 28+97=125, Resulting Numbers: [38, 125]
Generated Node #0,0,1: 89:[38, 125] Operation: 28+97=125
Exploring Operation: 28+38=66, Resulting Numbers: [97, 66]
Generated Node #0,0,2: 89:[97, 66] Operation: 28+38=66
Exploring Operation: 38-28=10, Resulting Numbers: [97, 10]
Generated Node #0,0,3: 89:[97, 10] Operation: 38-28=10
Exploring Operation: 97-28=69, Resulting Numbers: [38, 69]
Generated Node #0,0,4: 89:[38, 69] Operation: 97-28=69
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[97, 66], Operations: ['29+9=38', '28+38=66']
Exploring Operation: 97+66=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 97*66=6402, Resulting Numbers: [6402]
6402,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 89:[38, 69], Operations: ['29+9=38', '97-28=69']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,89 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[38, 125], Operations: ['29+9=38', '28+97=125']
Exploring Operation: 38*125=4750, Resulting Numbers: [4750]
4750,89 unequal: No Solution
Exploring Operation: 125-38=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 38+125=163, Resulting Numbers: [163]
163,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[97, 10], Operations: ['29+9=38', '38-28=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,89 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[28, 59], Operations: ['29+9=38', '97-38=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 28*59=1652, Resulting Numbers: [1652]
1652,89 unequal: No Solution
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[29, 97, 37], Operations: ['9+28=37']
Exploring Operation: 97-37=60, Resulting Numbers: [29, 60]
Generated Node #0,3,0: 89:[29, 60] Operation: 97-37=60
Exploring Operation: 37-29=8, Resulting Numbers: [97, 8]
Generated Node #0,3,1: 89:[97, 8] Operation: 37-29=8
Exploring Operation: 29+37=66, Resulting Numbers: [97, 66]
Generated Node #0,3,2: 89:[97, 66] Operation: 29+37=66
Exploring Operation: 29+97=126, Resulting Numbers: [37, 126]
Generated Node #0,3,3: 89:[37, 126] Operation: 29+97=126
Exploring Operation: 97-29=68, Resulting Numbers: [37, 68]
Generated Node #0,3,4: 89:[37, 68] Operation: 97-29=68
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[97, 66], Operations: ['9+28=37', '29+37=66']
Exploring Operation: 97*66=6402, Resulting Numbers: [6402]
6402,89 unequal: No Solution
Exploring Operation: 97+66=163, Resulting Numbers: [163]
163,89 unequal: No Solution
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,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,3,4
Current State: 89:[37, 68], Operations: ['9+28=37', '97-29=68']
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,89 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,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,3,0
Current State: 89:[29, 60], Operations: ['9+28=37', '97-37=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[29, 9, 28, 97], Operations: []
Exploring Operation: 9+28=37, Resulting Numbers: [29, 97, 37]
Generated Node #0,3: 89:[29, 97, 37] Operation: 9+28=37
Moving to Node #0,3
Current State: 89:[29, 97, 37], Operations: ['9+28=37']
Exploring Operation: 97-37=60, Resulting Numbers: [29, 60]
Generated Node #0,3,0: 89:[29, 60] Operation: 97-37=60
Moving to Node #0,3,0
Current State: 89:[29, 60], Operations: ['9+28=37', '97-37=60']
Exploring Operation: 29+60=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
50,
2,
54,
54
] | 31 | [
"54-50=4",
"54/2=27",
"4+27=31"
] | Current State: 31:[50, 2, 54, 54], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [2, 4]
Generated Node #2: [2, 4] from Operation: 54-50=4
Current State: 31:[2, 4], Operations: ['54-50=4']
Exploring Operation: 54/2=27, Resulting Numbers: [4, 27]
Generated Node #3: [4, 27] from Operation: 54/2=27
Current State: 31:[4, 27], Operations: ['54-50=4', '54/2=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[50, 2, 54, 54], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [54, 54, 25]
Generated Node #0,0: 31:[54, 54, 25] Operation: 50/2=25
Exploring Operation: 54/2=27, Resulting Numbers: [50, 54, 27]
Generated Node #0,1: 31:[50, 54, 27] Operation: 54/2=27
Exploring Operation: 54/2=27, Resulting Numbers: [50, 54, 27]
Generated Node #0,2: 31:[50, 54, 27] Operation: 54/2=27
Exploring Operation: 50-2=48, Resulting Numbers: [54, 54, 48]
Generated Node #0,3: 31:[54, 54, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[50, 54, 27], Operations: ['54/2=27']
Exploring Operation: 54/27=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 31:[50, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [50, 27]
Generated Node #0,1,1: 31:[50, 27] Operation: 54-27=27
Exploring Operation: 54-50=4, Resulting Numbers: [27, 4]
Generated Node #0,1,2: 31:[27, 4] Operation: 54-50=4
Exploring Operation: 50-27=23, Resulting Numbers: [54, 23]
Generated Node #0,1,3: 31:[54, 23] Operation: 50-27=23
Moving to Node #0,1,1
Current State: 31:[50, 27], Operations: ['54/2=27', '54-27=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,31 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[54, 23], Operations: ['54/2=27', '50-27=23']
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[50, 2, 54, 54], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [50, 54, 27]
Generated Node #0,1: 31:[50, 54, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 31:[50, 54, 27], Operations: ['54/2=27']
Exploring Operation: 50-27=23, Resulting Numbers: [54, 23]
Generated Node #0,1,3: 31:[54, 23] Operation: 50-27=23
Moving to Node #0,1,3
Current State: 31:[54, 23], Operations: ['54/2=27', '50-27=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
20,
64,
57,
7
] | 29 | [
"64-57=7",
"7*7=49",
"49-20=29"
] | Current State: 29:[20, 64, 57, 7], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [20, 7, 7]
Generated Node #2: [20, 7, 7] from Operation: 64-57=7
Current State: 29:[20, 7, 7], Operations: ['64-57=7']
Exploring Operation: 7*7=49, Resulting Numbers: [20, 49]
Generated Node #3: [20, 49] from Operation: 7*7=49
Current State: 29:[20, 49], Operations: ['64-57=7', '7*7=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[20, 64, 57, 7], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [57, 7, 44]
Generated Node #0,0: 29:[57, 7, 44] Operation: 64-20=44
Exploring Operation: 20+7=27, Resulting Numbers: [64, 57, 27]
Generated Node #0,1: 29:[64, 57, 27] Operation: 20+7=27
Exploring Operation: 57-20=37, Resulting Numbers: [64, 7, 37]
Generated Node #0,2: 29:[64, 7, 37] Operation: 57-20=37
Exploring Operation: 64-57=7, Resulting Numbers: [20, 7, 7]
Generated Node #0,3: 29:[20, 7, 7] Operation: 64-57=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[20, 7, 7], Operations: ['64-57=7']
Exploring Operation: 7+7=14, Resulting Numbers: [20, 14]
Generated Node #0,3,0: 29:[20, 14] Operation: 7+7=14
Exploring Operation: 20+7=27, Resulting Numbers: [7, 27]
Generated Node #0,3,1: 29:[7, 27] Operation: 20+7=27
Exploring Operation: 7*7=49, Resulting Numbers: [20, 49]
Generated Node #0,3,2: 29:[20, 49] Operation: 7*7=49
Exploring Operation: 20+7=27, Resulting Numbers: [7, 27]
Generated Node #0,3,3: 29:[7, 27] Operation: 20+7=27
Moving to Node #0,3,0
Current State: 29:[20, 14], Operations: ['64-57=7', '7+7=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[7, 27], Operations: ['64-57=7', '20+7=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[7, 27], Operations: ['64-57=7', '20+7=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,29 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[20, 49], Operations: ['64-57=7', '7*7=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[20, 64, 57, 7], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [20, 7, 7]
Generated Node #0,3: 29:[20, 7, 7] Operation: 64-57=7
Moving to Node #0,3
Current State: 29:[20, 7, 7], Operations: ['64-57=7']
Exploring Operation: 7*7=49, Resulting Numbers: [20, 49]
Generated Node #0,3,2: 29:[20, 49] Operation: 7*7=49
Moving to Node #0,3,2
Current State: 29:[20, 49], Operations: ['64-57=7', '7*7=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
58,
3,
73,
8
] | 10 | [
"58-3=55",
"73-8=65",
"65-55=10"
] | Current State: 10:[58, 3, 73, 8], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [73, 8, 55]
Generated Node #2: [73, 8, 55] from Operation: 58-3=55
Current State: 10:[73, 8, 55], Operations: ['58-3=55']
Exploring Operation: 73-8=65, Resulting Numbers: [55, 65]
Generated Node #3: [55, 65] from Operation: 73-8=65
Current State: 10:[55, 65], Operations: ['58-3=55', '73-8=65']
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[58, 3, 73, 8], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [73, 8, 55]
Generated Node #0,0: 10:[73, 8, 55] Operation: 58-3=55
Exploring Operation: 73-8=65, Resulting Numbers: [58, 3, 65]
Generated Node #0,1: 10:[58, 3, 65] Operation: 73-8=65
Exploring Operation: 73-58=15, Resulting Numbers: [3, 8, 15]
Generated Node #0,2: 10:[3, 8, 15] Operation: 73-58=15
Exploring Operation: 58-8=50, Resulting Numbers: [3, 73, 50]
Generated Node #0,3: 10:[3, 73, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[3, 8, 15], Operations: ['73-58=15']
Exploring Operation: 15-3=12, Resulting Numbers: [8, 12]
Generated Node #0,2,0: 10:[8, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [8, 5]
Generated Node #0,2,1: 10:[8, 5] Operation: 15/3=5
Exploring Operation: 15-8=7, Resulting Numbers: [3, 7]
Generated Node #0,2,2: 10:[3, 7] Operation: 15-8=7
Exploring Operation: 8-3=5, Resulting Numbers: [15, 5]
Generated Node #0,2,3: 10:[15, 5] Operation: 8-3=5
Moving to Node #0,2,1
Current State: 10:[8, 5], Operations: ['73-58=15', '15/3=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[3, 7], Operations: ['73-58=15', '15-8=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[58, 3, 73, 8], Operations: []
Exploring Operation: 73-58=15, Resulting Numbers: [3, 8, 15]
Generated Node #0,2: 10:[3, 8, 15] Operation: 73-58=15
Moving to Node #0,2
Current State: 10:[3, 8, 15], Operations: ['73-58=15']
Exploring Operation: 15-8=7, Resulting Numbers: [3, 7]
Generated Node #0,2,2: 10:[3, 7] Operation: 15-8=7
Moving to Node #0,2,2
Current State: 10:[3, 7], Operations: ['73-58=15', '15-8=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
13,
56,
70,
3
] | 75 | [
"70-13=57",
"57/3=19",
"56+19=75"
] | Current State: 75:[13, 56, 70, 3], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [56, 3, 57]
Generated Node #2: [56, 3, 57] from Operation: 70-13=57
Current State: 75:[56, 3, 57], Operations: ['70-13=57']
Exploring Operation: 57/3=19, Resulting Numbers: [56, 19]
Generated Node #3: [56, 19] from Operation: 57/3=19
Current State: 75:[56, 19], Operations: ['70-13=57', '57/3=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[13, 56, 70, 3], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [13, 3, 14]
Generated Node #0,0: 75:[13, 3, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[13, 3, 14], Operations: ['70-56=14']
Exploring Operation: 13+3=16, Resulting Numbers: [14, 16]
Generated Node #0,0,0: 75:[14, 16] Operation: 13+3=16
Moving to Node #0,0,0
Current State: 75:[14, 16], Operations: ['70-56=14', '13+3=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,75 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 |
[
66,
16,
71,
46
] | 67 | [
"66-16=50",
"71+46=117",
"117-50=67"
] | Current State: 67:[66, 16, 71, 46], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [71, 46, 50]
Generated Node #2: [71, 46, 50] from Operation: 66-16=50
Current State: 67:[71, 46, 50], Operations: ['66-16=50']
Exploring Operation: 71+46=117, Resulting Numbers: [50, 117]
Generated Node #3: [50, 117] from Operation: 71+46=117
Current State: 67:[50, 117], Operations: ['66-16=50', '71+46=117']
Exploring Operation: 117-50=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[66, 16, 71, 46], Operations: []
Exploring Operation: 16+46=62, Resulting Numbers: [66, 71, 62]
Generated Node #0,0: 67:[66, 71, 62] Operation: 16+46=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[66, 71, 62], Operations: ['16+46=62']
Exploring Operation: 71-62=9, Resulting Numbers: [66, 9]
Generated Node #0,0,0: 67:[66, 9] Operation: 71-62=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[66, 9], Operations: ['16+46=62', '71-62=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
63,
22,
16
] | 39 | [
"63-18=45",
"22-16=6",
"45-6=39"
] | Current State: 39:[18, 63, 22, 16], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [22, 16, 45]
Generated Node #2: [22, 16, 45] from Operation: 63-18=45
Current State: 39:[22, 16, 45], Operations: ['63-18=45']
Exploring Operation: 22-16=6, Resulting Numbers: [45, 6]
Generated Node #3: [45, 6] from Operation: 22-16=6
Current State: 39:[45, 6], Operations: ['63-18=45', '22-16=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[18, 63, 22, 16], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [18, 16, 41]
Generated Node #0,0: 39:[18, 16, 41] Operation: 63-22=41
Moving to Node #0,0
Current State: 39:[18, 16, 41], Operations: ['63-22=41']
Exploring Operation: 18-16=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 39:[41, 2] Operation: 18-16=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[41, 2], Operations: ['63-22=41', '18-16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[18, 63, 22, 16], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [18, 16, 41]
Generated Node #0,0: 39:[18, 16, 41] Operation: 63-22=41
Moving to Node #0,0
Current State: 39:[18, 16, 41], Operations: ['63-22=41']
Exploring Operation: 18-16=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 39:[41, 2] Operation: 18-16=2
Moving to Node #0,0,0
Current State: 39:[41, 2], Operations: ['63-22=41', '18-16=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
5,
58,
4,
23
] | 39 | [
"58-5=53",
"4*23=92",
"92-53=39"
] | Current State: 39:[5, 58, 4, 23], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [4, 23, 53]
Generated Node #2: [4, 23, 53] from Operation: 58-5=53
Current State: 39:[4, 23, 53], Operations: ['58-5=53']
Exploring Operation: 4*23=92, Resulting Numbers: [53, 92]
Generated Node #3: [53, 92] from Operation: 4*23=92
Current State: 39:[53, 92], Operations: ['58-5=53', '4*23=92']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 58, 4, 23], Operations: []
Exploring Operation: 58-23=35, Resulting Numbers: [5, 4, 35]
Generated Node #0,0: 39:[5, 4, 35] Operation: 58-23=35
Exploring Operation: 23-5=18, Resulting Numbers: [58, 4, 18]
Generated Node #0,1: 39:[58, 4, 18] Operation: 23-5=18
Exploring Operation: 58-5=53, Resulting Numbers: [4, 23, 53]
Generated Node #0,2: 39:[4, 23, 53] Operation: 58-5=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[5, 4, 35], Operations: ['58-23=35']
Exploring Operation: 35/5=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 39:[4, 7] Operation: 35/5=7
Exploring Operation: 4+35=39, Resulting Numbers: [5, 39]
Generated Node #0,0,1: 39:[5, 39] Operation: 4+35=39
Exploring Operation: 5+35=40, Resulting Numbers: [4, 40]
Generated Node #0,0,2: 39:[4, 40] Operation: 5+35=40
Moving to Node #0,0,1
Current State: 39:[5, 39], Operations: ['58-23=35', '4+35=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[4, 40], Operations: ['58-23=35', '5+35=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[4, 7], Operations: ['58-23=35', '35/5=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[58, 4, 18], Operations: ['23-5=18']
Exploring Operation: 18-4=14, Resulting Numbers: [58, 14]
Generated Node #0,1,0: 39:[58, 14] Operation: 18-4=14
Exploring Operation: 58-4=54, Resulting Numbers: [18, 54]
Generated Node #0,1,1: 39:[18, 54] Operation: 58-4=54
Exploring Operation: 58-18=40, Resulting Numbers: [4, 40]
Generated Node #0,1,2: 39:[4, 40] Operation: 58-18=40
Moving to Node #0,1,2
Current State: 39:[4, 40], Operations: ['23-5=18', '58-18=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[58, 14], Operations: ['23-5=18', '18-4=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 58*14=812, Resulting Numbers: [812]
812,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[18, 54], Operations: ['23-5=18', '58-4=54']
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[4, 23, 53], Operations: ['58-5=53']
Exploring Operation: 23-4=19, Resulting Numbers: [53, 19]
Generated Node #0,2,0: 39:[53, 19] Operation: 23-4=19
Exploring Operation: 53-23=30, Resulting Numbers: [4, 30]
Generated Node #0,2,1: 39:[4, 30] Operation: 53-23=30
Exploring Operation: 53-4=49, Resulting Numbers: [23, 49]
Generated Node #0,2,2: 39:[23, 49] Operation: 53-4=49
Moving to Node #0,2,1
Current State: 39:[4, 30], Operations: ['58-5=53', '53-23=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[53, 19], Operations: ['58-5=53', '23-4=19']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[23, 49], Operations: ['58-5=53', '53-4=49']
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,39 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,39 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 |
[
36,
69,
75,
67
] | 97 | [
"36+69=105",
"75-67=8",
"105-8=97"
] | Current State: 97:[36, 69, 75, 67], Operations: []
Exploring Operation: 36+69=105, Resulting Numbers: [75, 67, 105]
Generated Node #2: [75, 67, 105] from Operation: 36+69=105
Current State: 97:[75, 67, 105], Operations: ['36+69=105']
Exploring Operation: 75-67=8, Resulting Numbers: [105, 8]
Generated Node #3: [105, 8] from Operation: 75-67=8
Current State: 97:[105, 8], Operations: ['36+69=105', '75-67=8']
Exploring Operation: 105-8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[36, 69, 75, 67], Operations: []
Exploring Operation: 36+67=103, Resulting Numbers: [69, 75, 103]
Generated Node #0,0: 97:[69, 75, 103] Operation: 36+67=103
Exploring Operation: 36+69=105, Resulting Numbers: [75, 67, 105]
Generated Node #0,1: 97:[75, 67, 105] Operation: 36+69=105
Exploring Operation: 36+75=111, Resulting Numbers: [69, 67, 111]
Generated Node #0,2: 97:[69, 67, 111] Operation: 36+75=111
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[69, 75, 103], Operations: ['36+67=103']
Exploring Operation: 103-69=34, Resulting Numbers: [75, 34]
Generated Node #0,0,0: 97:[75, 34] Operation: 103-69=34
Exploring Operation: 69+75=144, Resulting Numbers: [103, 144]
Generated Node #0,0,1: 97:[103, 144] Operation: 69+75=144
Exploring Operation: 75-69=6, Resulting Numbers: [103, 6]
Generated Node #0,0,2: 97:[103, 6] Operation: 75-69=6
Moving to Node #0,0,1
Current State: 97:[103, 144], Operations: ['36+67=103', '69+75=144']
Exploring Operation: 144-103=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Exploring Operation: 103*144=14832, Resulting Numbers: [14832]
14832,97 unequal: No Solution
Exploring Operation: 103+144=247, Resulting Numbers: [247]
247,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[75, 34], Operations: ['36+67=103', '103-69=34']
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,97 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,97 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[103, 6], Operations: ['36+67=103', '75-69=6']
Exploring Operation: 103*6=618, Resulting Numbers: [618]
618,97 unequal: No Solution
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[36, 69, 75, 67], Operations: []
Exploring Operation: 36+67=103, Resulting Numbers: [69, 75, 103]
Generated Node #0,0: 97:[69, 75, 103] Operation: 36+67=103
Moving to Node #0,0
Current State: 97:[69, 75, 103], Operations: ['36+67=103']
Exploring Operation: 75-69=6, Resulting Numbers: [103, 6]
Generated Node #0,0,2: 97:[103, 6] Operation: 75-69=6
Moving to Node #0,0,2
Current State: 97:[103, 6], Operations: ['36+67=103', '75-69=6']
Exploring Operation: 103-6=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
65,
70,
4,
21
] | 59 | [
"65-21=44",
"44/4=11",
"70-11=59"
] | Current State: 59:[65, 70, 4, 21], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [70, 4, 44]
Generated Node #2: [70, 4, 44] from Operation: 65-21=44
Current State: 59:[70, 4, 44], Operations: ['65-21=44']
Exploring Operation: 44/4=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 44/4=11
Current State: 59:[70, 11], Operations: ['65-21=44', '44/4=11']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[65, 70, 4, 21], Operations: []
Exploring Operation: 4*21=84, Resulting Numbers: [65, 70, 84]
Generated Node #0,0: 59:[65, 70, 84] Operation: 4*21=84
Moving to Node #0,0
Current State: 59:[65, 70, 84], Operations: ['4*21=84']
Exploring Operation: 84-65=19, Resulting Numbers: [70, 19]
Generated Node #0,0,0: 59:[70, 19] Operation: 84-65=19
Moving to Node #0,0,0
Current State: 59:[70, 19], Operations: ['4*21=84', '84-65=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
28,
17,
71
] | 38 | [
"98+28=126",
"17+71=88",
"126-88=38"
] | Current State: 38:[98, 28, 17, 71], Operations: []
Exploring Operation: 98+28=126, Resulting Numbers: [17, 71, 126]
Generated Node #2: [17, 71, 126] from Operation: 98+28=126
Current State: 38:[17, 71, 126], Operations: ['98+28=126']
Exploring Operation: 17+71=88, Resulting Numbers: [126, 88]
Generated Node #3: [126, 88] from Operation: 17+71=88
Current State: 38:[126, 88], Operations: ['98+28=126', '17+71=88']
Exploring Operation: 126-88=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[98, 28, 17, 71], Operations: []
Exploring Operation: 98-17=81, Resulting Numbers: [28, 71, 81]
Generated Node #0,0: 38:[28, 71, 81] Operation: 98-17=81
Exploring Operation: 98-71=27, Resulting Numbers: [28, 17, 27]
Generated Node #0,1: 38:[28, 17, 27] Operation: 98-71=27
Exploring Operation: 71-28=43, Resulting Numbers: [98, 17, 43]
Generated Node #0,2: 38:[98, 17, 43] Operation: 71-28=43
Exploring Operation: 98-28=70, Resulting Numbers: [17, 71, 70]
Generated Node #0,3: 38:[17, 71, 70] Operation: 98-28=70
Moving to Node #0,1
Current State: 38:[28, 17, 27], Operations: ['98-71=27']
Exploring Operation: 28+17=45, Resulting Numbers: [27, 45]
Generated Node #0,1,0: 38:[27, 45] Operation: 28+17=45
Exploring Operation: 28-17=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 38:[27, 11] Operation: 28-17=11
Exploring Operation: 28-27=1, Resulting Numbers: [17, 1]
Generated Node #0,1,2: 38:[17, 1] Operation: 28-27=1
Exploring Operation: 17+27=44, Resulting Numbers: [28, 44]
Generated Node #0,1,3: 38:[28, 44] Operation: 17+27=44
Moving to Node #0,3
Current State: 38:[17, 71, 70], Operations: ['98-28=70']
Exploring Operation: 71-70=1, Resulting Numbers: [17, 1]
Generated Node #0,3,0: 38:[17, 1] Operation: 71-70=1
Exploring Operation: 71-17=54, Resulting Numbers: [70, 54]
Generated Node #0,3,1: 38:[70, 54] Operation: 71-17=54
Exploring Operation: 17+71=88, Resulting Numbers: [70, 88]
Generated Node #0,3,2: 38:[70, 88] Operation: 17+71=88
Exploring Operation: 70-17=53, Resulting Numbers: [71, 53]
Generated Node #0,3,3: 38:[71, 53] Operation: 70-17=53
Moving to Node #0,2
Current State: 38:[98, 17, 43], Operations: ['71-28=43']
Exploring Operation: 98+17=115, Resulting Numbers: [43, 115]
Generated Node #0,2,0: 38:[43, 115] Operation: 98+17=115
Exploring Operation: 43-17=26, Resulting Numbers: [98, 26]
Generated Node #0,2,1: 38:[98, 26] Operation: 43-17=26
Exploring Operation: 98-17=81, Resulting Numbers: [43, 81]
Generated Node #0,2,2: 38:[43, 81] Operation: 98-17=81
Exploring Operation: 98-43=55, Resulting Numbers: [17, 55]
Generated Node #0,2,3: 38:[17, 55] Operation: 98-43=55
Moving to Node #0,0
Current State: 38:[28, 71, 81], Operations: ['98-17=81']
Exploring Operation: 71-28=43, Resulting Numbers: [81, 43]
Generated Node #0,0,0: 38:[81, 43] Operation: 71-28=43
Exploring Operation: 81-71=10, Resulting Numbers: [28, 10]
Generated Node #0,0,1: 38:[28, 10] Operation: 81-71=10
Exploring Operation: 28+71=99, Resulting Numbers: [81, 99]
Generated Node #0,0,2: 38:[81, 99] Operation: 28+71=99
Exploring Operation: 81-28=53, Resulting Numbers: [71, 53]
Generated Node #0,0,3: 38:[71, 53] Operation: 81-28=53
Moving to Node #0,1,2
Current State: 38:[17, 1], Operations: ['98-71=27', '28-27=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[17, 1], Operations: ['98-28=70', '71-70=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[28, 44], Operations: ['98-71=27', '17+27=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,38 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[27, 45], Operations: ['98-71=27', '28+17=45']
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,38 unequal: No Solution
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[27, 11], Operations: ['98-71=27', '28-17=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[98, 28, 17, 71], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [28, 17, 27]
Generated Node #0,1: 38:[28, 17, 27] Operation: 98-71=27
Moving to Node #0,1
Current State: 38:[28, 17, 27], Operations: ['98-71=27']
Exploring Operation: 28-17=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 38:[27, 11] Operation: 28-17=11
Moving to Node #0,1,1
Current State: 38:[27, 11], Operations: ['98-71=27', '28-17=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
3,
16,
8,
39
] | 45 | [
"3*16=48",
"48/8=6",
"39+6=45"
] | Current State: 45:[3, 16, 8, 39], Operations: []
Exploring Operation: 3*16=48, Resulting Numbers: [8, 39, 48]
Generated Node #2: [8, 39, 48] from Operation: 3*16=48
Current State: 45:[8, 39, 48], Operations: ['3*16=48']
Exploring Operation: 48/8=6, Resulting Numbers: [39, 6]
Generated Node #3: [39, 6] from Operation: 48/8=6
Current State: 45:[39, 6], Operations: ['3*16=48', '48/8=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 16, 8, 39], Operations: []
Exploring Operation: 8-3=5, Resulting Numbers: [16, 39, 5]
Generated Node #0,0: 45:[16, 39, 5] Operation: 8-3=5
Exploring Operation: 8+39=47, Resulting Numbers: [3, 16, 47]
Generated Node #0,1: 45:[3, 16, 47] Operation: 8+39=47
Exploring Operation: 3+39=42, Resulting Numbers: [16, 8, 42]
Generated Node #0,2: 45:[16, 8, 42] Operation: 3+39=42
Exploring Operation: 39/3=13, Resulting Numbers: [16, 8, 13]
Generated Node #0,3: 45:[16, 8, 13] Operation: 39/3=13
Moving to Node #0,1
Current State: 45:[3, 16, 47], Operations: ['8+39=47']
Exploring Operation: 3+16=19, Resulting Numbers: [47, 19]
Generated Node #0,1,0: 45:[47, 19] Operation: 3+16=19
Exploring Operation: 3*16=48, Resulting Numbers: [47, 48]
Generated Node #0,1,1: 45:[47, 48] Operation: 3*16=48
Exploring Operation: 16-3=13, Resulting Numbers: [47, 13]
Generated Node #0,1,2: 45:[47, 13] Operation: 16-3=13
Exploring Operation: 47-3=44, Resulting Numbers: [16, 44]
Generated Node #0,1,3: 45:[16, 44] Operation: 47-3=44
Moving to Node #0,3
Current State: 45:[16, 8, 13], Operations: ['39/3=13']
Exploring Operation: 16/8=2, Resulting Numbers: [13, 2]
Generated Node #0,3,0: 45:[13, 2] Operation: 16/8=2
Exploring Operation: 16-13=3, Resulting Numbers: [8, 3]
Generated Node #0,3,1: 45:[8, 3] Operation: 16-13=3
Exploring Operation: 16-8=8, Resulting Numbers: [13, 8]
Generated Node #0,3,2: 45:[13, 8] Operation: 16-8=8
Exploring Operation: 13-8=5, Resulting Numbers: [16, 5]
Generated Node #0,3,3: 45:[16, 5] Operation: 13-8=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[8, 3], Operations: ['39/3=13', '16-13=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No 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: 45:[16, 5], Operations: ['39/3=13', '13-8=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,45 unequal: No Solution
No 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: 45:[13, 2], Operations: ['39/3=13', '16/8=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No 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: 45:[13, 8], Operations: ['39/3=13', '16-8=8']
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,45 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: 45:[16, 8, 42], Operations: ['3+39=42']
Exploring Operation: 16-8=8, Resulting Numbers: [42, 8]
Generated Node #0,2,0: 45:[42, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [42, 24]
Generated Node #0,2,1: 45:[42, 24] Operation: 16+8=24
Exploring Operation: 16/8=2, Resulting Numbers: [42, 2]
Generated Node #0,2,2: 45:[42, 2] Operation: 16/8=2
Exploring Operation: 8+42=50, Resulting Numbers: [16, 50]
Generated Node #0,2,3: 45:[16, 50] Operation: 8+42=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[42, 8], Operations: ['3+39=42', '16-8=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No 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: 45:[42, 2], Operations: ['3+39=42', '16/8=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,45 unequal: No Solution
No 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: 45:[16, 50], Operations: ['3+39=42', '8+42=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,45 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No 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: 45:[42, 24], Operations: ['3+39=42', '16+8=24']
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,45 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,45 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: 45:[16, 39, 5], Operations: ['8-3=5']
Exploring Operation: 39-16=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 45:[5, 23] Operation: 39-16=23
Exploring Operation: 16+39=55, Resulting Numbers: [5, 55]
Generated Node #0,0,1: 45:[5, 55] Operation: 16+39=55
Exploring Operation: 16-5=11, Resulting Numbers: [39, 11]
Generated Node #0,0,2: 45:[39, 11] Operation: 16-5=11
Exploring Operation: 39+5=44, Resulting Numbers: [16, 44]
Generated Node #0,0,3: 45:[16, 44] Operation: 39+5=44
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[16, 44], Operations: ['8-3=5', '39+5=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,45 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,45 unequal: No Solution
No 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: 45:[5, 23], Operations: ['8-3=5', '39-16=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No 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: 45:[39, 11], Operations: ['8-3=5', '16-5=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,45 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,45 unequal: No Solution
No 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: 45:[5, 55], Operations: ['8-3=5', '16+39=55']
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 45:[16, 44], Operations: ['8+39=47', '47-3=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,45 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[47, 13], Operations: ['8+39=47', '16-3=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,45 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[47, 48], Operations: ['8+39=47', '3*16=48']
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[47, 19], Operations: ['8+39=47', '3+16=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,45 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
76,
15,
78
] | 84 | [
"42+78=120",
"120/15=8",
"76+8=84"
] | Current State: 84:[42, 76, 15, 78], Operations: []
Exploring Operation: 42+78=120, Resulting Numbers: [76, 15, 120]
Generated Node #2: [76, 15, 120] from Operation: 42+78=120
Current State: 84:[76, 15, 120], Operations: ['42+78=120']
Exploring Operation: 120/15=8, Resulting Numbers: [76, 8]
Generated Node #3: [76, 8] from Operation: 120/15=8
Current State: 84:[76, 8], Operations: ['42+78=120', '120/15=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[42, 76, 15, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [42, 15, 2]
Generated Node #0,0: 84:[42, 15, 2] Operation: 78-76=2
Exploring Operation: 76-42=34, Resulting Numbers: [15, 78, 34]
Generated Node #0,1: 84:[15, 78, 34] Operation: 76-42=34
Moving to Node #0,0
Current State: 84:[42, 15, 2], Operations: ['78-76=2']
Exploring Operation: 42*2=84, Resulting Numbers: [15, 84]
Generated Node #0,0,0: 84:[15, 84] Operation: 42*2=84
Exploring Operation: 42-15=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 84:[2, 27] Operation: 42-15=27
Moving to Node #0,1
Current State: 84:[15, 78, 34], Operations: ['76-42=34']
Exploring Operation: 78-34=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 84:[15, 44] Operation: 78-34=44
Exploring Operation: 34-15=19, Resulting Numbers: [78, 19]
Generated Node #0,1,1: 84:[78, 19] Operation: 34-15=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[15, 44], Operations: ['76-42=34', '78-34=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No 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: 84:[78, 19], Operations: ['76-42=34', '34-15=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,84 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: 84:[15, 84], Operations: ['78-76=2', '42*2=84']
Exploring Operation: 15+84=99, Resulting Numbers: [99]
99,84 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[2, 27], Operations: ['78-76=2', '42-15=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,84 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
68,
12,
74,
61
] | 88 | [
"74-61=13",
"12*13=156",
"156-68=88"
] | Current State: 88:[68, 12, 74, 61], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [68, 12, 13]
Generated Node #2: [68, 12, 13] from Operation: 74-61=13
Current State: 88:[68, 12, 13], Operations: ['74-61=13']
Exploring Operation: 12*13=156, Resulting Numbers: [68, 156]
Generated Node #3: [68, 156] from Operation: 12*13=156
Current State: 88:[68, 156], Operations: ['74-61=13', '12*13=156']
Exploring Operation: 156-68=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[68, 12, 74, 61], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [12, 74, 7]
Generated Node #0,0: 88:[12, 74, 7] Operation: 68-61=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[12, 74, 7], Operations: ['68-61=7']
Exploring Operation: 12+74=86, Resulting Numbers: [7, 86]
Generated Node #0,0,0: 88:[7, 86] Operation: 12+74=86
Moving to Node #0,0,0
Current State: 88:[7, 86], Operations: ['68-61=7', '12+74=86']
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,88 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 |
[
59,
89,
14,
60
] | 16 | [
"89-59=30",
"60-14=46",
"46-30=16"
] | Current State: 16:[59, 89, 14, 60], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [14, 60, 30]
Generated Node #2: [14, 60, 30] from Operation: 89-59=30
Current State: 16:[14, 60, 30], Operations: ['89-59=30']
Exploring Operation: 60-14=46, Resulting Numbers: [30, 46]
Generated Node #3: [30, 46] from Operation: 60-14=46
Current State: 16:[30, 46], Operations: ['89-59=30', '60-14=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[59, 89, 14, 60], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [89, 14, 1]
Generated Node #0,0: 16:[89, 14, 1] Operation: 60-59=1
Exploring Operation: 59-14=45, Resulting Numbers: [89, 60, 45]
Generated Node #0,1: 16:[89, 60, 45] Operation: 59-14=45
Exploring Operation: 89-14=75, Resulting Numbers: [59, 60, 75]
Generated Node #0,2: 16:[59, 60, 75] Operation: 89-14=75
Exploring Operation: 89-60=29, Resulting Numbers: [59, 14, 29]
Generated Node #0,3: 16:[59, 14, 29] Operation: 89-60=29
Exploring Operation: 89-59=30, Resulting Numbers: [14, 60, 30]
Generated Node #0,4: 16:[14, 60, 30] Operation: 89-59=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[59, 14, 29], Operations: ['89-60=29']
Exploring Operation: 14+29=43, Resulting Numbers: [59, 43]
Generated Node #0,3,0: 16:[59, 43] Operation: 14+29=43
Exploring Operation: 59-14=45, Resulting Numbers: [29, 45]
Generated Node #0,3,1: 16:[29, 45] Operation: 59-14=45
Exploring Operation: 59+14=73, Resulting Numbers: [29, 73]
Generated Node #0,3,2: 16:[29, 73] Operation: 59+14=73
Exploring Operation: 29-14=15, Resulting Numbers: [59, 15]
Generated Node #0,3,3: 16:[59, 15] Operation: 29-14=15
Exploring Operation: 59-29=30, Resulting Numbers: [14, 30]
Generated Node #0,3,4: 16:[14, 30] Operation: 59-29=30
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 16:[14, 30], Operations: ['89-60=29', '59-29=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,16 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[59, 89, 14, 60], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [59, 14, 29]
Generated Node #0,3: 16:[59, 14, 29] Operation: 89-60=29
Moving to Node #0,3
Current State: 16:[59, 14, 29], Operations: ['89-60=29']
Exploring Operation: 59-29=30, Resulting Numbers: [14, 30]
Generated Node #0,3,4: 16:[14, 30] Operation: 59-29=30
Moving to Node #0,3,4
Current State: 16:[14, 30], Operations: ['89-60=29', '59-29=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
65,
12,
70,
34
] | 62 | [
"70-34=36",
"36/12=3",
"65-3=62"
] | Current State: 62:[65, 12, 70, 34], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [65, 12, 36]
Generated Node #2: [65, 12, 36] from Operation: 70-34=36
Current State: 62:[65, 12, 36], Operations: ['70-34=36']
Exploring Operation: 36/12=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 36/12=3
Current State: 62:[65, 3], Operations: ['70-34=36', '36/12=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[65, 12, 70, 34], Operations: []
Exploring Operation: 70-65=5, Resulting Numbers: [12, 34, 5]
Generated Node #0,0: 62:[12, 34, 5] Operation: 70-65=5
Exploring Operation: 70-12=58, Resulting Numbers: [65, 34, 58]
Generated Node #0,1: 62:[65, 34, 58] Operation: 70-12=58
Moving to Node #0,1
Current State: 62:[65, 34, 58], Operations: ['70-12=58']
Exploring Operation: 65-58=7, Resulting Numbers: [34, 7]
Generated Node #0,1,0: 62:[34, 7] Operation: 65-58=7
Exploring Operation: 65-34=31, Resulting Numbers: [58, 31]
Generated Node #0,1,1: 62:[58, 31] Operation: 65-34=31
Moving to Node #0,0
Current State: 62:[12, 34, 5], Operations: ['70-65=5']
Exploring Operation: 12*5=60, Resulting Numbers: [34, 60]
Generated Node #0,0,0: 62:[34, 60] Operation: 12*5=60
Exploring Operation: 12-5=7, Resulting Numbers: [34, 7]
Generated Node #0,0,1: 62:[34, 7] Operation: 12-5=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[34, 60], Operations: ['70-65=5', '12*5=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[34, 7], Operations: ['70-65=5', '12-5=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 62:[58, 31], Operations: ['70-12=58', '65-34=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,62 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[34, 7], Operations: ['70-12=58', '65-58=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
80,
34,
18
] | 70 | [
"6+80=86",
"34-18=16",
"86-16=70"
] | Current State: 70:[6, 80, 34, 18], Operations: []
Exploring Operation: 6+80=86, Resulting Numbers: [34, 18, 86]
Generated Node #2: [34, 18, 86] from Operation: 6+80=86
Current State: 70:[34, 18, 86], Operations: ['6+80=86']
Exploring Operation: 34-18=16, Resulting Numbers: [86, 16]
Generated Node #3: [86, 16] from Operation: 34-18=16
Current State: 70:[86, 16], Operations: ['6+80=86', '34-18=16']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 80, 34, 18], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [6, 34, 62]
Generated Node #0,0: 70:[6, 34, 62] Operation: 80-18=62
Exploring Operation: 18/6=3, Resulting Numbers: [80, 34, 3]
Generated Node #0,1: 70:[80, 34, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [80, 34, 12]
Generated Node #0,2: 70:[80, 34, 12] Operation: 18-6=12
Exploring Operation: 80-6=74, Resulting Numbers: [34, 18, 74]
Generated Node #0,3: 70:[34, 18, 74] Operation: 80-6=74
Moving to Node #0,3
Current State: 70:[34, 18, 74], Operations: ['80-6=74']
Exploring Operation: 34-18=16, Resulting Numbers: [74, 16]
Generated Node #0,3,0: 70:[74, 16] Operation: 34-18=16
Exploring Operation: 74-34=40, Resulting Numbers: [18, 40]
Generated Node #0,3,1: 70:[18, 40] Operation: 74-34=40
Exploring Operation: 34+18=52, Resulting Numbers: [74, 52]
Generated Node #0,3,2: 70:[74, 52] Operation: 34+18=52
Exploring Operation: 74-18=56, Resulting Numbers: [34, 56]
Generated Node #0,3,3: 70:[34, 56] Operation: 74-18=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[74, 16], Operations: ['80-6=74', '34-18=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,70 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,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:[18, 40], Operations: ['80-6=74', '74-34=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,70 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,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:[34, 56], Operations: ['80-6=74', '74-18=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,70 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,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,2
Current State: 70:[74, 52], Operations: ['80-6=74', '34+18=52']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 74*52=3848, Resulting Numbers: [3848]
3848,70 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: 70:[6, 34, 62], Operations: ['80-18=62']
Exploring Operation: 34-6=28, Resulting Numbers: [62, 28]
Generated Node #0,0,0: 70:[62, 28] Operation: 34-6=28
Exploring Operation: 6+34=40, Resulting Numbers: [62, 40]
Generated Node #0,0,1: 70:[62, 40] Operation: 6+34=40
Exploring Operation: 62-34=28, Resulting Numbers: [6, 28]
Generated Node #0,0,2: 70:[6, 28] Operation: 62-34=28
Exploring Operation: 6+62=68, Resulting Numbers: [34, 68]
Generated Node #0,0,3: 70:[34, 68] Operation: 6+62=68
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[34, 68], Operations: ['80-18=62', '6+62=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,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:[6, 28], Operations: ['80-18=62', '62-34=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,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,1
Current State: 70:[62, 40], Operations: ['80-18=62', '6+34=40']
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,70 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,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:[62, 28], Operations: ['80-18=62', '34-6=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,70 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,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:[80, 34, 3], Operations: ['18/6=3']
Exploring Operation: 80+3=83, Resulting Numbers: [34, 83]
Generated Node #0,1,0: 70:[34, 83] Operation: 80+3=83
Exploring Operation: 80-3=77, Resulting Numbers: [34, 77]
Generated Node #0,1,1: 70:[34, 77] Operation: 80-3=77
Exploring Operation: 34+3=37, Resulting Numbers: [80, 37]
Generated Node #0,1,2: 70:[80, 37] Operation: 34+3=37
Exploring Operation: 80-34=46, Resulting Numbers: [3, 46]
Generated Node #0,1,3: 70:[3, 46] Operation: 80-34=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[34, 77], Operations: ['18/6=3', '80-3=77']
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,70 unequal: No Solution
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,70 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,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:[80, 37], Operations: ['18/6=3', '34+3=37']
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,70 unequal: No Solution
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,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:[3, 46], Operations: ['18/6=3', '80-34=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,70 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,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,0
Current State: 70:[34, 83], Operations: ['18/6=3', '80+3=83']
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,70 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,70 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: 70:[80, 34, 12], Operations: ['18-6=12']
Exploring Operation: 34+12=46, Resulting Numbers: [80, 46]
Generated Node #0,2,0: 70:[80, 46] Operation: 34+12=46
Exploring Operation: 34-12=22, Resulting Numbers: [80, 22]
Generated Node #0,2,1: 70:[80, 22] Operation: 34-12=22
Exploring Operation: 80-12=68, Resulting Numbers: [34, 68]
Generated Node #0,2,2: 70:[34, 68] Operation: 80-12=68
Exploring Operation: 80-34=46, Resulting Numbers: [12, 46]
Generated Node #0,2,3: 70:[12, 46] Operation: 80-34=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[34, 68], Operations: ['18-6=12', '80-12=68']
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,70 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,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,2,3
Current State: 70:[12, 46], Operations: ['18-6=12', '80-34=46']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,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,2,1
Current State: 70:[80, 22], Operations: ['18-6=12', '34-12=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,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,2,0
Current State: 70:[80, 46], Operations: ['18-6=12', '34+12=46']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,70 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 |
[
37,
42,
25,
43
] | 61 | [
"37+42=79",
"43-25=18",
"79-18=61"
] | Current State: 61:[37, 42, 25, 43], Operations: []
Exploring Operation: 37+42=79, Resulting Numbers: [25, 43, 79]
Generated Node #2: [25, 43, 79] from Operation: 37+42=79
Current State: 61:[25, 43, 79], Operations: ['37+42=79']
Exploring Operation: 43-25=18, Resulting Numbers: [79, 18]
Generated Node #3: [79, 18] from Operation: 43-25=18
Current State: 61:[79, 18], Operations: ['37+42=79', '43-25=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[37, 42, 25, 43], Operations: []
Exploring Operation: 37+25=62, Resulting Numbers: [42, 43, 62]
Generated Node #0,0: 61:[42, 43, 62] Operation: 37+25=62
Exploring Operation: 42+25=67, Resulting Numbers: [37, 43, 67]
Generated Node #0,1: 61:[37, 43, 67] Operation: 42+25=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[42, 43, 62], Operations: ['37+25=62']
Exploring Operation: 62-42=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 61:[43, 20] Operation: 62-42=20
Exploring Operation: 42+43=85, Resulting Numbers: [62, 85]
Generated Node #0,0,1: 61:[62, 85] Operation: 42+43=85
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[62, 85], Operations: ['37+25=62', '42+43=85']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 62+85=147, Resulting Numbers: [147]
147,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[43, 20], Operations: ['37+25=62', '62-42=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[37, 43, 67], Operations: ['42+25=67']
Exploring Operation: 67-37=30, Resulting Numbers: [43, 30]
Generated Node #0,1,0: 61:[43, 30] Operation: 67-37=30
Exploring Operation: 37+43=80, Resulting Numbers: [67, 80]
Generated Node #0,1,1: 61:[67, 80] Operation: 37+43=80
Moving to Node #0,1,1
Current State: 61:[67, 80], Operations: ['42+25=67', '37+43=80']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 67+80=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[43, 30], Operations: ['42+25=67', '67-37=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
25,
97,
5
] | 25 | [
"97-91=6",
"6-5=1",
"25*1=25"
] | Current State: 25:[91, 25, 97, 5], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [25, 5, 6]
Generated Node #2: [25, 5, 6] from Operation: 97-91=6
Current State: 25:[25, 5, 6], Operations: ['97-91=6']
Exploring Operation: 6-5=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 6-5=1
Current State: 25:[25, 1], Operations: ['97-91=6', '6-5=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[91, 25, 97, 5], Operations: []
Exploring Operation: 97-5=92, Resulting Numbers: [91, 25, 92]
Generated Node #0,0: 25:[91, 25, 92] Operation: 97-5=92
Exploring Operation: 97-91=6, Resulting Numbers: [25, 5, 6]
Generated Node #0,1: 25:[25, 5, 6] Operation: 97-91=6
Exploring Operation: 91-5=86, Resulting Numbers: [25, 97, 86]
Generated Node #0,2: 25:[25, 97, 86] Operation: 91-5=86
Exploring Operation: 97-25=72, Resulting Numbers: [91, 5, 72]
Generated Node #0,3: 25:[91, 5, 72] Operation: 97-25=72
Exploring Operation: 91-25=66, Resulting Numbers: [97, 5, 66]
Generated Node #0,4: 25:[97, 5, 66] Operation: 91-25=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[25, 5, 6], Operations: ['97-91=6']
Exploring Operation: 25+5=30, Resulting Numbers: [6, 30]
Generated Node #0,1,0: 25:[6, 30] Operation: 25+5=30
Exploring Operation: 25/5=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 25:[6, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [6, 20]
Generated Node #0,1,2: 25:[6, 20] Operation: 25-5=20
Exploring Operation: 5*6=30, Resulting Numbers: [25, 30]
Generated Node #0,1,3: 25:[25, 30] Operation: 5*6=30
Exploring Operation: 6-5=1, Resulting Numbers: [25, 1]
Generated Node #0,1,4: 25:[25, 1] Operation: 6-5=1
Moving to Node #0,1,1
Current State: 25:[6, 5], Operations: ['97-91=6', '25/5=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[25, 1], Operations: ['97-91=6', '6-5=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[91, 25, 97, 5], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [25, 5, 6]
Generated Node #0,1: 25:[25, 5, 6] Operation: 97-91=6
Moving to Node #0,1
Current State: 25:[25, 5, 6], Operations: ['97-91=6']
Exploring Operation: 6-5=1, Resulting Numbers: [25, 1]
Generated Node #0,1,4: 25:[25, 1] Operation: 6-5=1
Moving to Node #0,1,4
Current State: 25:[25, 1], Operations: ['97-91=6', '6-5=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
69,
23,
15,
3
] | 92 | [
"23*15=345",
"345-69=276",
"276/3=92"
] | Current State: 92:[69, 23, 15, 3], Operations: []
Exploring Operation: 23*15=345, Resulting Numbers: [69, 3, 345]
Generated Node #2: [69, 3, 345] from Operation: 23*15=345
Current State: 92:[69, 3, 345], Operations: ['23*15=345']
Exploring Operation: 345-69=276, Resulting Numbers: [3, 276]
Generated Node #3: [3, 276] from Operation: 345-69=276
Current State: 92:[3, 276], Operations: ['23*15=345', '345-69=276']
Exploring Operation: 276/3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[69, 23, 15, 3], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [23, 15, 23]
Generated Node #0,0: 92:[23, 15, 23] Operation: 69/3=23
Exploring Operation: 69+23=92, Resulting Numbers: [15, 3, 92]
Generated Node #0,1: 92:[15, 3, 92] Operation: 69+23=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[23, 15, 23], Operations: ['69/3=23']
Exploring Operation: 23-15=8, Resulting Numbers: [23, 8]
Generated Node #0,0,0: 92:[23, 8] Operation: 23-15=8
Exploring Operation: 23-15=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 92:[23, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[23, 8], Operations: ['69/3=23', '23-15=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,92 unequal: No Solution
No 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: 92:[23, 8], Operations: ['69/3=23', '23-15=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,92 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: 92:[15, 3, 92], Operations: ['69+23=92']
Exploring Operation: 15*3=45, Resulting Numbers: [92, 45]
Generated Node #0,1,0: 92:[92, 45] Operation: 15*3=45
Exploring Operation: 15/3=5, Resulting Numbers: [92, 5]
Generated Node #0,1,1: 92:[92, 5] Operation: 15/3=5
Moving to Node #0,1,0
Current State: 92:[92, 45], Operations: ['69+23=92', '15*3=45']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[92, 5], Operations: ['69+23=92', '15/3=5']
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,92 unequal: No Solution
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,92 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 |
[
43,
9,
92,
33
] | 91 | [
"43-9=34",
"92+33=125",
"125-34=91"
] | Current State: 91:[43, 9, 92, 33], Operations: []
Exploring Operation: 43-9=34, Resulting Numbers: [92, 33, 34]
Generated Node #2: [92, 33, 34] from Operation: 43-9=34
Current State: 91:[92, 33, 34], Operations: ['43-9=34']
Exploring Operation: 92+33=125, Resulting Numbers: [34, 125]
Generated Node #3: [34, 125] from Operation: 92+33=125
Current State: 91:[34, 125], Operations: ['43-9=34', '92+33=125']
Exploring Operation: 125-34=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[43, 9, 92, 33], Operations: []
Exploring Operation: 43-33=10, Resulting Numbers: [9, 92, 10]
Generated Node #0,0: 91:[9, 92, 10] Operation: 43-33=10
Moving to Node #0,0
Current State: 91:[9, 92, 10], Operations: ['43-33=10']
Exploring Operation: 9*10=90, Resulting Numbers: [92, 90]
Generated Node #0,0,0: 91:[92, 90] Operation: 9*10=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[92, 90], Operations: ['43-33=10', '9*10=90']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,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 |
[
38,
60,
35,
34
] | 42 | [
"38-35=3",
"34*3=102",
"102-60=42"
] | Current State: 42:[38, 60, 35, 34], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [60, 34, 3]
Generated Node #2: [60, 34, 3] from Operation: 38-35=3
Current State: 42:[60, 34, 3], Operations: ['38-35=3']
Exploring Operation: 34*3=102, Resulting Numbers: [60, 102]
Generated Node #3: [60, 102] from Operation: 34*3=102
Current State: 42:[60, 102], Operations: ['38-35=3', '34*3=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[38, 60, 35, 34], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [38, 34, 25]
Generated Node #0,0: 42:[38, 34, 25] Operation: 60-35=25
Exploring Operation: 60-38=22, Resulting Numbers: [35, 34, 22]
Generated Node #0,1: 42:[35, 34, 22] Operation: 60-38=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[38, 34, 25], Operations: ['60-35=25']
Exploring Operation: 38-34=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 42:[25, 4] Operation: 38-34=4
Exploring Operation: 34-25=9, Resulting Numbers: [38, 9]
Generated Node #0,0,1: 42:[38, 9] Operation: 34-25=9
Moving to Node #0,0,0
Current State: 42:[25, 4], Operations: ['60-35=25', '38-34=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[38, 9], Operations: ['60-35=25', '34-25=9']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[35, 34, 22], Operations: ['60-38=22']
Exploring Operation: 35-22=13, Resulting Numbers: [34, 13]
Generated Node #0,1,0: 42:[34, 13] Operation: 35-22=13
Exploring Operation: 35-34=1, Resulting Numbers: [22, 1]
Generated Node #0,1,1: 42:[22, 1] Operation: 35-34=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[22, 1], Operations: ['60-38=22', '35-34=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[34, 13], Operations: ['60-38=22', '35-22=13']
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
72,
54,
73
] | 88 | [
"73-7=66",
"72*66=4752",
"4752/54=88"
] | Current State: 88:[7, 72, 54, 73], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [72, 54, 66]
Generated Node #2: [72, 54, 66] from Operation: 73-7=66
Current State: 88:[72, 54, 66], Operations: ['73-7=66']
Exploring Operation: 72*66=4752, Resulting Numbers: [54, 4752]
Generated Node #3: [54, 4752] from Operation: 72*66=4752
Current State: 88:[54, 4752], Operations: ['73-7=66', '72*66=4752']
Exploring Operation: 4752/54=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 72, 54, 73], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,0: 88:[7, 54, 1] Operation: 73-72=1
Exploring Operation: 54-7=47, Resulting Numbers: [72, 73, 47]
Generated Node #0,1: 88:[72, 73, 47] Operation: 54-7=47
Exploring Operation: 72-54=18, Resulting Numbers: [7, 73, 18]
Generated Node #0,2: 88:[7, 73, 18] Operation: 72-54=18
Exploring Operation: 7+72=79, Resulting Numbers: [54, 73, 79]
Generated Node #0,3: 88:[54, 73, 79] Operation: 7+72=79
Exploring Operation: 73-54=19, Resulting Numbers: [7, 72, 19]
Generated Node #0,4: 88:[7, 72, 19] Operation: 73-54=19
Moving to Node #0,0
Current State: 88:[7, 54, 1], Operations: ['73-72=1']
Exploring Operation: 54-1=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 88:[7, 53] Operation: 54-1=53
Exploring Operation: 7+1=8, Resulting Numbers: [54, 8]
Generated Node #0,0,1: 88:[54, 8] Operation: 7+1=8
Exploring Operation: 7*1=7, Resulting Numbers: [54, 7]
Generated Node #0,0,2: 88:[54, 7] Operation: 7*1=7
Exploring Operation: 7/1=7, Resulting Numbers: [54, 7]
Generated Node #0,0,3: 88:[54, 7] Operation: 7/1=7
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,0,4: 88:[1, 47] Operation: 54-7=47
Moving to Node #0,4
Current State: 88:[7, 72, 19], Operations: ['73-54=19']
Exploring Operation: 72-19=53, Resulting Numbers: [7, 53]
Generated Node #0,4,0: 88:[7, 53] Operation: 72-19=53
Exploring Operation: 19-7=12, Resulting Numbers: [72, 12]
Generated Node #0,4,1: 88:[72, 12] Operation: 19-7=12
Exploring Operation: 7+72=79, Resulting Numbers: [19, 79]
Generated Node #0,4,2: 88:[19, 79] Operation: 7+72=79
Exploring Operation: 7+19=26, Resulting Numbers: [72, 26]
Generated Node #0,4,3: 88:[72, 26] Operation: 7+19=26
Exploring Operation: 72+19=91, Resulting Numbers: [7, 91]
Generated Node #0,4,4: 88:[7, 91] Operation: 72+19=91
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 88:[7, 91], Operations: ['73-54=19', '72+19=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,88 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 88:[7, 53], Operations: ['73-54=19', '72-19=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 88:[19, 79], Operations: ['73-54=19', '7+72=79']
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 88:[72, 12], Operations: ['73-54=19', '19-7=12']
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[72, 26], Operations: ['73-54=19', '7+19=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,88 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,88 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: 88:[7, 73, 18], Operations: ['72-54=18']
Exploring Operation: 73-18=55, Resulting Numbers: [7, 55]
Generated Node #0,2,0: 88:[7, 55] Operation: 73-18=55
Exploring Operation: 73+18=91, Resulting Numbers: [7, 91]
Generated Node #0,2,1: 88:[7, 91] Operation: 73+18=91
Exploring Operation: 18-7=11, Resulting Numbers: [73, 11]
Generated Node #0,2,2: 88:[73, 11] Operation: 18-7=11
Exploring Operation: 7+73=80, Resulting Numbers: [18, 80]
Generated Node #0,2,3: 88:[18, 80] Operation: 7+73=80
Exploring Operation: 7+18=25, Resulting Numbers: [73, 25]
Generated Node #0,2,4: 88:[73, 25] Operation: 7+18=25
Moving to Node #0,1
Current State: 88:[72, 73, 47], Operations: ['54-7=47']
Exploring Operation: 73+47=120, Resulting Numbers: [72, 120]
Generated Node #0,1,0: 88:[72, 120] Operation: 73+47=120
Exploring Operation: 72+47=119, Resulting Numbers: [73, 119]
Generated Node #0,1,1: 88:[73, 119] Operation: 72+47=119
Exploring Operation: 73-72=1, Resulting Numbers: [47, 1]
Generated Node #0,1,2: 88:[47, 1] Operation: 73-72=1
Exploring Operation: 72-47=25, Resulting Numbers: [73, 25]
Generated Node #0,1,3: 88:[73, 25] Operation: 72-47=25
Exploring Operation: 73-47=26, Resulting Numbers: [72, 26]
Generated Node #0,1,4: 88:[72, 26] Operation: 73-47=26
Moving to Node #0,3
Current State: 88:[54, 73, 79], Operations: ['7+72=79']
Exploring Operation: 73-54=19, Resulting Numbers: [79, 19]
Generated Node #0,3,0: 88:[79, 19] Operation: 73-54=19
Exploring Operation: 54+79=133, Resulting Numbers: [73, 133]
Generated Node #0,3,1: 88:[73, 133] Operation: 54+79=133
Exploring Operation: 79-73=6, Resulting Numbers: [54, 6]
Generated Node #0,3,2: 88:[54, 6] Operation: 79-73=6
Exploring Operation: 54+73=127, Resulting Numbers: [79, 127]
Generated Node #0,3,3: 88:[79, 127] Operation: 54+73=127
Exploring Operation: 79-54=25, Resulting Numbers: [73, 25]
Generated Node #0,3,4: 88:[73, 25] Operation: 79-54=25
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[79, 19], Operations: ['7+72=79', '73-54=19']
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,88 unequal: No Solution
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[54, 6], Operations: ['7+72=79', '79-73=6']
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 88:[73, 25], Operations: ['7+72=79', '79-54=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,88 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[79, 127], Operations: ['7+72=79', '54+73=127']
Exploring Operation: 79*127=10033, Resulting Numbers: [10033]
10033,88 unequal: No Solution
Exploring Operation: 127-79=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 79+127=206, Resulting Numbers: [206]
206,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[73, 133], Operations: ['7+72=79', '54+79=133']
Exploring Operation: 133-73=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 73+133=206, Resulting Numbers: [206]
206,88 unequal: No Solution
Exploring Operation: 73*133=9709, Resulting Numbers: [9709]
9709,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 88:[1, 47], Operations: ['73-72=1', '54-7=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[7, 91], Operations: ['72-54=18', '73+18=91']
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,88 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[47, 1], Operations: ['54-7=47', '73-72=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[54, 8], Operations: ['73-72=1', '7+1=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,88 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[7, 53], Operations: ['73-72=1', '54-1=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,88 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[54, 7], Operations: ['73-72=1', '7/1=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[54, 7], Operations: ['73-72=1', '7*1=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,88 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[7, 55], Operations: ['72-54=18', '73-18=55']
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,88 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[18, 80], Operations: ['72-54=18', '7+73=80']
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 18*80=1440, Resulting Numbers: [1440]
1440,88 unequal: No Solution
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[73, 11], Operations: ['72-54=18', '18-7=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,88 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[73, 25], Operations: ['54-7=47', '72-47=25']
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,88 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[73, 25], Operations: ['72-54=18', '7+18=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,88 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[72, 26], Operations: ['54-7=47', '73-47=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,88 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[73, 119], Operations: ['54-7=47', '72+47=119']
Exploring Operation: 119-73=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 73*119=8687, Resulting Numbers: [8687]
8687,88 unequal: No Solution
Exploring Operation: 73+119=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[72, 120], Operations: ['54-7=47', '73+47=120']
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 72+120=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 72*120=8640, Resulting Numbers: [8640]
8640,88 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
25,
54,
19
] | 76 | [
"57/19=3",
"25+54=79",
"79-3=76"
] | Current State: 76:[57, 25, 54, 19], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [25, 54, 3]
Generated Node #2: [25, 54, 3] from Operation: 57/19=3
Current State: 76:[25, 54, 3], Operations: ['57/19=3']
Exploring Operation: 25+54=79, Resulting Numbers: [3, 79]
Generated Node #3: [3, 79] from Operation: 25+54=79
Current State: 76:[3, 79], Operations: ['57/19=3', '25+54=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[57, 25, 54, 19], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [25, 19, 3]
Generated Node #0,0: 76:[25, 19, 3] Operation: 57-54=3
Exploring Operation: 57+25=82, Resulting Numbers: [54, 19, 82]
Generated Node #0,1: 76:[54, 19, 82] Operation: 57+25=82
Moving to Node #0,0
Current State: 76:[25, 19, 3], Operations: ['57-54=3']
Exploring Operation: 25-19=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 76:[3, 6] Operation: 25-19=6
Exploring Operation: 25*3=75, Resulting Numbers: [19, 75]
Generated Node #0,0,1: 76:[19, 75] Operation: 25*3=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[19, 75], Operations: ['57-54=3', '25*3=75']
Exploring Operation: 19+75=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,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:[3, 6], Operations: ['57-54=3', '25-19=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,76 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: 76:[54, 19, 82], Operations: ['57+25=82']
Exploring Operation: 54+19=73, Resulting Numbers: [82, 73]
Generated Node #0,1,0: 76:[82, 73] Operation: 54+19=73
Exploring Operation: 54-19=35, Resulting Numbers: [82, 35]
Generated Node #0,1,1: 76:[82, 35] Operation: 54-19=35
Moving to Node #0,1,0
Current State: 76:[82, 73], Operations: ['57+25=82', '54+19=73']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[82, 35], Operations: ['57+25=82', '54-19=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,76 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
71,
44,
85,
61
] | 31 | [
"71+44=115",
"85+61=146",
"146-115=31"
] | Current State: 31:[71, 44, 85, 61], Operations: []
Exploring Operation: 71+44=115, Resulting Numbers: [85, 61, 115]
Generated Node #2: [85, 61, 115] from Operation: 71+44=115
Current State: 31:[85, 61, 115], Operations: ['71+44=115']
Exploring Operation: 85+61=146, Resulting Numbers: [115, 146]
Generated Node #3: [115, 146] from Operation: 85+61=146
Current State: 31:[115, 146], Operations: ['71+44=115', '85+61=146']
Exploring Operation: 146-115=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[71, 44, 85, 61], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [71, 44, 24]
Generated Node #0,0: 31:[71, 44, 24] Operation: 85-61=24
Exploring Operation: 85-44=41, Resulting Numbers: [71, 61, 41]
Generated Node #0,1: 31:[71, 61, 41] Operation: 85-44=41
Exploring Operation: 85-71=14, Resulting Numbers: [44, 61, 14]
Generated Node #0,2: 31:[44, 61, 14] Operation: 85-71=14
Exploring Operation: 71-44=27, Resulting Numbers: [85, 61, 27]
Generated Node #0,3: 31:[85, 61, 27] Operation: 71-44=27
Moving to Node #0,0
Current State: 31:[71, 44, 24], Operations: ['85-61=24']
Exploring Operation: 71+24=95, Resulting Numbers: [44, 95]
Generated Node #0,0,0: 31:[44, 95] Operation: 71+24=95
Exploring Operation: 71-24=47, Resulting Numbers: [44, 47]
Generated Node #0,0,1: 31:[44, 47] Operation: 71-24=47
Exploring Operation: 44-24=20, Resulting Numbers: [71, 20]
Generated Node #0,0,2: 31:[71, 20] Operation: 44-24=20
Exploring Operation: 71-44=27, Resulting Numbers: [24, 27]
Generated Node #0,0,3: 31:[24, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[24, 27], Operations: ['85-61=24', '71-44=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[44, 47], Operations: ['85-61=24', '71-24=47']
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 31:[71, 20], Operations: ['85-61=24', '44-24=20']
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,31 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[44, 95], Operations: ['85-61=24', '71+24=95']
Exploring Operation: 95-44=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 44+95=139, Resulting Numbers: [139]
139,31 unequal: No Solution
Exploring Operation: 44*95=4180, Resulting Numbers: [4180]
4180,31 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: 31:[44, 61, 14], Operations: ['85-71=14']
Exploring Operation: 44-14=30, Resulting Numbers: [61, 30]
Generated Node #0,2,0: 31:[61, 30] Operation: 44-14=30
Exploring Operation: 44+14=58, Resulting Numbers: [61, 58]
Generated Node #0,2,1: 31:[61, 58] Operation: 44+14=58
Exploring Operation: 61-44=17, Resulting Numbers: [14, 17]
Generated Node #0,2,2: 31:[14, 17] Operation: 61-44=17
Exploring Operation: 61-14=47, Resulting Numbers: [44, 47]
Generated Node #0,2,3: 31:[44, 47] Operation: 61-14=47
Moving to Node #0,1
Current State: 31:[71, 61, 41], Operations: ['85-44=41']
Exploring Operation: 61-41=20, Resulting Numbers: [71, 20]
Generated Node #0,1,0: 31:[71, 20] Operation: 61-41=20
Exploring Operation: 71-61=10, Resulting Numbers: [41, 10]
Generated Node #0,1,1: 31:[41, 10] Operation: 71-61=10
Exploring Operation: 71+61=132, Resulting Numbers: [41, 132]
Generated Node #0,1,2: 31:[41, 132] Operation: 71+61=132
Exploring Operation: 71-41=30, Resulting Numbers: [61, 30]
Generated Node #0,1,3: 31:[61, 30] Operation: 71-41=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[41, 10], Operations: ['85-44=41', '71-61=10']
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,31 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[71, 44, 85, 61], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [71, 61, 41]
Generated Node #0,1: 31:[71, 61, 41] Operation: 85-44=41
Moving to Node #0,1
Current State: 31:[71, 61, 41], Operations: ['85-44=41']
Exploring Operation: 71-61=10, Resulting Numbers: [41, 10]
Generated Node #0,1,1: 31:[41, 10] Operation: 71-61=10
Moving to Node #0,1,1
Current State: 31:[41, 10], Operations: ['85-44=41', '71-61=10']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
69,
46,
32,
63
] | 10 | [
"46*63=2898",
"2898/69=42",
"42-32=10"
] | Current State: 10:[69, 46, 32, 63], Operations: []
Exploring Operation: 46*63=2898, Resulting Numbers: [69, 32, 2898]
Generated Node #2: [69, 32, 2898] from Operation: 46*63=2898
Current State: 10:[69, 32, 2898], Operations: ['46*63=2898']
Exploring Operation: 2898/69=42, Resulting Numbers: [32, 42]
Generated Node #3: [32, 42] from Operation: 2898/69=42
Current State: 10:[32, 42], Operations: ['46*63=2898', '2898/69=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[69, 46, 32, 63], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [69, 32, 17]
Generated Node #0,0: 10:[69, 32, 17] Operation: 63-46=17
Exploring Operation: 69-32=37, Resulting Numbers: [46, 63, 37]
Generated Node #0,1: 10:[46, 63, 37] Operation: 69-32=37
Exploring Operation: 69-63=6, Resulting Numbers: [46, 32, 6]
Generated Node #0,2: 10:[46, 32, 6] Operation: 69-63=6
Exploring Operation: 69-46=23, Resulting Numbers: [32, 63, 23]
Generated Node #0,3: 10:[32, 63, 23] Operation: 69-46=23
Moving to Node #0,2
Current State: 10:[46, 32, 6], Operations: ['69-63=6']
Exploring Operation: 46-6=40, Resulting Numbers: [32, 40]
Generated Node #0,2,0: 10:[32, 40] Operation: 46-6=40
Exploring Operation: 32-6=26, Resulting Numbers: [46, 26]
Generated Node #0,2,1: 10:[46, 26] Operation: 32-6=26
Exploring Operation: 46+6=52, Resulting Numbers: [32, 52]
Generated Node #0,2,2: 10:[32, 52] Operation: 46+6=52
Exploring Operation: 46-32=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 10:[6, 14] Operation: 46-32=14
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[6, 14], Operations: ['69-63=6', '46-32=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[32, 40], Operations: ['69-63=6', '46-6=40']
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,10 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[46, 26], Operations: ['69-63=6', '32-6=26']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,10 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[32, 52], Operations: ['69-63=6', '46+6=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,10 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,10 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: 10:[32, 63, 23], Operations: ['69-46=23']
Exploring Operation: 32-23=9, Resulting Numbers: [63, 9]
Generated Node #0,3,0: 10:[63, 9] Operation: 32-23=9
Exploring Operation: 63-32=31, Resulting Numbers: [23, 31]
Generated Node #0,3,1: 10:[23, 31] Operation: 63-32=31
Exploring Operation: 32+63=95, Resulting Numbers: [23, 95]
Generated Node #0,3,2: 10:[23, 95] Operation: 32+63=95
Exploring Operation: 63-23=40, Resulting Numbers: [32, 40]
Generated Node #0,3,3: 10:[32, 40] Operation: 63-23=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[23, 31], Operations: ['69-46=23', '63-32=31']
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[32, 40], Operations: ['69-46=23', '63-23=40']
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 32*40=1280, Resulting Numbers: [1280]
1280,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[63, 9], Operations: ['69-46=23', '32-23=9']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,10 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[23, 95], Operations: ['69-46=23', '32+63=95']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,10 unequal: No Solution
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[69, 32, 17], Operations: ['63-46=17']
Exploring Operation: 69-32=37, Resulting Numbers: [17, 37]
Generated Node #0,0,0: 10:[17, 37] Operation: 69-32=37
Exploring Operation: 69-17=52, Resulting Numbers: [32, 52]
Generated Node #0,0,1: 10:[32, 52] Operation: 69-17=52
Exploring Operation: 69+32=101, Resulting Numbers: [17, 101]
Generated Node #0,0,2: 10:[17, 101] Operation: 69+32=101
Exploring Operation: 32-17=15, Resulting Numbers: [69, 15]
Generated Node #0,0,3: 10:[69, 15] Operation: 32-17=15
Moving to Node #0,1
Current State: 10:[46, 63, 37], Operations: ['69-32=37']
Exploring Operation: 63-37=26, Resulting Numbers: [46, 26]
Generated Node #0,1,0: 10:[46, 26] Operation: 63-37=26
Exploring Operation: 46-37=9, Resulting Numbers: [63, 9]
Generated Node #0,1,1: 10:[63, 9] Operation: 46-37=9
Exploring Operation: 46+63=109, Resulting Numbers: [37, 109]
Generated Node #0,1,2: 10:[37, 109] Operation: 46+63=109
Exploring Operation: 63-46=17, Resulting Numbers: [37, 17]
Generated Node #0,1,3: 10:[37, 17] Operation: 63-46=17
Moving to Node #0,0,0
Current State: 10:[17, 37], Operations: ['63-46=17', '69-32=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,10 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[37, 17], Operations: ['69-32=37', '63-46=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[46, 26], Operations: ['69-32=37', '63-37=26']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[63, 9], Operations: ['69-32=37', '46-37=9']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,10 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[69, 15], Operations: ['63-46=17', '32-17=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[32, 52], Operations: ['63-46=17', '69-17=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,10 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[17, 101], Operations: ['63-46=17', '69+32=101']
Exploring Operation: 17+101=118, Resulting Numbers: [118]
118,10 unequal: No Solution
Exploring Operation: 17*101=1717, Resulting Numbers: [1717]
1717,10 unequal: No Solution
Exploring Operation: 101-17=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[37, 109], Operations: ['69-32=37', '46+63=109']
Exploring Operation: 37*109=4033, Resulting Numbers: [4033]
4033,10 unequal: No Solution
Exploring Operation: 37+109=146, Resulting Numbers: [146]
146,10 unequal: No Solution
Exploring Operation: 109-37=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
32,
66,
54,
27
] | 49 | [
"32+66=98",
"54/27=2",
"98/2=49"
] | Current State: 49:[32, 66, 54, 27], Operations: []
Exploring Operation: 32+66=98, Resulting Numbers: [54, 27, 98]
Generated Node #2: [54, 27, 98] from Operation: 32+66=98
Current State: 49:[54, 27, 98], Operations: ['32+66=98']
Exploring Operation: 54/27=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 54/27=2
Current State: 49:[98, 2], Operations: ['32+66=98', '54/27=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[32, 66, 54, 27], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [32, 54, 39]
Generated Node #0,0: 49:[32, 54, 39] Operation: 66-27=39
Exploring Operation: 54/27=2, Resulting Numbers: [32, 66, 2]
Generated Node #0,1: 49:[32, 66, 2] Operation: 54/27=2
Exploring Operation: 32-27=5, Resulting Numbers: [66, 54, 5]
Generated Node #0,2: 49:[66, 54, 5] Operation: 32-27=5
Exploring Operation: 32+27=59, Resulting Numbers: [66, 54, 59]
Generated Node #0,3: 49:[66, 54, 59] Operation: 32+27=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[66, 54, 5], Operations: ['32-27=5']
Exploring Operation: 66-54=12, Resulting Numbers: [5, 12]
Generated Node #0,2,0: 49:[5, 12] Operation: 66-54=12
Exploring Operation: 54-5=49, Resulting Numbers: [66, 49]
Generated Node #0,2,1: 49:[66, 49] Operation: 54-5=49
Exploring Operation: 66+5=71, Resulting Numbers: [54, 71]
Generated Node #0,2,2: 49:[54, 71] Operation: 66+5=71
Exploring Operation: 66-5=61, Resulting Numbers: [54, 61]
Generated Node #0,2,3: 49:[54, 61] Operation: 66-5=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[5, 12], Operations: ['32-27=5', '66-54=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[66, 49], Operations: ['32-27=5', '54-5=49']
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,49 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[54, 61], Operations: ['32-27=5', '66-5=61']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[54, 71], Operations: ['32-27=5', '66+5=71']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[32, 54, 39], Operations: ['66-27=39']
Exploring Operation: 54-32=22, Resulting Numbers: [39, 22]
Generated Node #0,0,0: 49:[39, 22] Operation: 54-32=22
Exploring Operation: 39-32=7, Resulting Numbers: [54, 7]
Generated Node #0,0,1: 49:[54, 7] Operation: 39-32=7
Exploring Operation: 32+39=71, Resulting Numbers: [54, 71]
Generated Node #0,0,2: 49:[54, 71] Operation: 32+39=71
Exploring Operation: 54-39=15, Resulting Numbers: [32, 15]
Generated Node #0,0,3: 49:[32, 15] Operation: 54-39=15
Moving to Node #0,0,1
Current State: 49:[54, 7], Operations: ['66-27=39', '39-32=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,49 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[32, 15], Operations: ['66-27=39', '54-39=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,49 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[39, 22], Operations: ['66-27=39', '54-32=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,49 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[54, 71], Operations: ['66-27=39', '32+39=71']
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,49 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[66, 54, 59], Operations: ['32+27=59']
Exploring Operation: 66-54=12, Resulting Numbers: [59, 12]
Generated Node #0,3,0: 49:[59, 12] Operation: 66-54=12
Exploring Operation: 59-54=5, Resulting Numbers: [66, 5]
Generated Node #0,3,1: 49:[66, 5] Operation: 59-54=5
Exploring Operation: 66+54=120, Resulting Numbers: [59, 120]
Generated Node #0,3,2: 49:[59, 120] Operation: 66+54=120
Exploring Operation: 66-59=7, Resulting Numbers: [54, 7]
Generated Node #0,3,3: 49:[54, 7] Operation: 66-59=7
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[54, 7], Operations: ['32+27=59', '66-59=7']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,49 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[59, 12], Operations: ['32+27=59', '66-54=12']
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[66, 5], Operations: ['32+27=59', '59-54=5']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[59, 120], Operations: ['32+27=59', '66+54=120']
Exploring Operation: 120-59=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 59*120=7080, Resulting Numbers: [7080]
7080,49 unequal: No Solution
Exploring Operation: 59+120=179, Resulting Numbers: [179]
179,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[32, 66, 2], Operations: ['54/27=2']
Exploring Operation: 66-32=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 49:[2, 34] Operation: 66-32=34
Exploring Operation: 32*2=64, Resulting Numbers: [66, 64]
Generated Node #0,1,1: 49:[66, 64] Operation: 32*2=64
Exploring Operation: 32/2=16, Resulting Numbers: [66, 16]
Generated Node #0,1,2: 49:[66, 16] Operation: 32/2=16
Exploring Operation: 32+2=34, Resulting Numbers: [66, 34]
Generated Node #0,1,3: 49:[66, 34] Operation: 32+2=34
Moving to Node #0,1,0
Current State: 49:[2, 34], Operations: ['54/27=2', '66-32=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,49 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[66, 16], Operations: ['54/27=2', '32/2=16']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,49 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[66, 34], Operations: ['54/27=2', '32+2=34']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[66, 64], Operations: ['54/27=2', '32*2=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,49 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 |
[
3,
40,
15,
10
] | 22 | [
"3+15=18",
"40/10=4",
"18+4=22"
] | Current State: 22:[3, 40, 15, 10], Operations: []
Exploring Operation: 3+15=18, Resulting Numbers: [40, 10, 18]
Generated Node #2: [40, 10, 18] from Operation: 3+15=18
Current State: 22:[40, 10, 18], Operations: ['3+15=18']
Exploring Operation: 40/10=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 40/10=4
Current State: 22:[18, 4], Operations: ['3+15=18', '40/10=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 40, 15, 10], Operations: []
Exploring Operation: 40-15=25, Resulting Numbers: [3, 10, 25]
Generated Node #0,0: 22:[3, 10, 25] Operation: 40-15=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[3, 10, 25], Operations: ['40-15=25']
Exploring Operation: 25-3=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 22:[10, 22] Operation: 25-3=22
Moving to Node #0,0,0
Current State: 22:[10, 22], Operations: ['40-15=25', '25-3=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,22 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 |
[
88,
44,
64,
66
] | 80 | [
"44+66=110",
"64*110=7040",
"7040/88=80"
] | Current State: 80:[88, 44, 64, 66], Operations: []
Exploring Operation: 44+66=110, Resulting Numbers: [88, 64, 110]
Generated Node #2: [88, 64, 110] from Operation: 44+66=110
Current State: 80:[88, 64, 110], Operations: ['44+66=110']
Exploring Operation: 64*110=7040, Resulting Numbers: [88, 7040]
Generated Node #3: [88, 7040] from Operation: 64*110=7040
Current State: 80:[88, 7040], Operations: ['44+66=110', '64*110=7040']
Exploring Operation: 7040/88=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[88, 44, 64, 66], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [88, 44, 2]
Generated Node #0,0: 80:[88, 44, 2] Operation: 66-64=2
Moving to Node #0,0
Current State: 80:[88, 44, 2], Operations: ['66-64=2']
Exploring Operation: 88/44=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 80:[2, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[2, 2], Operations: ['66-64=2', '88/44=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,80 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 |
[
79,
83,
19,
61
] | 84 | [
"83-79=4",
"19+61=80",
"4+80=84"
] | Current State: 84:[79, 83, 19, 61], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [19, 61, 4]
Generated Node #2: [19, 61, 4] from Operation: 83-79=4
Current State: 84:[19, 61, 4], Operations: ['83-79=4']
Exploring Operation: 19+61=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 19+61=80
Current State: 84:[4, 80], Operations: ['83-79=4', '19+61=80']
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[79, 83, 19, 61], Operations: []
Exploring Operation: 61-19=42, Resulting Numbers: [79, 83, 42]
Generated Node #0,0: 84:[79, 83, 42] Operation: 61-19=42
Exploring Operation: 83-61=22, Resulting Numbers: [79, 19, 22]
Generated Node #0,1: 84:[79, 19, 22] Operation: 83-61=22
Exploring Operation: 79-61=18, Resulting Numbers: [83, 19, 18]
Generated Node #0,2: 84:[83, 19, 18] Operation: 79-61=18
Moving to Node #0,0
Current State: 84:[79, 83, 42], Operations: ['61-19=42']
Exploring Operation: 79-42=37, Resulting Numbers: [83, 37]
Generated Node #0,0,0: 84:[83, 37] Operation: 79-42=37
Exploring Operation: 83-42=41, Resulting Numbers: [79, 41]
Generated Node #0,0,1: 84:[79, 41] Operation: 83-42=41
Exploring Operation: 83-79=4, Resulting Numbers: [42, 4]
Generated Node #0,0,2: 84:[42, 4] Operation: 83-79=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[42, 4], Operations: ['61-19=42', '83-79=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 37], Operations: ['61-19=42', '79-42=37']
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[79, 41], Operations: ['61-19=42', '83-42=41']
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,84 unequal: No Solution
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,84 unequal: No Solution
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[83, 19, 18], Operations: ['79-61=18']
Exploring Operation: 19-18=1, Resulting Numbers: [83, 1]
Generated Node #0,2,0: 84:[83, 1] Operation: 19-18=1
Exploring Operation: 83+18=101, Resulting Numbers: [19, 101]
Generated Node #0,2,1: 84:[19, 101] Operation: 83+18=101
Exploring Operation: 19+18=37, Resulting Numbers: [83, 37]
Generated Node #0,2,2: 84:[83, 37] Operation: 19+18=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[83, 1], Operations: ['79-61=18', '19-18=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[79, 83, 19, 61], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [83, 19, 18]
Generated Node #0,2: 84:[83, 19, 18] Operation: 79-61=18
Moving to Node #0,2
Current State: 84:[83, 19, 18], Operations: ['79-61=18']
Exploring Operation: 19-18=1, Resulting Numbers: [83, 1]
Generated Node #0,2,0: 84:[83, 1] Operation: 19-18=1
Moving to Node #0,2,0
Current State: 84:[83, 1], Operations: ['79-61=18', '19-18=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
65,
45,
92,
58
] | 76 | [
"65+45=110",
"92-58=34",
"110-34=76"
] | Current State: 76:[65, 45, 92, 58], Operations: []
Exploring Operation: 65+45=110, Resulting Numbers: [92, 58, 110]
Generated Node #2: [92, 58, 110] from Operation: 65+45=110
Current State: 76:[92, 58, 110], Operations: ['65+45=110']
Exploring Operation: 92-58=34, Resulting Numbers: [110, 34]
Generated Node #3: [110, 34] from Operation: 92-58=34
Current State: 76:[110, 34], Operations: ['65+45=110', '92-58=34']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[65, 45, 92, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [65, 45, 34]
Generated Node #0,0: 76:[65, 45, 34] Operation: 92-58=34
Exploring Operation: 65-58=7, Resulting Numbers: [45, 92, 7]
Generated Node #0,1: 76:[45, 92, 7] Operation: 65-58=7
Exploring Operation: 65-45=20, Resulting Numbers: [92, 58, 20]
Generated Node #0,2: 76:[92, 58, 20] Operation: 65-45=20
Exploring Operation: 58-45=13, Resulting Numbers: [65, 92, 13]
Generated Node #0,3: 76:[65, 92, 13] Operation: 58-45=13
Exploring Operation: 92-65=27, Resulting Numbers: [45, 58, 27]
Generated Node #0,4: 76:[45, 58, 27] Operation: 92-65=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[65, 45, 34], Operations: ['92-58=34']
Exploring Operation: 65-45=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 76:[34, 20] Operation: 65-45=20
Exploring Operation: 65-34=31, Resulting Numbers: [45, 31]
Generated Node #0,0,1: 76:[45, 31] Operation: 65-34=31
Exploring Operation: 45+34=79, Resulting Numbers: [65, 79]
Generated Node #0,0,2: 76:[65, 79] Operation: 45+34=79
Exploring Operation: 45-34=11, Resulting Numbers: [65, 11]
Generated Node #0,0,3: 76:[65, 11] Operation: 45-34=11
Exploring Operation: 65+34=99, Resulting Numbers: [45, 99]
Generated Node #0,0,4: 76:[45, 99] Operation: 65+34=99
Moving to Node #0,0,0
Current State: 76:[34, 20], Operations: ['92-58=34', '65-45=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,76 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,76 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[65, 79], Operations: ['92-58=34', '45+34=79']
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,76 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[45, 31], Operations: ['92-58=34', '65-34=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,76 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[65, 45, 92, 58], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [65, 45, 34]
Generated Node #0,0: 76:[65, 45, 34] Operation: 92-58=34
Moving to Node #0,0
Current State: 76:[65, 45, 34], Operations: ['92-58=34']
Exploring Operation: 65-34=31, Resulting Numbers: [45, 31]
Generated Node #0,0,1: 76:[45, 31] Operation: 65-34=31
Moving to Node #0,0,1
Current State: 76:[45, 31], Operations: ['92-58=34', '65-34=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
93,
12,
90,
91
] | 51 | [
"93-91=2",
"12+90=102",
"102/2=51"
] | Current State: 51:[93, 12, 90, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [12, 90, 2]
Generated Node #2: [12, 90, 2] from Operation: 93-91=2
Current State: 51:[12, 90, 2], Operations: ['93-91=2']
Exploring Operation: 12+90=102, Resulting Numbers: [2, 102]
Generated Node #3: [2, 102] from Operation: 12+90=102
Current State: 51:[2, 102], Operations: ['93-91=2', '12+90=102']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[93, 12, 90, 91], Operations: []
Exploring Operation: 93-12=81, Resulting Numbers: [90, 91, 81]
Generated Node #0,0: 51:[90, 91, 81] Operation: 93-12=81
Exploring Operation: 93-90=3, Resulting Numbers: [12, 91, 3]
Generated Node #0,1: 51:[12, 91, 3] Operation: 93-90=3
Exploring Operation: 90-12=78, Resulting Numbers: [93, 91, 78]
Generated Node #0,2: 51:[93, 91, 78] Operation: 90-12=78
Exploring Operation: 91-90=1, Resulting Numbers: [93, 12, 1]
Generated Node #0,3: 51:[93, 12, 1] Operation: 91-90=1
Exploring Operation: 93-91=2, Resulting Numbers: [12, 90, 2]
Generated Node #0,4: 51:[12, 90, 2] Operation: 93-91=2
Moving to Node #0,1
Current State: 51:[12, 91, 3], Operations: ['93-90=3']
Exploring Operation: 91-3=88, Resulting Numbers: [12, 88]
Generated Node #0,1,0: 51:[12, 88] Operation: 91-3=88
Exploring Operation: 12/3=4, Resulting Numbers: [91, 4]
Generated Node #0,1,1: 51:[91, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [91, 9]
Generated Node #0,1,2: 51:[91, 9] Operation: 12-3=9
Exploring Operation: 12+3=15, Resulting Numbers: [91, 15]
Generated Node #0,1,3: 51:[91, 15] Operation: 12+3=15
Exploring Operation: 91-12=79, Resulting Numbers: [3, 79]
Generated Node #0,1,4: 51:[3, 79] Operation: 91-12=79
Moving to Node #0,4
Current State: 51:[12, 90, 2], Operations: ['93-91=2']
Exploring Operation: 90-2=88, Resulting Numbers: [12, 88]
Generated Node #0,4,0: 51:[12, 88] Operation: 90-2=88
Exploring Operation: 12/2=6, Resulting Numbers: [90, 6]
Generated Node #0,4,1: 51:[90, 6] Operation: 12/2=6
Exploring Operation: 12+2=14, Resulting Numbers: [90, 14]
Generated Node #0,4,2: 51:[90, 14] Operation: 12+2=14
Exploring Operation: 90-12=78, Resulting Numbers: [2, 78]
Generated Node #0,4,3: 51:[2, 78] Operation: 90-12=78
Exploring Operation: 90/2=45, Resulting Numbers: [12, 45]
Generated Node #0,4,4: 51:[12, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 51:[12, 45], Operations: ['93-91=2', '90/2=45']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 51:[2, 78], Operations: ['93-91=2', '90-12=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 2*78=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,51 unequal: No Solution
No 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: 51:[12, 88], Operations: ['93-91=2', '90-2=88']
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,51 unequal: No Solution
No 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: 51:[90, 6], Operations: ['93-91=2', '12/2=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,51 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,51 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No 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: 51:[90, 14], Operations: ['93-91=2', '12+2=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,51 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: 51:[93, 12, 1], Operations: ['91-90=1']
Exploring Operation: 93-1=92, Resulting Numbers: [12, 92]
Generated Node #0,3,0: 51:[12, 92] Operation: 93-1=92
Exploring Operation: 93/1=93, Resulting Numbers: [12, 93]
Generated Node #0,3,1: 51:[12, 93] Operation: 93/1=93
Exploring Operation: 12+1=13, Resulting Numbers: [93, 13]
Generated Node #0,3,2: 51:[93, 13] Operation: 12+1=13
Exploring Operation: 93-12=81, Resulting Numbers: [1, 81]
Generated Node #0,3,3: 51:[1, 81] Operation: 93-12=81
Exploring Operation: 93*1=93, Resulting Numbers: [12, 93]
Generated Node #0,3,4: 51:[12, 93] Operation: 93*1=93
Moving to Node #0,0
Current State: 51:[90, 91, 81], Operations: ['93-12=81']
Exploring Operation: 90-81=9, Resulting Numbers: [91, 9]
Generated Node #0,0,0: 51:[91, 9] Operation: 90-81=9
Exploring Operation: 90+81=171, Resulting Numbers: [91, 171]
Generated Node #0,0,1: 51:[91, 171] Operation: 90+81=171
Exploring Operation: 91-90=1, Resulting Numbers: [81, 1]
Generated Node #0,0,2: 51:[81, 1] Operation: 91-90=1
Exploring Operation: 90+91=181, Resulting Numbers: [81, 181]
Generated Node #0,0,3: 51:[81, 181] Operation: 90+91=181
Exploring Operation: 91-81=10, Resulting Numbers: [90, 10]
Generated Node #0,0,4: 51:[90, 10] Operation: 91-81=10
Moving to Node #0,2
Current State: 51:[93, 91, 78], Operations: ['90-12=78']
Exploring Operation: 93-91=2, Resulting Numbers: [78, 2]
Generated Node #0,2,0: 51:[78, 2] Operation: 93-91=2
Exploring Operation: 93+78=171, Resulting Numbers: [91, 171]
Generated Node #0,2,1: 51:[91, 171] Operation: 93+78=171
Exploring Operation: 93+91=184, Resulting Numbers: [78, 184]
Generated Node #0,2,2: 51:[78, 184] Operation: 93+91=184
Exploring Operation: 91-78=13, Resulting Numbers: [93, 13]
Generated Node #0,2,3: 51:[93, 13] Operation: 91-78=13
Exploring Operation: 93-78=15, Resulting Numbers: [91, 15]
Generated Node #0,2,4: 51:[91, 15] Operation: 93-78=15
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[78, 2], Operations: ['90-12=78', '93-91=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,51 unequal: No Solution
No 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: 51:[91, 15], Operations: ['90-12=78', '93-78=15']
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,51 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,51 unequal: No Solution
No 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: 51:[93, 13], Operations: ['90-12=78', '91-78=13']
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,51 unequal: No Solution
No 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: 51:[91, 171], Operations: ['90-12=78', '93+78=171']
Exploring Operation: 91*171=15561, Resulting Numbers: [15561]
15561,51 unequal: No Solution
Exploring Operation: 171-91=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 91+171=262, Resulting Numbers: [262]
262,51 unequal: No Solution
No 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: 51:[78, 184], Operations: ['90-12=78', '93+91=184']
Exploring Operation: 78+184=262, Resulting Numbers: [262]
262,51 unequal: No Solution
Exploring Operation: 78*184=14352, Resulting Numbers: [14352]
14352,51 unequal: No Solution
Exploring Operation: 184-78=106, Resulting Numbers: [106]
106,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 51:[3, 79], Operations: ['93-90=3', '91-12=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[1, 81], Operations: ['91-90=1', '93-12=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[81, 1], Operations: ['93-12=81', '91-90=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[91, 4], Operations: ['93-90=3', '12/3=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,51 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[12, 88], Operations: ['93-90=3', '91-3=88']
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,51 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[91, 15], Operations: ['93-90=3', '12+3=15']
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,51 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[12, 92], Operations: ['91-90=1', '93-1=92']
Exploring Operation: 12+92=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 12*92=1104, Resulting Numbers: [1104]
1104,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[91, 9], Operations: ['93-12=81', '90-81=9']
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,51 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[90, 10], Operations: ['93-12=81', '91-81=10']
Exploring Operation: 90*10=900, Resulting Numbers: [900]
900,51 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[91, 9], Operations: ['93-90=3', '12-3=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[93, 13], Operations: ['91-90=1', '12+1=13']
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,51 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[12, 93], Operations: ['91-90=1', '93/1=93']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 12*93=1116, Resulting Numbers: [1116]
1116,51 unequal: No Solution
Exploring Operation: 12+93=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[12, 93], Operations: ['91-90=1', '93*1=93']
Exploring Operation: 12+93=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 12*93=1116, Resulting Numbers: [1116]
1116,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[91, 171], Operations: ['93-12=81', '90+81=171']
Exploring Operation: 91*171=15561, Resulting Numbers: [15561]
15561,51 unequal: No Solution
Exploring Operation: 91+171=262, Resulting Numbers: [262]
262,51 unequal: No Solution
Exploring Operation: 171-91=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[81, 181], Operations: ['93-12=81', '90+91=181']
Exploring Operation: 81+181=262, Resulting Numbers: [262]
262,51 unequal: No Solution
Exploring Operation: 181-81=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 81*181=14661, Resulting Numbers: [14661]
14661,51 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
76,
16,
1
] | 46 | [
"76-15=61",
"16-1=15",
"61-15=46"
] | Current State: 46:[15, 76, 16, 1], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [16, 1, 61]
Generated Node #2: [16, 1, 61] from Operation: 76-15=61
Current State: 46:[16, 1, 61], Operations: ['76-15=61']
Exploring Operation: 16-1=15, Resulting Numbers: [61, 15]
Generated Node #3: [61, 15] from Operation: 16-1=15
Current State: 46:[61, 15], Operations: ['76-15=61', '16-1=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[15, 76, 16, 1], Operations: []
Exploring Operation: 15+16=31, Resulting Numbers: [76, 1, 31]
Generated Node #0,0: 46:[76, 1, 31] Operation: 15+16=31
Exploring Operation: 76-15=61, Resulting Numbers: [16, 1, 61]
Generated Node #0,1: 46:[16, 1, 61] Operation: 76-15=61
Exploring Operation: 76-16=60, Resulting Numbers: [15, 1, 60]
Generated Node #0,2: 46:[15, 1, 60] Operation: 76-16=60
Exploring Operation: 16-15=1, Resulting Numbers: [76, 1, 1]
Generated Node #0,3: 46:[76, 1, 1] Operation: 16-15=1
Moving to Node #0,1
Current State: 46:[16, 1, 61], Operations: ['76-15=61']
Exploring Operation: 16*1=16, Resulting Numbers: [61, 16]
Generated Node #0,1,0: 46:[61, 16] Operation: 16*1=16
Exploring Operation: 61-1=60, Resulting Numbers: [16, 60]
Generated Node #0,1,1: 46:[16, 60] Operation: 61-1=60
Exploring Operation: 16+1=17, Resulting Numbers: [61, 17]
Generated Node #0,1,2: 46:[61, 17] Operation: 16+1=17
Exploring Operation: 61-16=45, Resulting Numbers: [1, 45]
Generated Node #0,1,3: 46:[1, 45] Operation: 61-16=45
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[1, 45], Operations: ['76-15=61', '61-16=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[15, 76, 16, 1], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [16, 1, 61]
Generated Node #0,1: 46:[16, 1, 61] Operation: 76-15=61
Moving to Node #0,1
Current State: 46:[16, 1, 61], Operations: ['76-15=61']
Exploring Operation: 61-16=45, Resulting Numbers: [1, 45]
Generated Node #0,1,3: 46:[1, 45] Operation: 61-16=45
Moving to Node #0,1,3
Current State: 46:[1, 45], Operations: ['76-15=61', '61-16=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
98,
19,
41,
92
] | 54 | [
"98-19=79",
"41+92=133",
"133-79=54"
] | Current State: 54:[98, 19, 41, 92], Operations: []
Exploring Operation: 98-19=79, Resulting Numbers: [41, 92, 79]
Generated Node #2: [41, 92, 79] from Operation: 98-19=79
Current State: 54:[41, 92, 79], Operations: ['98-19=79']
Exploring Operation: 41+92=133, Resulting Numbers: [79, 133]
Generated Node #3: [79, 133] from Operation: 41+92=133
Current State: 54:[79, 133], Operations: ['98-19=79', '41+92=133']
Exploring Operation: 133-79=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[98, 19, 41, 92], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [19, 92, 57]
Generated Node #0,0: 54:[19, 92, 57] Operation: 98-41=57
Exploring Operation: 98-19=79, Resulting Numbers: [41, 92, 79]
Generated Node #0,1: 54:[41, 92, 79] Operation: 98-19=79
Exploring Operation: 92-41=51, Resulting Numbers: [98, 19, 51]
Generated Node #0,2: 54:[98, 19, 51] Operation: 92-41=51
Exploring Operation: 98-92=6, Resulting Numbers: [19, 41, 6]
Generated Node #0,3: 54:[19, 41, 6] Operation: 98-92=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[19, 41, 6], Operations: ['98-92=6']
Exploring Operation: 41+6=47, Resulting Numbers: [19, 47]
Generated Node #0,3,0: 54:[19, 47] Operation: 41+6=47
Exploring Operation: 41-19=22, Resulting Numbers: [6, 22]
Generated Node #0,3,1: 54:[6, 22] Operation: 41-19=22
Exploring Operation: 41-6=35, Resulting Numbers: [19, 35]
Generated Node #0,3,2: 54:[19, 35] Operation: 41-6=35
Exploring Operation: 19+41=60, Resulting Numbers: [6, 60]
Generated Node #0,3,3: 54:[6, 60] Operation: 19+41=60
Moving to Node #0,3,1
Current State: 54:[6, 22], Operations: ['98-92=6', '41-19=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,54 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[6, 60], Operations: ['98-92=6', '19+41=60']
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,54 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,54 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[98, 19, 41, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [19, 41, 6]
Generated Node #0,3: 54:[19, 41, 6] Operation: 98-92=6
Moving to Node #0,3
Current State: 54:[19, 41, 6], Operations: ['98-92=6']
Exploring Operation: 19+41=60, Resulting Numbers: [6, 60]
Generated Node #0,3,3: 54:[6, 60] Operation: 19+41=60
Moving to Node #0,3,3
Current State: 54:[6, 60], Operations: ['98-92=6', '19+41=60']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
32,
19,
5,
52
] | 96 | [
"5+52=57",
"32*57=1824",
"1824/19=96"
] | Current State: 96:[32, 19, 5, 52], Operations: []
Exploring Operation: 5+52=57, Resulting Numbers: [32, 19, 57]
Generated Node #2: [32, 19, 57] from Operation: 5+52=57
Current State: 96:[32, 19, 57], Operations: ['5+52=57']
Exploring Operation: 32*57=1824, Resulting Numbers: [19, 1824]
Generated Node #3: [19, 1824] from Operation: 32*57=1824
Current State: 96:[19, 1824], Operations: ['5+52=57', '32*57=1824']
Exploring Operation: 1824/19=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[32, 19, 5, 52], Operations: []
Exploring Operation: 52-19=33, Resulting Numbers: [32, 5, 33]
Generated Node #0,0: 96:[32, 5, 33] Operation: 52-19=33
Exploring Operation: 19+5=24, Resulting Numbers: [32, 52, 24]
Generated Node #0,1: 96:[32, 52, 24] Operation: 19+5=24
Moving to Node #0,0
Current State: 96:[32, 5, 33], Operations: ['52-19=33']
Exploring Operation: 33-32=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 96:[5, 1] Operation: 33-32=1
Exploring Operation: 32-5=27, Resulting Numbers: [33, 27]
Generated Node #0,0,1: 96:[33, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[5, 1], Operations: ['52-19=33', '33-32=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[33, 27], Operations: ['52-19=33', '32-5=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,96 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: 96:[32, 52, 24], Operations: ['19+5=24']
Exploring Operation: 52-32=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 96:[24, 20] Operation: 52-32=20
Exploring Operation: 32-24=8, Resulting Numbers: [52, 8]
Generated Node #0,1,1: 96:[52, 8] Operation: 32-24=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[24, 20], Operations: ['19+5=24', '52-32=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[52, 8], Operations: ['19+5=24', '32-24=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,96 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 |
[
53,
2,
62,
85
] | 83 | [
"53*2=106",
"85-62=23",
"106-23=83"
] | Current State: 83:[53, 2, 62, 85], Operations: []
Exploring Operation: 53*2=106, Resulting Numbers: [62, 85, 106]
Generated Node #2: [62, 85, 106] from Operation: 53*2=106
Current State: 83:[62, 85, 106], Operations: ['53*2=106']
Exploring Operation: 85-62=23, Resulting Numbers: [106, 23]
Generated Node #3: [106, 23] from Operation: 85-62=23
Current State: 83:[106, 23], Operations: ['53*2=106', '85-62=23']
Exploring Operation: 106-23=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[53, 2, 62, 85], Operations: []
Exploring Operation: 53*2=106, Resulting Numbers: [62, 85, 106]
Generated Node #0,0: 83:[62, 85, 106] Operation: 53*2=106
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[62, 85, 106], Operations: ['53*2=106']
Exploring Operation: 106-62=44, Resulting Numbers: [85, 44]
Generated Node #0,0,0: 83:[85, 44] Operation: 106-62=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[85, 44], Operations: ['53*2=106', '106-62=44']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
54,
89,
13
] | 72 | [
"54-50=4",
"89-13=76",
"76-4=72"
] | Current State: 72:[50, 54, 89, 13], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [89, 13, 4]
Generated Node #2: [89, 13, 4] from Operation: 54-50=4
Current State: 72:[89, 13, 4], Operations: ['54-50=4']
Exploring Operation: 89-13=76, Resulting Numbers: [4, 76]
Generated Node #3: [4, 76] from Operation: 89-13=76
Current State: 72:[4, 76], Operations: ['54-50=4', '89-13=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[50, 54, 89, 13], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [50, 13, 35]
Generated Node #0,0: 72:[50, 13, 35] Operation: 89-54=35
Exploring Operation: 54-50=4, Resulting Numbers: [89, 13, 4]
Generated Node #0,1: 72:[89, 13, 4] Operation: 54-50=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[50, 13, 35], Operations: ['89-54=35']
Exploring Operation: 50-13=37, Resulting Numbers: [35, 37]
Generated Node #0,0,0: 72:[35, 37] Operation: 50-13=37
Exploring Operation: 50-35=15, Resulting Numbers: [13, 15]
Generated Node #0,0,1: 72:[13, 15] Operation: 50-35=15
Moving to Node #0,0,0
Current State: 72:[35, 37], Operations: ['89-54=35', '50-13=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[50, 54, 89, 13], Operations: []
Exploring Operation: 89-54=35, Resulting Numbers: [50, 13, 35]
Generated Node #0,0: 72:[50, 13, 35] Operation: 89-54=35
Moving to Node #0,0
Current State: 72:[50, 13, 35], Operations: ['89-54=35']
Exploring Operation: 50-13=37, Resulting Numbers: [35, 37]
Generated Node #0,0,0: 72:[35, 37] Operation: 50-13=37
Moving to Node #0,0,0
Current State: 72:[35, 37], Operations: ['89-54=35', '50-13=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
64,
23,
2,
32
] | 25 | [
"64-23=41",
"32/2=16",
"41-16=25"
] | Current State: 25:[64, 23, 2, 32], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [2, 32, 41]
Generated Node #2: [2, 32, 41] from Operation: 64-23=41
Current State: 25:[2, 32, 41], Operations: ['64-23=41']
Exploring Operation: 32/2=16, Resulting Numbers: [41, 16]
Generated Node #3: [41, 16] from Operation: 32/2=16
Current State: 25:[41, 16], Operations: ['64-23=41', '32/2=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[64, 23, 2, 32], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [2, 32, 41]
Generated Node #0,0: 25:[2, 32, 41] Operation: 64-23=41
Exploring Operation: 64/2=32, Resulting Numbers: [23, 32, 32]
Generated Node #0,1: 25:[23, 32, 32] Operation: 64/2=32
Exploring Operation: 64-32=32, Resulting Numbers: [23, 2, 32]
Generated Node #0,2: 25:[23, 2, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [23, 2, 2]
Generated Node #0,3: 25:[23, 2, 2] Operation: 64/32=2
Moving to Node #0,3
Current State: 25:[23, 2, 2], Operations: ['64/32=2']
Exploring Operation: 23+2=25, Resulting Numbers: [2, 25]
Generated Node #0,3,0: 25:[2, 25] Operation: 23+2=25
Exploring Operation: 2*2=4, Resulting Numbers: [23, 4]
Generated Node #0,3,1: 25:[23, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [23, 4]
Generated Node #0,3,2: 25:[23, 4] Operation: 2+2=4
Exploring Operation: 23+2=25, Resulting Numbers: [2, 25]
Generated Node #0,3,3: 25:[2, 25] Operation: 23+2=25
Moving to Node #0,2
Current State: 25:[23, 2, 32], Operations: ['64-32=32']
Exploring Operation: 32-23=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 25:[2, 9] Operation: 32-23=9
Exploring Operation: 32-2=30, Resulting Numbers: [23, 30]
Generated Node #0,2,1: 25:[23, 30] Operation: 32-2=30
Exploring Operation: 23-2=21, Resulting Numbers: [32, 21]
Generated Node #0,2,2: 25:[32, 21] Operation: 23-2=21
Exploring Operation: 23+2=25, Resulting Numbers: [32, 25]
Generated Node #0,2,3: 25:[32, 25] Operation: 23+2=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[2, 9], Operations: ['64-32=32', '32-23=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[23, 30], Operations: ['64-32=32', '32-2=30']
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,25 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[32, 25], Operations: ['64-32=32', '23+2=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,25 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[32, 21], Operations: ['64-32=32', '23-2=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 25:[23, 32, 32], Operations: ['64/2=32']
Exploring Operation: 32/32=1, Resulting Numbers: [23, 1]
Generated Node #0,1,0: 25:[23, 1] Operation: 32/32=1
Exploring Operation: 32-23=9, Resulting Numbers: [32, 9]
Generated Node #0,1,1: 25:[32, 9] Operation: 32-23=9
Exploring Operation: 32-32=0, Resulting Numbers: [23, 0]
Generated Node #0,1,2: 25:[23, 0] Operation: 32-32=0
Exploring Operation: 32-23=9, Resulting Numbers: [32, 9]
Generated Node #0,1,3: 25:[32, 9] Operation: 32-23=9
Moving to Node #0,0
Current State: 25:[2, 32, 41], Operations: ['64-23=41']
Exploring Operation: 41-2=39, Resulting Numbers: [32, 39]
Generated Node #0,0,0: 25:[32, 39] Operation: 41-2=39
Exploring Operation: 41-32=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 25:[2, 9] Operation: 41-32=9
Exploring Operation: 2+32=34, Resulting Numbers: [41, 34]
Generated Node #0,0,2: 25:[41, 34] Operation: 2+32=34
Exploring Operation: 32-2=30, Resulting Numbers: [41, 30]
Generated Node #0,0,3: 25:[41, 30] Operation: 32-2=30
Moving to Node #0,3,0
Current State: 25:[2, 25], Operations: ['64/32=2', '23+2=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[23, 4], Operations: ['64/32=2', '2+2=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[23, 4], Operations: ['64/32=2', '2*2=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,25 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[2, 25], Operations: ['64/32=2', '23+2=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[23, 1], Operations: ['64/2=32', '32/32=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[23, 0], Operations: ['64/2=32', '32-32=0']
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[2, 9], Operations: ['64-23=41', '41-32=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[32, 9], Operations: ['64/2=32', '32-23=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[32, 9], Operations: ['64/2=32', '32-23=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[41, 30], Operations: ['64-23=41', '32-2=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[32, 39], Operations: ['64-23=41', '41-2=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,25 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[41, 34], Operations: ['64-23=41', '2+32=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,25 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
21,
38,
48
] | 11 | [
"38*48=1824",
"1824/57=32",
"32-21=11"
] | Current State: 11:[57, 21, 38, 48], Operations: []
Exploring Operation: 38*48=1824, Resulting Numbers: [57, 21, 1824]
Generated Node #2: [57, 21, 1824] from Operation: 38*48=1824
Current State: 11:[57, 21, 1824], Operations: ['38*48=1824']
Exploring Operation: 1824/57=32, Resulting Numbers: [21, 32]
Generated Node #3: [21, 32] from Operation: 1824/57=32
Current State: 11:[21, 32], Operations: ['38*48=1824', '1824/57=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[57, 21, 38, 48], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [21, 38, 9]
Generated Node #0,0: 11:[21, 38, 9] Operation: 57-48=9
Moving to Node #0,0
Current State: 11:[21, 38, 9], Operations: ['57-48=9']
Exploring Operation: 38-21=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 11:[9, 17] Operation: 38-21=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[9, 17], Operations: ['57-48=9', '38-21=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,11 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 |
[
80,
2,
36,
79
] | 74 | [
"80+36=116",
"116-79=37",
"2*37=74"
] | Current State: 74:[80, 2, 36, 79], Operations: []
Exploring Operation: 80+36=116, Resulting Numbers: [2, 79, 116]
Generated Node #2: [2, 79, 116] from Operation: 80+36=116
Current State: 74:[2, 79, 116], Operations: ['80+36=116']
Exploring Operation: 116-79=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 116-79=37
Current State: 74:[2, 37], Operations: ['80+36=116', '116-79=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[80, 2, 36, 79], Operations: []
Exploring Operation: 80-2=78, Resulting Numbers: [36, 79, 78]
Generated Node #0,0: 74:[36, 79, 78] Operation: 80-2=78
Exploring Operation: 80-79=1, Resulting Numbers: [2, 36, 1]
Generated Node #0,1: 74:[2, 36, 1] Operation: 80-79=1
Exploring Operation: 80/2=40, Resulting Numbers: [36, 79, 40]
Generated Node #0,2: 74:[36, 79, 40] Operation: 80/2=40
Exploring Operation: 79-2=77, Resulting Numbers: [80, 36, 77]
Generated Node #0,3: 74:[80, 36, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 36, 1], Operations: ['80-79=1']
Exploring Operation: 2/1=2, Resulting Numbers: [36, 2]
Generated Node #0,1,0: 74:[36, 2] Operation: 2/1=2
Exploring Operation: 36+1=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 74:[2, 37] Operation: 36+1=37
Exploring Operation: 36*1=36, Resulting Numbers: [2, 36]
Generated Node #0,1,2: 74:[2, 36] Operation: 36*1=36
Exploring Operation: 2*1=2, Resulting Numbers: [36, 2]
Generated Node #0,1,3: 74:[36, 2] Operation: 2*1=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[2, 37], Operations: ['80-79=1', '36+1=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[80, 2, 36, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [2, 36, 1]
Generated Node #0,1: 74:[2, 36, 1] Operation: 80-79=1
Moving to Node #0,1
Current State: 74:[2, 36, 1], Operations: ['80-79=1']
Exploring Operation: 36+1=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 74:[2, 37] Operation: 36+1=37
Moving to Node #0,1,1
Current State: 74:[2, 37], Operations: ['80-79=1', '36+1=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
12,
70,
7,
23
] | 75 | [
"12+23=35",
"35/7=5",
"70+5=75"
] | Current State: 75:[12, 70, 7, 23], Operations: []
Exploring Operation: 12+23=35, Resulting Numbers: [70, 7, 35]
Generated Node #2: [70, 7, 35] from Operation: 12+23=35
Current State: 75:[70, 7, 35], Operations: ['12+23=35']
Exploring Operation: 35/7=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 35/7=5
Current State: 75:[70, 5], Operations: ['12+23=35', '35/7=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 70, 7, 23], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [70, 23, 5]
Generated Node #0,0: 75:[70, 23, 5] Operation: 12-7=5
Exploring Operation: 70+7=77, Resulting Numbers: [12, 23, 77]
Generated Node #0,1: 75:[12, 23, 77] Operation: 70+7=77
Exploring Operation: 23-7=16, Resulting Numbers: [12, 70, 16]
Generated Node #0,2: 75:[12, 70, 16] Operation: 23-7=16
Exploring Operation: 70/7=10, Resulting Numbers: [12, 23, 10]
Generated Node #0,3: 75:[12, 23, 10] Operation: 70/7=10
Exploring Operation: 12+70=82, Resulting Numbers: [7, 23, 82]
Generated Node #0,4: 75:[7, 23, 82] Operation: 12+70=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[70, 23, 5], Operations: ['12-7=5']
Exploring Operation: 70/5=14, Resulting Numbers: [23, 14]
Generated Node #0,0,0: 75:[23, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [23, 65]
Generated Node #0,0,1: 75:[23, 65] Operation: 70-5=65
Exploring Operation: 23+5=28, Resulting Numbers: [70, 28]
Generated Node #0,0,2: 75:[70, 28] Operation: 23+5=28
Exploring Operation: 70+5=75, Resulting Numbers: [23, 75]
Generated Node #0,0,3: 75:[23, 75] Operation: 70+5=75
Exploring Operation: 23-5=18, Resulting Numbers: [70, 18]
Generated Node #0,0,4: 75:[70, 18] Operation: 23-5=18
Moving to Node #0,0,3
Current State: 75:[23, 75], Operations: ['12-7=5', '70+5=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,75 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[23, 14], Operations: ['12-7=5', '70/5=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,75 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[70, 28], Operations: ['12-7=5', '23+5=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,75 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[70, 18], Operations: ['12-7=5', '23-5=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,75 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[23, 65], Operations: ['12-7=5', '70-5=65']
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[12, 23, 77], Operations: ['70+7=77']
Exploring Operation: 77-23=54, Resulting Numbers: [12, 54]
Generated Node #0,1,0: 75:[12, 54] Operation: 77-23=54
Exploring Operation: 12+23=35, Resulting Numbers: [77, 35]
Generated Node #0,1,1: 75:[77, 35] Operation: 12+23=35
Exploring Operation: 12+77=89, Resulting Numbers: [23, 89]
Generated Node #0,1,2: 75:[23, 89] Operation: 12+77=89
Exploring Operation: 77-12=65, Resulting Numbers: [23, 65]
Generated Node #0,1,3: 75:[23, 65] Operation: 77-12=65
Exploring Operation: 23-12=11, Resulting Numbers: [77, 11]
Generated Node #0,1,4: 75:[77, 11] Operation: 23-12=11
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[77, 11], Operations: ['70+7=77', '23-12=11']
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,75 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[77, 35], Operations: ['70+7=77', '12+23=35']
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,75 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[23, 65], Operations: ['70+7=77', '77-12=65']
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,75 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[23, 89], Operations: ['70+7=77', '12+77=89']
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,75 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[12, 54], Operations: ['70+7=77', '77-23=54']
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,75 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[12, 70, 16], Operations: ['23-7=16']
Exploring Operation: 12+70=82, Resulting Numbers: [16, 82]
Generated Node #0,2,0: 75:[16, 82] Operation: 12+70=82
Exploring Operation: 70+16=86, Resulting Numbers: [12, 86]
Generated Node #0,2,1: 75:[12, 86] Operation: 70+16=86
Exploring Operation: 16-12=4, Resulting Numbers: [70, 4]
Generated Node #0,2,2: 75:[70, 4] Operation: 16-12=4
Exploring Operation: 70-12=58, Resulting Numbers: [16, 58]
Generated Node #0,2,3: 75:[16, 58] Operation: 70-12=58
Exploring Operation: 12+16=28, Resulting Numbers: [70, 28]
Generated Node #0,2,4: 75:[70, 28] Operation: 12+16=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[70, 4], Operations: ['23-7=16', '16-12=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,75 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[16, 82], Operations: ['23-7=16', '12+70=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[70, 28], Operations: ['23-7=16', '12+16=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[12, 86], Operations: ['23-7=16', '70+16=86']
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,75 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[16, 58], Operations: ['23-7=16', '70-12=58']
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,75 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[12, 23, 10], Operations: ['70/7=10']
Exploring Operation: 23+10=33, Resulting Numbers: [12, 33]
Generated Node #0,3,0: 75:[12, 33] Operation: 23+10=33
Exploring Operation: 12-10=2, Resulting Numbers: [23, 2]
Generated Node #0,3,1: 75:[23, 2] Operation: 12-10=2
Exploring Operation: 23-12=11, Resulting Numbers: [10, 11]
Generated Node #0,3,2: 75:[10, 11] Operation: 23-12=11
Exploring Operation: 23-10=13, Resulting Numbers: [12, 13]
Generated Node #0,3,3: 75:[12, 13] Operation: 23-10=13
Exploring Operation: 12+10=22, Resulting Numbers: [23, 22]
Generated Node #0,3,4: 75:[23, 22] Operation: 12+10=22
Moving to Node #0,3,1
Current State: 75:[23, 2], Operations: ['70/7=10', '12-10=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Moving to Node #0,3,4
Current State: 75:[23, 22], Operations: ['70/7=10', '12+10=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,75 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[12, 13], Operations: ['70/7=10', '23-10=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[10, 11], Operations: ['70/7=10', '23-12=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[12, 33], Operations: ['70/7=10', '23+10=33']
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,75 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[7, 23, 82], Operations: ['12+70=82']
Exploring Operation: 82-23=59, Resulting Numbers: [7, 59]
Generated Node #0,4,0: 75:[7, 59] Operation: 82-23=59
Exploring Operation: 7+82=89, Resulting Numbers: [23, 89]
Generated Node #0,4,1: 75:[23, 89] Operation: 7+82=89
Exploring Operation: 82-7=75, Resulting Numbers: [23, 75]
Generated Node #0,4,2: 75:[23, 75] Operation: 82-7=75
Exploring Operation: 23-7=16, Resulting Numbers: [82, 16]
Generated Node #0,4,3: 75:[82, 16] Operation: 23-7=16
Exploring Operation: 7+23=30, Resulting Numbers: [82, 30]
Generated Node #0,4,4: 75:[82, 30] Operation: 7+23=30
Moving to Node #0,4,2
Current State: 75:[23, 75], Operations: ['12+70=82', '82-7=75']
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,75 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[82, 16], Operations: ['12+70=82', '23-7=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,75 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[82, 30], Operations: ['12+70=82', '7+23=30']
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 82*30=2460, Resulting Numbers: [2460]
2460,75 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[23, 89], Operations: ['12+70=82', '7+82=89']
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[7, 59], Operations: ['12+70=82', '82-23=59']
Exploring Operation: 7*59=413, Resulting Numbers: [413]
413,75 unequal: No Solution
Exploring Operation: 7+59=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,75 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 |
[
35,
4,
31,
76
] | 76 | [
"35-4=31",
"31+76=107",
"107-31=76"
] | Current State: 76:[35, 4, 31, 76], Operations: []
Exploring Operation: 35-4=31, Resulting Numbers: [31, 76, 31]
Generated Node #2: [31, 76, 31] from Operation: 35-4=31
Current State: 76:[31, 76, 31], Operations: ['35-4=31']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,76 equal: Goal Reached
Exploring Operation: 107-31=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[35, 4, 31, 76], Operations: []
Exploring Operation: 35+4=39, Resulting Numbers: [31, 76, 39]
Generated Node #0,0: 76:[31, 76, 39] Operation: 35+4=39
Exploring Operation: 4+31=35, Resulting Numbers: [35, 76, 35]
Generated Node #0,1: 76:[35, 76, 35] Operation: 4+31=35
Exploring Operation: 35-31=4, Resulting Numbers: [4, 76, 4]
Generated Node #0,2: 76:[4, 76, 4] Operation: 35-31=4
Moving to Node #0,2
Current State: 76:[4, 76, 4], Operations: ['35-31=4']
Exploring Operation: 76/4=19, Resulting Numbers: [4, 19]
Generated Node #0,2,0: 76:[4, 19] Operation: 76/4=19
Exploring Operation: 76/4=19, Resulting Numbers: [4, 19]
Generated Node #0,2,1: 76:[4, 19] Operation: 76/4=19
Exploring Operation: 4/4=1, Resulting Numbers: [76, 1]
Generated Node #0,2,2: 76:[76, 1] Operation: 4/4=1
Moving to Node #0,1
Current State: 76:[35, 76, 35], Operations: ['4+31=35']
Exploring Operation: 76-35=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 76:[35, 41] Operation: 76-35=41
Exploring Operation: 35-35=0, Resulting Numbers: [76, 0]
Generated Node #0,1,1: 76:[76, 0] Operation: 35-35=0
Exploring Operation: 35/35=1, Resulting Numbers: [76, 1]
Generated Node #0,1,2: 76:[76, 1] Operation: 35/35=1
Moving to Node #0,0
Current State: 76:[31, 76, 39], Operations: ['35+4=39']
Exploring Operation: 76-31=45, Resulting Numbers: [39, 45]
Generated Node #0,0,0: 76:[39, 45] Operation: 76-31=45
Exploring Operation: 39-31=8, Resulting Numbers: [76, 8]
Generated Node #0,0,1: 76:[76, 8] Operation: 39-31=8
Exploring Operation: 31+39=70, Resulting Numbers: [76, 70]
Generated Node #0,0,2: 76:[76, 70] Operation: 31+39=70
Moving to Node #0,2,0
Current State: 76:[4, 19], Operations: ['35-31=4', '76/4=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[35, 4, 31, 76], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [4, 76, 4]
Generated Node #0,2: 76:[4, 76, 4] Operation: 35-31=4
Moving to Node #0,2
Current State: 76:[4, 76, 4], Operations: ['35-31=4']
Exploring Operation: 76/4=19, Resulting Numbers: [4, 19]
Generated Node #0,2,0: 76:[4, 19] Operation: 76/4=19
Moving to Node #0,2,0
Current State: 76:[4, 19], Operations: ['35-31=4', '76/4=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.