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!)
A159798 Triangle read by rows in which row n lists n terms, starting with 1, such that the difference between successive terms is equal to n-3. 13

%I #10 Sep 08 2022 08:45:44

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

%T 11,16,21,26,31,36,1,7,13,19,25,31,37,43,49,1,8,15,22,29,36,43,50,57,

%U 64,1,9,17,25,33,41,49,57,65,73,81,1,10,19,28,37,46,55,64,73,82,91,100,1,11

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

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

%C Row sums are n*(n^2-4*n+5)/2 = 1, 1, 3, 10, 25, 51, 91, 148, 225, ... - _R. J. Mathar_, Jul 17 2009, Jul 20 2009

%C Row sums are the positive terms of A162607. - _Omar E. Pol_, Jul 24 2009

%H G. C. Greubel, <a href="/A159798/b159798.txt">Table of n, a(n) for the first 100 rows, flattened</a>

%F T(n,k) = 1 + k*(n-3), 0<=k<n. - _R. J. Mathar_, Jul 17 2009

%e Triangle begins:

%e 1;

%e 1, 0;

%e 1, 1, 1;

%e 1, 2, 3, 4;

%e 1, 3, 5, 7, 9;

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

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

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

%e 1, 7, 13, 19, 25, 31, 37, 43, 49;

%e 1, 8, 15, 22, 29, 36, 43, 50, 57, 64;

%e 1, 9, 17, 25, 33, 41, 49, 57, 65, 73, 81;

%e 1, 10, 19, 28, 37, 46, 55, 64, 73, 82, 91, 100;

%t Table[1 + k*(n-3), {n, 1, 20}, {k, 0, n-1}]// Flatten (* _G. C. Greubel_, Apr 21 2018 *)

%o (PARI) for(n=1, 20, for(k=0,n-1, print1(1 + k*(n-3), ", "))) \\ _G. C. Greubel_, Apr 21 2018

%o (Magma) /* As triangle */ [[1 + k*(n-3): k in [0..n-1]]: n in [1..15]]; // _G. C. Greubel_, Apr 21 2018

%Y Cf. A000290, A081493, A159797, A162607, A162609, A162610, A162611.

%K easy,nonn,tabl

%O 1,8

%A _Omar E. Pol_, Jul 09 2009

%E More terms from _R. J. Mathar_, Jul 17 2009

%E Typo in row sums corrected by _R. J. Mathar_, Jul 20 2009

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

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 25 21:02 EDT 2024. Contains 371989 sequences. (Running on oeis4.)