(MAGMAMagma) [n: n in [1..900] | &+Intseq(n) eq 17]; // Vincenzo Librandi, Mar 07 2013
(MAGMAMagma) [n: n in [1..900] | &+Intseq(n) eq 17]; // Vincenzo Librandi, Mar 07 2013
editing
approved
A007953(a(n)) = 17; number of repdigits = A242627(17) = 1. - Reinhard Zumkeller, Jul 17 2014
(Haskell)
a166370 n = a166370_list !! (n-1)
a166370_list = filter ((== 17) . a007953) [0..]
-- Reinhard Zumkeller, Jul 17 2014
approved
editing
editing
approved
Numbers n such that the sums whose sum of digits is 17.
approved
editing
editing
approved
(MAGMA) [n: n in [1..900] | & + Intseq(n) eq (17)]; // Vincenzo Librandi, Mar 07 2013
reviewed
editing
proposed
reviewed
editing
proposed
Numbers n such that the sums of digits is 17.
Vincenzo Librandi, <a href="/A166370/b166370.txt">Table of n, a(n) for n = 1..1000</a>
Select[Range[900], Total[IntegerDigits[#]] == 17&] (* Vincenzo Librandi, Mar 07 2013 *)
(MAGMA) [n: n in [1..900] | & + Intseq(n) eq (17)]; // Vincenzo Librandi, Mar 07 2013
approved
editing