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!)
A355859 Triangle read by rows: T(n,k) = (n + k)/2 if (n + k) is congruent to 0 (mod 2), otherwise T(n,k) = 0; n >= 1, k >= 1. 0

%I #14 Jul 21 2022 03:11:02

%S 1,0,2,2,0,3,0,3,0,4,3,0,4,0,5,0,4,0,5,0,6,4,0,5,0,6,0,7,0,5,0,6,0,7,

%T 0,8,5,0,6,0,7,0,8,0,9,0,6,0,7,0,8,0,9,0,10,6,0,7,0,8,0,9,0,10,0,11,0,

%U 7,0,8,0,9,0,10,0,11,0,12,7,0,8,0,9,0,10,0,11,0,12,0,13,0

%N Triangle read by rows: T(n,k) = (n + k)/2 if (n + k) is congruent to 0 (mod 2), otherwise T(n,k) = 0; n >= 1, k >= 1.

%C Row sums see A001318.

%e The triangle begins:

%e k=1 2 3 4 5 6

%e n=1: 1;

%e n=2: 0, 2;

%e n=3: 2, 0, 3;

%e n=4: 0, 3, 0, 4;

%e n=5: 3, 0, 4, 0, 5;

%e n=6: 0, 4, 0, 5, 0, 6;

%e and so on.

%t T[n_, k_] := If[EvenQ[n + k], (n + k)/2, 0]; Table[T[n, k], {n, 1, 13}, {k, 1, n}] // Flatten (* _Amiram Eldar_, Jul 19 2022 *)

%Y Cf. A001318, A138099 (without the zeros).

%K nonn,tabl

%O 1,3

%A _Ctibor O. Zizka_, Jul 19 2022

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 August 25 00:08 EDT 2024. Contains 375418 sequences. (Running on oeis4.)