The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A081928 Sum of the n smallest numbers having the sum of their digits equal to n. 2
 1, 13, 36, 70, 115, 171, 238, 316, 405, 604, 868, 1197, 1591, 2158, 2844, 3829, 5140, 6939, 9415, 12100, 14994, 18493, 26062, 34650, 49414, 69535, 96534, 129412, 164299, 201195, 240154, 281122, 414036, 584635, 852634, 1212633, 1629532 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Sum of n-th row of A081926. LINKS EXAMPLE The two smallest numbers with digit sum 2 are 2 and 11, whose sum is 13. For seven, 7+16+25+34+43+52+61=238. MATHEMATICA a[n_] := Module[{}, co = 0; in = 1; su = 0; While[co < n, If[Plus @@ IntegerDigits[in] == n, co++; su = su + in]; in++ ]; su]; Table[a[n], {n, 1, 30}] (Steinerberger) CROSSREFS Cf. A081926, A081927, A051865. Sequence in context: A054285 A101103 A051865 * A034129 A243038 A297303 Adjacent sequences:  A081925 A081926 A081927 * A081929 A081930 A081931 KEYWORD base,easy,nonn AUTHOR Amarnath Murthy, Apr 01 2003 EXTENSIONS More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003 Edited by N. J. A. Sloane, Jul 02 2008 at the suggestion of R. J. Mathar STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 23 20:42 EDT 2021. Contains 347617 sequences. (Running on oeis4.)