The number can be written as $$n+(n+1)=2n+1(n\geqslant 1)$$ and $$x+(x+1)+(x+2)=3x+3$$.  It must be a multiple of $3$ .  $5790$ can be divisible by both $2$ and $3$, so it is $5790-3=5787$. 
If a natural number can be written as the sum of both two and three consecutive natural numbers, then we can call it a Think Number. What is the largest Think Number no larger than $5789$? 
Options:
[A] $$5786$$ 
[B] $$5787$$ 
[C] $$5788$$ 
[D] $$5789$$ 
[E] $$5784$$ 