OFFSET
1,1
COMMENTS
1. The sequence is unbounded, as the (2*10^k +2)-th triangular number is a term. 2. The sum of the digits of triangular numbers in most cases is a triangular number. 3. Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.
The second assertion above is wrong. Out of the first 100,000 triangular numbers, only 26,046 have a sum of their digits equal to a triangular number. - Harvey P. Dale, Jun 07 2017
LINKS
Robert Israel, Table of n, a(n) for n = 1..164
MAPLE
for i from 1 to 9 do S[1, i]:= [i] od: S[1, 10]:= []:
R:= NULL: count:= 0:
for d from 2 while count < 100 do
for i from 1 to 10 do
S[d, i]:= [seq(op(map(t -> 10*t + j, S[d-1, i-j])), j=0..i-1)];
od:
V:= select(t -> issqr(8*t+1), S[d, 10]);
if nops(V) > 0 then
V:= sort(V);
R:= R, op(V); count:= count+nops(V);
fi
od:
R; # Robert Israel, May 15 2025
MATHEMATICA
Select[Accumulate[Range[1000]], Total[IntegerDigits[#]]==10&] (* Harvey P. Dale, Jun 07 2017 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 21 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 06 2002
Offset changed by Andrew Howroyd, Sep 17 2024
STATUS
approved
