Let us prove that conversely, the condition
a12023+a22022+⋯+a2023≤1+20231
implies that
S:=a1+a22+⋯+a20232023<2023.
This is trivial if all ai are less than 1. So suppose that there is an i with ai≥1, clearly it is unique and ai<1+20231. Then we have
aii<(1+20231)2023=1+k=1∑2023k!1⋅20232023⋅20232022⋯⋅20232023−k+1<1+k=1∑2023k!1≤1+k=0∑20222k1<3,
k=1,k=i∑1011akk≤1011andk=1012,k=i∑2023akk≤k=1012,k=i∑2023ak2024−k<20231.
Hence we have
S=aii+k=1,k=i∑1011akk+k=1012,k=i∑2023akk<3+1011+20231<2023.