OFFSET
1,1
COMMENTS
A134422 is a subsequence. - Franklin T. Adams-Watters, Jun 25 2011
LINKS
P. A. Piza, Problems for Solution: 4425, The American Mathematical Monthly, Vol. 58, No. 2, (February 1951), p. 113.
P. A. Piza, G. W. Walker and C. M. Sandwick, Sr, Problem 4425, The American Mathematical Monthly, Vol. 59, No. 6, (June - July 1952), pp. 417-419.
EXAMPLE
25 is the sum of two nonzero triangular numbers: 10 + 15, and of two nonzero squares: 9 + 16; so 25 is in the sequence.
9 is the sum of two nonzero triangular numbers: 3 + 6, but can be represented as the sum of two squares only using zero: 0 + 9; so 9 is not in the sequence.
MATHEMATICA
data=Length[Reduce[a^2+b^2==1/2 c (c+1)+1/2 d(d+1)== # && a>0 && b>0 && c>0 && d>0, {a, b, c, d}, Integers]] &/@Range[400]; DeleteCases[Table[If[data[[k]]>0, k, 0], {k, 1, Length[data]}], 0]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ant King, Jun 22 2011
STATUS
approved