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-6 of 6 results.

A068129 Triangular numbers with sum of digits = 10.

Original entry on oeis.org

28, 55, 91, 136, 190, 253, 325, 406, 703, 820, 1081, 1225, 1540, 1711, 2080, 2701, 3160, 3403, 5050, 7021, 10153, 11026, 12403, 15400, 17020, 20503, 21115, 23005, 24310, 32131, 41041, 51040, 52003, 60031, 72010, 80200, 90100, 106030, 110215
Offset: 1

Views

Author

Amarnath Murthy, Feb 21 2002

Keywords

Comments

1. The sequence is unbounded, as the (2*10^k +2)-th triangular number is a term. 2. The sum of the digits of triangular numbers in most cases is a triangular number. 3. Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.
The second assertion above is wrong. Out of the first 100,000 triangular numbers, only 26,046 have a sum of their digits equal to a triangular number. - Harvey P. Dale, Jun 07 2017

Crossrefs

Intersection of A000217 and A052224.

Programs

  • Maple
    for i from 1 to 9 do S[1,i]:= [i] od: S[1,10]:= []:
    R:= NULL: count:= 0:
    for d from 2 while count < 100 do
      for i from 1 to 10 do
        S[d,i]:= [seq(op(map(t -> 10*t + j, S[d-1,i-j])),j=0..i-1)];
      od:
      V:= select(t -> issqr(8*t+1), S[d,10]);
      if nops(V) > 0 then
        V:= sort(V);
        R:= R,op(V); count:= count+nops(V);
      fi
    od:
    R; # Robert Israel, May 15 2025
  • Mathematica
    Select[Accumulate[Range[1000]],Total[IntegerDigits[#]]==10&] (* Harvey P. Dale, Jun 07 2017 *)

Extensions

More terms from Sascha Kurz, Mar 06 2002
Offset changed by Andrew Howroyd, Sep 17 2024

A133472 a(n) = 10^n + 5.

Original entry on oeis.org

6, 15, 105, 1005, 10005, 100005, 1000005, 10000005, 100000005, 1000000005, 10000000005, 100000000005, 1000000000005, 10000000000005, 100000000000005, 1000000000000005, 10000000000000005, 100000000000000005, 1000000000000000005, 10000000000000000005, 100000000000000000005
Offset: 0

Views

Author

Paul Curtz, Nov 29 2007

Keywords

Crossrefs

Programs

  • Magma
    [10^n+5: n in [0..20]]; // Vincenzo Librandi, Aug 10 2011
    
  • Mathematica
    Join[{6},Table[10*FromDigits[PadRight[{1},n,0]]+5,{n,20}]] (* or *) LinearRecurrence[{11,-10},{6,15},20] (* Harvey P. Dale, Sep 06 2020 *)
  • PARI
    apply( {A133472(n)=10^n+5}, [0..20]) \\ M. F. Hasler, Jun 15 2025

Formula

From R. J. Mathar, Nov 30 2007: (Start)
O.g.f.: -3*(-2+17*x)/((-1+x)*(-1+10*x)) = -5/(-1+x) - 1/(-1+10*x).
a(n) = 10*a(n-1) - 45. (End)
a(n) = 10^n + 5. - Vincenzo Librandi, Aug 10 2011
From Elmo R. Oliveira, Jun 09 2025: (Start)
E.g.f.: exp(x)*(5 + exp(9*x)).
a(n) = 11*a(n-1) - 10*a(n-2).
a(n) = 3*A133473(n). (End)

Extensions

Renamed by editors, Jun 16 2025

A068130 Triangular numbers with sum of digits = 15.

Original entry on oeis.org

78, 276, 465, 528, 780, 861, 1176, 1275, 1653, 1770, 2346, 2850, 3570, 3741, 4371, 4560, 5253, 5460, 6216, 6441, 7260, 7503, 11175, 12246, 12561, 14028, 15225, 17205, 20706, 22155, 24090, 24531, 26106, 28203, 30381, 32640, 33153, 35511
Offset: 1

Views

Author

Amarnath Murthy, Feb 21 2002

Keywords

Comments

1. The sequence is unbounded, as the (2*10^k +3)-th triangular number is a term. 2. The sum of the digits of triangular numbers in most cases is a triangular number. 3. Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.

Crossrefs

Programs

  • Mathematica
    Select[Accumulate[Range[300]],Total[IntegerDigits[#]]==15&] (* Harvey P. Dale, Oct 09 2012 *)

Extensions

More terms from Sascha Kurz, Mar 06 2002

A068131 Triangular numbers with sum of digits = 21.

Original entry on oeis.org

1596, 2775, 3486, 3828, 4278, 4656, 5565, 6555, 7626, 8256, 9453, 14196, 15753, 16653, 17391, 18336, 21945, 22791, 23871, 24753, 28920, 32385, 34716, 37128, 38226, 39621, 40755, 42195, 43365, 44850, 46056, 51681, 54615, 56280, 57630
Offset: 1

Views

Author

Amarnath Murthy, Feb 21 2002

Keywords

Comments

1. The sequence is unbounded, as the (5*10^k + 6)-th triangular number is a term. 2. The sum of the digits of triangular numbers in most cases is a triangular number. 3. Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.

Crossrefs

Subsequence of A000217.

Programs

  • Mathematica
    Select[Accumulate[Range[400]],Total[IntegerDigits[#]]==21&] (* Harvey P. Dale, Jun 06 2015 *)

Extensions

More terms from Sascha Kurz, Mar 06 2002
Offset changed by Andrew Howroyd, Sep 19 2024

A068133 First triangular number with digit sum = n-th triangular number.

Original entry on oeis.org

0, 1, 3, 6, 28, 78, 1596, 5995, 67896, 887778, 15997996, 398988876, 9876799878, 299789989975, 35998897988976, 589598998999878, 78999997699698778, 7987899888859999878, 1998997979958978979995, 539799799988999999688778
Offset: 0

Views

Author

Amarnath Murthy, Feb 21 2002

Keywords

Comments

The sum of the digits of triangular numbers in most cases is a triangular number. Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.
From Jon E. Schoenfield, Jun 29 2010: (Start)
For any positive k < 132, it is true that more than half of the positive triangular numbers from T(1) through T(k) have a triangular digit sum. However, for any k > 132, more than half of the positive triangular numbers from T(1) through T(k) have a nontriangular digit sum. (At k = 132, there are 66 triangular and 66 nontriangular.)
There exist only finitely many triangular numbers whose digit sum is T(0)=0 or T(1)=1: T(0)=0 is, of course, the only one with digit sum 0, and T(1)=1 and T(4)=10 are the only two with digit sum 1. However, for digit sums equal to each of at least the next several triangular numbers, the conjecture can be easily confirmed by observing that, e.g., T(2), T(20), T(200), T(2000), etc., all have digit sum T(2)=3; T(2+1), T(20+1), T(200+1), T(2000+1), etc., all have digit sum T(3)=6; T(20+2), T(200+2), T(2000+2), T(20000+2), etc., all have digit sum T(4)=10; and, similarly, for all sufficiently large values of j, triangular numbers of the form T(2*10^j+m), where m = 3, 9, 23, 34, 132, 368, 1332, 3943, 19388, 88248, 244948, 1788848, 9838483, 19994343, respectively, will have digit sums T(5)=15, T(6)=21, ..., T(18)=171, respectively. (End)

Crossrefs

Formula

a(n) = A000217(A068134(n)). - Andrew Howroyd, Sep 21 2024

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Jun 17 2002
Term a(0) inserted and terms a(18) and a(19) added by Jon E. Schoenfield, Jun 29 2010

A068132 Triangular numbers with sum of digits = 28.

Original entry on oeis.org

5995, 14878, 17578, 24976, 29890, 32896, 36856, 37675, 42778, 47278, 52975, 53956, 54946, 55945, 56953, 57970, 67528, 68635, 69751, 70876, 75466, 76636, 77815, 83845, 85078, 87571, 88831, 91378, 92665, 93961, 95266, 96580, 97903
Offset: 1

Views

Author

Amarnath Murthy, Feb 21 2002

Keywords

Comments

The sequence is unbounded, as the (10^k + 9)-th triangular number for k>1 is a term.
The sum of the digits of triangular numbers in most cases is a triangular number.
Conjecture: For every triangular number T there exist infinitely many triangular numbers with sum of digits = T.

Crossrefs

Subsequence of A000217.

Programs

  • Mathematica
    Select[Accumulate[Range[500]],Total[IntegerDigits[#]]==28&] (* Harvey P. Dale, Aug 30 2015 *)

Extensions

More terms from Sascha Kurz, Mar 06 2002
Offset changed by Andrew Howroyd, Sep 19 2024
Showing 1-6 of 6 results.