(Translated by https://www.hiragana.jp/)
A235229 - OEIS
login
A235229
Numbers whose sum of digits is 20.
31
299, 389, 398, 479, 488, 497, 569, 578, 587, 596, 659, 668, 677, 686, 695, 749, 758, 767, 776, 785, 794, 839, 848, 857, 866, 875, 884, 893, 929, 938, 947, 956, 965, 974, 983, 992, 1199, 1289, 1298, 1379, 1388, 1397, 1469, 1478, 1487, 1496, 1559, 1568, 1577, 1586
OFFSET
1,1
COMMENTS
A007953(a(n)) = 20; number of repdigits = #{5555,44444,2222222222,1^20} = A242627(20) = 4. - Reinhard Zumkeller, Jul 17 2014
LINKS
MATHEMATICA
Select[Range[2000], Total[IntegerDigits[#]]==20&]
PROG
(Magma) [n: n in [1..2000] | &+Intseq(n) eq 20];
(Haskell)
a235229 n = a235229_list !! (n-1)
a235229_list = filter ((== 20) . a007953) [0..]
-- Reinhard Zumkeller, Jul 17 2014
CROSSREFS
Cf. A011557 (1), A052216 (2), A052217 (3), A052218 (4), A052219 (5), A052220 (6), A052221 (7), A052222 (8), A052223 (9), A052224 (10), A166311 (11), A235151 (12), A143164 (13), A235225(14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19).
Sequence in context: A129037 A249296 A245956 * A064908 A341189 A105990
KEYWORD
base,nonn
AUTHOR
Vincenzo Librandi, Jan 05 2014
STATUS
approved