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.

Showing 1-1 of 1 results.

A187744 Numbers whose digital sum is a triangular number.

Original entry on oeis.org

0, 1, 3, 6, 10, 12, 15, 19, 21, 24, 28, 30, 33, 37, 42, 46, 51, 55, 60, 64, 69, 73, 78, 82, 87, 91, 96, 100, 102, 105, 109, 111, 114, 118, 120, 123, 127, 132, 136, 141, 145, 150, 154, 159, 163, 168, 172, 177, 181, 186, 190, 195, 201, 204, 208, 210, 213, 217
Offset: 1

Views

Author

Dario Piazzalunga, Jan 03 2013

Keywords

Comments

Every term with some permutations can become another term of this sequence.
The subsequence of primes begins: 3, 19, 37, 73, 91, 127...
The subsequence of triangular numbers begins: 1, 3, 6, 10, 15, 21, 28, 55...

Crossrefs

Programs

  • Haskell
    a187744 n = a187744_list !! (n-1)
    a187744_list = filter ((== 1) . a010054 . a007953) [0..]
    -- Reinhard Zumkeller, Jan 03 2013
  • Mathematica
    TriangularQ[n_] := IntegerQ[Sqrt[1 + 8 n]]; Select[Range[0, 300], TriangularQ[Total[IntegerDigits[#]]] &] (* T. D. Noe, Jan 03 2013 *)

Formula

If decimal expansion of n is x1 x2 ... xk then x1 + x2 + ... xk = T.
A010054(A007953(a(n))) = 1. - Reinhard Zumkeller, Jan 03 2013
Showing 1-1 of 1 results.