OFFSET
1,3
COMMENTS
EXAMPLE
8 is a term because 8^2 = 64 = 4^3.
10 is a term because 10^2 = 100 = 1^3 + 2^3 + 3^3 + 4^3.
MAPLE
N:= 1000: # for terms <= N
M:= floor(N^(2/3)):
S:= [seq(n^2*(n+1)^2/4, n=0..M)]:
SD:= {0, seq(seq(S[i]-S[j], j=1..i-1), i=1..M+1)}:
Q:= select(t -> t <= N^2 and issqr(t), SD):
sort(convert(map(sqrt, Q), list)); # Robert Israel, Sep 11 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lamine Ngom, Apr 14 2021
STATUS
approved