I found an interesting problem on https://www.codewars.com/kata/5c824b7b9775761ada934500:
*This kata is inspired by [Project Euler Problem #387](https://projecteuler.net/problem=387)*

---

A [Harshad number](https://en.wikipedia.org/wiki/Harshad_number) (or Niven number) is a number that is divisible by the sum of its digits. A *right truncatable Harshad number* is any Harshad number that, when recursively right-truncated, results in a Harshad number at each truncation. By definition, 1-digit numbers are **not** right truncatable Harshad numbers.

For example `201` (which is a Harshad number) yields `20`, then `2` when right-truncated, which are all Harshad numbers. Thus `201` is a *right truncatable Harshad number*.


## Your task

Given a range of numbers (`(a, b)`, both included), return the list of right truncatable Harshad numbers in this range.

```if-not:javascript
Note: there are `500` random tests, with 0 <= `a` <= `b` <= 10^(16)
```
```if:javascript
Note: there are `500` random tests, with `0 <= a <= b <= Number.MAX_SAFE_INTEGER`
```

## Examples

```
0, 20        -->  [10, 12, 18, 20]
30, 100      -->  [30, 36, 40, 42, 45, 48, 50, 54, 60, 63, 70, 72, 80, 81, 84, 90, 100]
90, 200      -->  [90, 100, 102, 108, 120, 126, 180, 200]
200, 210     -->  [200, 201, 204, 207, 209, 210]
1000, 2000   -->  [1000, 1002, 1008, 1020, 1026, 1080, 1088, 1200, 1204, 1206, 1260, 1800, 2000]
2200, 2300   -->  []
9000002182976, 9000195371842  -->  [9000004000000, 9000004000008]
```

---

## My other katas

If you enjoyed this kata then please try [my other katas](https://www.codewars.com/collections/katas-created-by-anter69)! :-)

#### *Translations are welcome!*

I tried it in Python, but could not do it. Can you solve it?
HARSHED = [10, 12, 18, 20, 21, 24, 27, 30, 36, 40, 42, 45, 48, 50, 54, 60, 63, 70, 72, 80, 81, 84, 90, 100, 102, 108, 120, 126, 180, 200, 201, 204, 207, 209, 210, 216, 240, 243, 247, 270, 300, 306, 308, 360, 364, 400, 402, 405, 407, 408, 420, 423, 450, 480, 481, 486, 500, 504, 506, 540, 600, 603, 605, 630, 700, 702, 704, 720, 800, 801, 803, 804, 810, 840, 846, 900, 902, 1000, 1002, 1008, 1020, 1026, 1080, 1088, 1200, 1204, 1206, 1260, 1800, 2000, 2001, 2004, 2007, 2010, 2016, 2040, 2043, 2070, 2090, 2100, 2106, 2160, 2400, 2401, 2403, 2408, 2430, 2470, 2478, 2700, 2704, 3000, 3006, 3060, 3080, 3600, 3640, 4000, 4002, 4005, 4008, 4020, 4023, 4050, 4070, 4080, 4086, 4200, 4203, 4230, 4500, 4800, 4802, 4806, 4807, 4809, 4810, 4860, 5000, 5004, 5040, 5044, 5060, 5066, 5400, 6000, 6003, 6030, 6050, 6300, 7000, 7002, 7020, 7040, 7200, 7208, 8000, 8001, 8004, 8010, 8030, 8040, 8046, 8100, 8400, 8406, 8460, 8463, 9000, 9020, 9022, 10000, 10002, 10008, 10020, 10024, 10026, 10080, 10200, 10206, 10208, 10260, 10268, 10800, 10802, 10880, 12000, 12006, 12040, 12042, 12060, 12064, 12600, 18000, 20000, 20001, 20004, 20007, 20009, 20010, 20016, 20040, 20041, 20043, 20048, 20070, 20100, 20104, 20106, 20108, 20160, 20400, 20403, 20405, 20430, 20700, 20702, 20900, 21000, 21006, 21060, 21600, 24000, 24003, 24010, 24012, 24030, 24038, 24080, 24084, 24087, 24300, 24700, 24780, 24786, 27000, 27040, 27048, 30000, 30006, 30008, 30060, 30600, 30602, 30800, 36000, 36400, 40000, 40002, 40005, 40007, 40008, 40020, 40023, 40027, 40050, 40080, 40082, 40086, 40089, 40200, 40201, 40203, 40205, 40208, 40230, 40500, 40502, 40700, 40800, 40806, 40860, 42000, 42003, 42030, 42300, 45000, 48000, 48006, 48020, 48024, 48027, 48060, 48070, 48090, 48100, 48600, 50000, 50004, 50006, 50040, 50048, 50400, 50402, 50440, 50600, 50660, 54000, 60000, 60003, 60005, 60030, 60034, 60300, 60302, 60500, 60502, 63000, 70000, 70002, 70004, 70020, 70200, 70202, 70400, 72000, 72080, 80000, 80001, 80003, 80004, 80010, 80040, 80041, 80046, 80047, 80100, 80102, 80300,...