A052223 Numbers whose sum of digits is 9.
9, 18, 27, 36, 45, 54, 63, 72, 81, 90, 108, 117, 126, 135, 144, 153, 162, 171, 180, 207, 216, 225, 234, 243, 252, 261, 270, 306, 315, 324, 333, 342, 351, 360, 405, 414, 423, 432, 441, 450, 504, 513, 522, 531, 540, 603, 612, 621, 630, 702, 711, 720, 801, 810
Offset: 1
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
Crossrefs
Programs
-
Haskell
a052223 n = a052223_list !! (n-1) a052223_list = filter ((== 9) . a007953) [0..] -- Reinhard Zumkeller, Jul 17 2014
-
Magma
[n: n in [1..1500] | &+Intseq(n) eq 9 ]; // Vincenzo Librandi, Mar 08 2013
-
Mathematica
Select[Range[1500], Total[IntegerDigits[#]] == 9 &] (* Vincenzo Librandi, Mar 08 2013 *)
Extensions
More terms from Larry Reeves (Larryr(AT)acm.org), Sep 05 2000
Offset changed by Bruno Berselli, Mar 07 2013
Comments