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!)
A144693 Triangle read by rows, A000012 * (3*A144328 - 2*A000012), where A000012 means a lower triangular matrix of all 1's. 2

%I #14 Sep 08 2022 08:45:38

%S 1,2,1,3,2,4,4,3,8,7,5,4,12,14,10,6,5,16,21,20,13,7,6,20,28,30,26,16,

%T 8,7,24,35,40,39,32,19,9,8,28,42,50,52,48,38,22,10,9,32,49,60,65,64,

%U 57,44,25,11,10,36,56,70,78,80,76,66,50,28

%N Triangle read by rows, A000012 * (3*A144328 - 2*A000012), where A000012 means a lower triangular matrix of all 1's.

%H G. C. Greubel, <a href="/A144693/b144693.txt">Rows n = 1..50 of the triangle, flattened</a>

%F Sum_{k=1..n} T(n, k) = A064808(n).

%F T(n, k) = (3*k -5 +3*[k=1])*(n-k+1). - _G. C. Greubel_, Oct 19 2021

%e Partial sums by columns of the triangle (3*A144328 - 2*A000012):

%e 1;

%e 1, 1;

%e 1, 1, 4;

%e 1, 1, 4, 7;

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

%e ...

%e First few rows of the triangle:

%e 1;

%e 2, 1

%e 3, 2, 4;

%e 4, 3, 8, 7;

%e 5, 4, 12, 14, 10;

%e 6, 5, 16, 21, 20, 13;

%e 7, 6, 20, 28, 30, 26, 16;

%e 8, 7, 24, 35, 40, 39, 32, 19;

%e ...

%t T[n_, k_]:= (3*k -5 +3*Boole[k==1])*(n-k+1);

%t Table[T[n, k], {n,12}, {k,n}]//Flatten (* _G. C. Greubel_, Oct 19 2021 *)

%o (Magma)

%o A144693:= func< n,k | k eq 1 select n else (3*k-5)*(n-k+1) >;

%o [A144693(n,k): k in [1..n], n in [1..12]]; // _G. C. Greubel_, Oct 19 2021

%o (Sage)

%o def A144693(n,k): return (3*k -5 +3*bool(k==1))*(n-k+1)

%o flatten([[A144693(n,k) for k in (1..n)] for n in (1..12)]) # _G. C. Greubel_, Oct 19 2021

%Y Cf. A000012, A064808, A144328.

%K nonn,tabl

%O 1,2

%A _Gary W. Adamson_, Sep 19 2008

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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)