OEIS A001422 gives the full list of
natural numbers not expressible as the sum of distinct squares:
$$
\begin{array}{c}
2, 3, 6, 7, 8, 11, 12, 15, 18, 19, 22, 23, 24, 27, 28, 31, 32, 33,
\\
43, 44, 47, 48, 60, 67, 72, 76, 92, 96, 108, 112, 128.
\end{array}
$$
The reference is
R. Sprague, Über Zerlegungen in ungleiche Quadratzahlen,
Math. Z. 51 (1948), 289$-$290.
(This two-page paper
is several decades before Halter-Koch 1982, which concerns
decompositions into exactly $5$ distinct squares.)
Added later: The Sprague paper is elementary and constructive,
thus also answering the OP's question "How would I obtain
[a sum-of-distinct-squares representation] given the integer".
Basically, starting from $n$, subtract the first square larger than $n/2$,
and repeat until you first reach a number less than $300$.
That number will still exceed $128$, so to finish consult
a table with a distinct-square representation of each of the
integers in $(128,300)$. Such a table was routine to compute
even in 1948, and is basically trivial with the computer.
For example, applying this technique to the OP's $1615$ yields
$1615 = 29^2 + 20^2 + 14^2 + 178$, and then for instance $178 = 13^2 + 3^2$
or $178 = 12^2 + 5^2 + 3^2$.
If we read "even though they are not consecutive" in the strict sense
that no pair of consecutive squares is allowed in the sum, then
much the same technique must still work, though with thresholds
somewhat larger than $128$ and $300$, and subtracting from $n$
the smallest $k$ such that $n-k^2 < (k-1)^2$ (not just less than $k^2$).