The increasing sequence $3, 15, 24, 48, \ldots$ consists of those positive multiples of 3 that are one less than a perfect square. What is the remainder when the 1994th term of the sequence is divided by 1000?
$n^2-1$ is a multiple of $3$ exactly when $3\nmid n$. So the terms are $n^2-1$ for $n=2,4,5,7,8,\dots$: the $(2m-1)$-st term has $n=3m-1$ and the $(2m)$-th has $n=3m+1$.
The $1994$th term has $m=997$, $n=2992$.
$2992^2-1\equiv992^2-1\equiv(-8)^2-1=63\pmod{1000}$. The answer is $\boxed{063}$.
The increasing sequence $15, 35, 80, 120, \ldots$ consists of those positive multiples of 5 that are one less than a perfect square. What is the remainder when the 2025th term of the sequence is divided by 1000?