OFFSET
1,1
EXAMPLE
990 is representable as a product of two triangular numbers, 990 = 660 * 15, and as a sum, 990 = 780 + 210, therefore 990 is in the sequence.
MATHEMATICA
maxTerm = 3*10^6; imax = Ceiling[(Sqrt[8*maxTerm + 1] - 1)/2];
TriangularQ[n_] := IntegerQ[Sqrt[8n + 1]];
t[op_] := Table[If[1 < i < j, op[i*(i + 1)/2 , j*(j + 1)/2], Nothing], {i, 2, imax}, {j, i + 1, imax}] // Flatten // Select[#, # <= maxTerm && TriangularQ[#]&]& // Union;
Intersection[t[Plus], t[Times]] (* Jean-François Alcover, Dec 05 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Nov 27 2017
STATUS
approved
