login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A235151 Numbers whose sum of digits is 12. 32

%I #11 Sep 08 2022 08:46:06

%S 39,48,57,66,75,84,93,129,138,147,156,165,174,183,192,219,228,237,246,

%T 255,264,273,282,291,309,318,327,336,345,354,363,372,381,390,408,417,

%U 426,435,444,453,462,471,480,507,516,525,534,543,552,561,570,606

%N Numbers whose sum of digits is 12.

%C A007953(a(n)) = 12; number of repdigits = #{66,444,3333,222222,1^12} = A242627(12) = 5. - _Reinhard Zumkeller_, Jul 17 2014

%H Vincenzo Librandi, <a href="/A235151/b235151.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[2000], Total[IntegerDigits[#]]==12&]

%o (Magma) [n: n in [1..1000] | &+Intseq(n) eq 12];

%o (Haskell)

%o a235151 n = a235151_list !! (n-1)

%o a235151_list = filter ((== 12) . a007953) [0..]

%o -- _Reinhard Zumkeller_, Jul 17 2014

%Y Cf. A052217 - A052224, A143164, A166311, A166370, 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), A143164 (13), A235225(14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19), A235229 (20).

%Y A242614, A242627.

%K nonn,base

%O 1,1

%A _Vincenzo Librandi_, Jan 04 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 10 18:31 EDT 2024. Contains 372388 sequences. (Running on oeis4.)