cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A235229 Numbers whose sum of digits is 20.

Original entry on oeis.org

299, 389, 398, 479, 488, 497, 569, 578, 587, 596, 659, 668, 677, 686, 695, 749, 758, 767, 776, 785, 794, 839, 848, 857, 866, 875, 884, 893, 929, 938, 947, 956, 965, 974, 983, 992, 1199, 1289, 1298, 1379, 1388, 1397, 1469, 1478, 1487, 1496, 1559, 1568, 1577, 1586
Offset: 1

Views

Author

Vincenzo Librandi, Jan 05 2014

Keywords

Comments

A007953(a(n)) = 20; number of repdigits = #{5555,44444,2222222222,1^20} = A242627(20) = 4. - 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), A235151 (12), A143164 (13), A235225(14), A235226 (15), A235227 (16), A166370 (17), A235228 (18), A166459 (19).

Programs

  • Haskell
    a235229 n = a235229_list !! (n-1)
    a235229_list = filter ((== 20) . a007953) [0..]
    -- Reinhard Zumkeller, Jul 17 2014
  • Magma
    [n: n in [1..2000] | &+Intseq(n) eq 20];
    
  • Mathematica
    Select[Range[2000], Total[IntegerDigits[#]]==20&]