OFFSET
1,1
COMMENTS
Number of accidental degeneracies in the quantum mechanical 3-D "particle-in-a-box" model.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..1000
EXAMPLE
The fourth term in A024796 is 41, which can be expressed in two ways as the sum of three nonzero squares (1^2 + 2^2 + 6^2 or 3^2 + 4^2 + 4^2), so a(4) = 2.
MATHEMATICA
r[n_] := Length@ IntegerPartitions[n, {3}, Range[Sqrt[n]]^2]; Select[ Array[r, 300], # > 1 &] (* Giovanni Resta, Feb 21 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
A. Timothy Royappa, Feb 12 2019
EXTENSIONS
Offset changed to 1 by Jinyuan Wang, Feb 20 2020
STATUS
approved