I noticed that $1/8 = 0.125$ and the sum of the digits of the number $0.125$ is $0+1+2+5=8$. It's lovely.
I searched other numbers who have that propriety : I only found $1$, $3$ and $8$.
Is there any other number $n$ as $n$ is equal to the sum of the digits of $1/n$ ?
Repeated digits are allowed to be counted only once.
Example : $1/3=0.\bar{3}$
EDIT : Yes, $0$ is not a solution, sorry. :)
A proof that finite decimal expansions do not work. According to The Penguin Dictionary of Curious and Interesting Numbers, p. 60, by Wells (Mathworld reference) $$\text{Length of decimal period}\left(\frac{1}{2^a5^b}\right)=\max(a,b)$$
Case 1: Assume $a\ge b$. We have that the sum of digits is no more than $9a$ .
By induction hypothesis if $2^a5^0>9a$ and $a>1$ $$2^{a+1}>18a=9(a+a)>9(a+1)$$ Since $2^65^0>9\times6$, $2^a5^b>9a$ follows for every $a\ge6$ and every nonnegative $b$.
Therefore if $a\ge b$ ,$a\ge6$
$$2^a5^b>\text{Sum of digits of decimal expansion}\left(\frac{1}{2^a5^b}\right)$$ Case 2: $a<b$.
By induction hypothesis if $5^b2^0>9b$ and $b>1$ $$5^{b+1}>45b=9(b+4b)>9(b+1)$$ Since $5^62^0>9\times6$, $2^a5^b>9b$ follows for every $b\ge6$ and every nonnegative $a$.
Therefore if $a<b$, $b\ge 6$
$$2^a5^b>\text{Sum of digits of decimal expansion}\left(\frac{1}{2^a5^b}\right)$$
So they are at most $5\times5=25$ cases to check for $1\le a,b \le 5$ that are easily done. We do not have those restrictions if the repetition is periodic, since the length of the period of $1/p$ is at most $p-1$, and obviously $p<9(p-1)$.
Code edit: Considering the starting digits too, and compiling with -O3 runs in 17 minutes to check the conjecture up to $100000$. The complexity is still about $O(n^2)$ to test an interval $[0-n]$(Because it takes about $O(k)$ to test if each $k$ meets the requirements). Reported values are $1$,$3$ and $8$.