cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A081928 Sum of the n smallest numbers having the sum of their digits equal to n.

This page as a plain text file.
%I A081928 #7 Feb 20 2018 15:00:41
%S A081928 1,13,36,70,115,171,238,316,405,604,868,1197,1591,2158,2844,3829,5140,
%T A081928 6939,9415,12100,14994,18493,26062,34650,49414,69535,96534,129412,
%U A081928 164299,201195,240154,281122,414036,584635,852634,1212633,1629532
%N A081928 Sum of the n smallest numbers having the sum of their digits equal to n.
%C A081928 Sum of n-th row of A081926.
%e A081928 The two smallest numbers with digit sum 2 are 2 and 11, whose sum is 13.
%e A081928 For seven, 7+16+25+34+43+52+61=238.
%t A081928 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)
%Y A081928 Cf. A081926, A081927, A051865.
%K A081928 base,easy,nonn
%O A081928 1,2
%A A081928 _Amarnath Murthy_, Apr 01 2003
%E A081928 More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003
%E A081928 Edited by _N. J. A. Sloane_, Jul 02 2008 at the suggestion of _R. J. Mathar_