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.

A119100 Numbers k such that the k-th triangular number contains only digits {1,2,4}.

Original entry on oeis.org

1, 6, 66, 666, 1686, 2913, 6666, 9406, 15761, 66666, 666666, 6666666, 47140518, 66666666, 206951318, 666666666, 1512753193, 6666666666, 9406509886, 66666666666, 297026066681, 666666666666, 6666666666666, 66666666666666
Offset: 1

Views

Author

Giovanni Resta, May 10 2006

Keywords

Comments

After 0, A002280 is a subsequence because A000217(A002280(m)) = (2*(10^m-1)/9)*10^m + (10^m-1)/9, which provides numbers of the type 22..2211..11 where 2's and 1's are repeated m times. - Bruno Berselli, Feb 24 2016

Crossrefs

See A119034 for a table of cross-references.

Programs

  • Magma
    [n: n in [1..2*10^7] | Set(Intseq(n*(n+1) div 2)) subset [1,2,4]]; // Vincenzo Librandi, Feb 24 2016
  • Mathematica
    Select[Range[2 10^7], Complement[IntegerDigits[# (# + 1)/2], {1, 2, 4}] == {} &] (* Vincenzo Librandi, Feb 24 2016 *)