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.

A166370 Numbers whose sum of digits is 17.

Original entry on oeis.org

89, 98, 179, 188, 197, 269, 278, 287, 296, 359, 368, 377, 386, 395, 449, 458, 467, 476, 485, 494, 539, 548, 557, 566, 575, 584, 593, 629, 638, 647, 656, 665, 674, 683, 692, 719, 728, 737, 746, 755, 764, 773, 782, 791, 809, 818, 827, 836, 845, 854, 863, 872
Offset: 1

Views

Author

Vincenzo Librandi, Oct 13 2009

Keywords

Comments

A007953(a(n)) = 17; number of repdigits = A242627(17) = 1. - 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), A235228 (18), A166459 (19), A235229 (20).

Programs

  • Haskell
    a166370 n = a166370_list !! (n-1)
    a166370_list = filter ((== 17) . a007953) [0..]
    -- Reinhard Zumkeller, Jul 17 2014
  • Magma
    [n: n in [1..900] | &+Intseq(n) eq 17]; // Vincenzo Librandi, Mar 07 2013
    
  • Mathematica
    Select[Range[900], Total[IntegerDigits[#]] == 17&] (* Vincenzo Librandi, Mar 07 2013 *)