A sequence is defined as follows $a_1=a_2=a_3=1,$ and, for all positive integers $n, a_{n+3}=a_{n+2}+a_{n+1}+a_n.$ Given that $a_{25}=978793, a_{26}=1800281,$ and $a_{27}=3311233,$ find the remainder when $\sum^{25}_{k=1} a_k$ is divided by 1000.
← 返回第 897 题