%I #12 Sep 08 2022 08:45:48
%S 89,98,179,188,197,269,278,287,296,359,368,377,386,395,449,458,467,
%T 476,485,494,539,548,557,566,575,584,593,629,638,647,656,665,674,683,
%U 692,719,728,737,746,755,764,773,782,791,809,818,827,836,845,854,863,872
%N Numbers whose sum of digits is 17.
%C A007953(a(n)) = 17; number of repdigits = A242627(17) = 1. - _Reinhard Zumkeller_, Jul 17 2014
%H Vincenzo Librandi, <a href="/A166370/b166370.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Range[900], Total[IntegerDigits[#]] == 17&] (* _Vincenzo Librandi_, Mar 07 2013 *)
%o (Magma) [n: n in [1..900] | &+Intseq(n) eq 17]; // _Vincenzo Librandi_, Mar 07 2013
%o (Haskell)
%o a166370 n = a166370_list !! (n-1)
%o a166370_list = filter ((== 17) . a007953) [0..]
%o -- _Reinhard Zumkeller_, Jul 17 2014
%Y Cf. A011557, A052216 * A052224, A143164, A166311, A166459.
%Y 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), A235228 (18), A166459 (19), A235229 (20).
%Y Cf. A242614, A242627.
%K nonn,base
%O 1,1
%A _Vincenzo Librandi_, Oct 13 2009