Let $a_{1},b_{1},a_{2},b_{2},\cdots,a_{n},b_{n}$ be real numbers such that $$\min{(a_{1},a_{2},\cdots,a_{n})}\ge 0$$
show that
$$\color{#0a0}{\text{$\max{(a_{1},a_{2},\cdots,a_{n})}\left(\displaystyle\sum_{1\le i,j\le n}\min{(a_{i},a_{j})}b_{i}b_{j}\right)\ge\left(\displaystyle\sum_{1\le i\le n}a_{i}b_{i}\right)^2$}}$$
I have done the proof of the $n=2,3$
$$\min{(a_{1},a_{2},\cdots,a_{n})}\ge 0\Longrightarrow a_{i}\ge 0,i=1,2,\cdots,n$$ Without loss of generality,Let $a_{1}\ge a_{2}\ge\cdots\ge a_{n}\ge 0$.then we can $$2a_{1}\sum_{1\le i<j\le n}a_{j}b_{i}b_{j}\ge \left(\sum_{1\le i\le n}a_{i}b_{i}\right)^2$$ but I'm having a problem in proving this inequality.