login
A235151
Numbers whose sum of digits is 12.
32
39, 48, 57, 66, 75, 84, 93, 129, 138, 147, 156, 165, 174, 183, 192, 219, 228, 237, 246, 255, 264, 273, 282, 291, 309, 318, 327, 336, 345, 354, 363, 372, 381, 390, 408, 417, 426, 435, 444, 453, 462, 471, 480, 507, 516, 525, 534, 543, 552, 561, 570, 606
OFFSET
1,1
COMMENTS
A007953(a(n)) = 12; number of repdigits = #{66,444,3333,222222,1^12} = A242627(12) = 5. - Reinhard Zumkeller, Jul 17 2014
LINKS
MATHEMATICA
Select[Range[2000], Total[IntegerDigits[#]]==12&]
PROG
(Magma) [n: n in [1..1000] | &+Intseq(n) eq 12];
(Haskell)
a235151 n = a235151_list !! (n-1)
a235151_list = filter ((== 12) . 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), A143164 (13), A235225(14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19), A235229 (20).
Sequence in context: A046512 A143746 A064399 * A050439 A199993 A181488
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jan 04 2014
STATUS
approved