The following is Exercise 5 page 36 in Functional Analysis book of Conway:
Find the adjoint of a diagonal operator (Exercise 1.8).
The aforementioned exercise 1.8 read:
Exercise 1.8. Let $\{e_n\}_{n\in \mathbb{N}}$ be the usual basis for $l^2$ and let $\{a_n\}_{n\in \mathbb{N}}$ be a sequence of scalars. Show that there is a bounded operator $A$ on $l^2$ such that $Ae_n = a_n e_n$ for all $n \in \mathbb{N}$ if and only if $\{a_n\}_{n\in \mathbb{N}}$ is uniformly bounded, in which case $||A|| =\sup{\{|a_n|: n \ge 1}\}$. This type of operator is called a diagonal operator or is said to be diagonalizable.
Well Exercise 1.8 is easy to solve but I am struggling with Exercise 5 : $\langle Ah,g \rangle = \langle h,A^*g \rangle \implies \langle A \sum b_n e_n, \sum c_n e_n \rangle = \langle \sum b_n a_n e_n ,c_n A^*e_n \rangle$. Any calculation further than that looks not rigorous and correct.