login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A159797 Triangle read by rows in which row n lists n+1 terms, starting with n, such that the difference between successive terms is equal to n-1. 33

%I #26 Feb 24 2021 02:48:18

%S 0,1,1,2,3,4,3,5,7,9,4,7,10,13,16,5,9,13,17,21,25,6,11,16,21,26,31,36,

%T 7,13,19,25,31,37,43,49,8,15,22,29,36,43,50,57,64,9,17,25,33,41,49,57,

%U 65,73,81,10,19,28,37,46,55,64,73,82,91,100,11,21,31,41,51,61,71,81,91,101

%N Triangle read by rows in which row n lists n+1 terms, starting with n, such that the difference between successive terms is equal to n-1.

%C Note that the last term of the n-th row is the n-th square A000290(n).

%C See also A162611, A162614 and A162622.

%C The triangle sums, see A180662 for their definitions, link the triangle A159797 with eleven sequences, see the crossrefs. - _Johannes W. Meijer_, May 20 2011

%C T(n,k) is the number of distinct sums in the direct sum of {1, 2, ... n} with itself k times for 1 <= k <= n+1, e.g., T(5,3) = the number of distinct sums in the direct sum {1,2,3,4,5} + {1,2,3,4,5} + {1,2,3,4,5}. The sums range from 1+1+1=3 to 5+5+5=15. So there are 13 distinct sums. - _Derek Orr_, Nov 26 2014

%H Harvey P. Dale, <a href="/A159797/b159797.txt">Table of n, a(n) for n = 0..1000</a>

%H David Applegate, Omar E. Pol and N. J. A. Sloane, <a href="/A000695/a000695_1.pdf">The Toothpick Sequence and Other Sequences from Cellular Automata</a>, Congressus Numerantium, Vol. 206 (2010), 157-191. [There is a typo in Theorem 6: (13) should read u(n) = 4.3^(wt(n-1)-1) for n >= 2.]

%H N. J. A. Sloane, <a href="/wiki/Catalog_of_Toothpick_and_CA_Sequences_in_OEIS">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a>

%F Given m = floor( (sqrt(8*n+1)-1)/2 ), then a(n) = m + (n - m*(m+1)/2)*(m-1). - _Carl R. White_, Jul 24 2010

%e Triangle begins:

%e 0;

%e 1, 1;

%e 2, 3, 4;

%e 3, 5, 7, 9;

%e 4, 7,10,13,16;

%e 5, 9,13,17,21,25;

%e 6,11,16,21,26,31,36;

%p A159797:=proc(n) local m: m := floor( (sqrt(8*n+1)-1)/2 ): A159797(n):= m + (n - m*(m+1)/2)*(m-1) end: seq(A159797(n),n=0..75); # _Johannes W. Meijer_, May 20 2011

%t Flatten[Table[NestList[#+n-1&,n,n],{n,0,12}]] (* _Harvey P. Dale_, Aug 04 2014 *)

%o (GNU bc) scale=0;for(n=0;n<76;n++){m=(sqrt(8*n+1)-1)/2;print m+(n-m*(m+1)/2)*(m-1),","};print"\n" /* _Carl R. White_, Jul 24 2010 */

%Y Cf. A000290, A001477, A081493, A159798, A162609, A162610, A162611, A162614, A162622.

%Y Cf.: A006002 (row sums). - _R. J. Mathar_, Jul 17 2009

%Y Cf. A163282, A163283, A163284, A163285. - _Omar E. Pol_, Nov 18 2009

%Y From _Johannes W. Meijer_, May 20 2011: (Start)

%Y Triangle sums (see the comments): A006002 (Row1), A050187 (Row2), A058187 (Related to Kn11, Kn12, Kn13, Fi1 and Ze1), A006918 (Related to Kn21, Kn22, Kn23, Fi2 and Ze2), A000330 (Kn3), A016061 (Kn4), A190717 (Related to Ca1 and Ze3), A144677 (Related to Ca2 and Ze4), A000292 (Related to Ca3, Ca4, Gi3 and Gi4) A190718 (Related to Gi1) and A144678 (Related to Gi2). (End)

%K easy,nonn,tabl

%O 0,4

%A _Omar E. Pol_, Jul 09 2009

%E Edited by _Omar E. Pol_, Jul 18 2009

%E More terms from _Omar E. Pol_, Nov 18 2009

%E More terms from _Carl R. White_, Jul 24 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)