

A069172


Smallest triangular number such that arithmetic mean of its digits = n (sum of the digits = n times the number of digits).


0




OFFSET

1,2


COMMENTS

Because A045914 is complete, this sequence is complete.  Robert G. Wilson v, Oct 30 2013


LINKS

Table of n, a(n) for n=1..8.


MATHEMATICA

Do[k = 1; While[ Apply[ Plus, IntegerDigits[k(k + 1)/2]] != n*Floor[ Log[10, k(k + 1)/2] + 1], k++ ]; Print[k(k + 1)/2], {n, 1, 7}]


CROSSREFS

Cf. A069790.
Sequence in context: A157874 A282188 A271764 * A231578 A104437 A112814
Adjacent sequences: A069169 A069170 A069171 * A069173 A069174 A069175


KEYWORD

base,fini,full,nonn


AUTHOR

Robert G. Wilson v, Apr 09 2002


EXTENSIONS

a(8) from Donovan Johnson, Mar 30 2010


STATUS

approved



