The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A213944 Triangle read by rows, with column k defined by partial sums of the finite sequence that contains k three times. 1

%I #15 Mar 06 2013 06:58:00

%S 1,2,0,3,2,0,3,4,0,0,3,6,3,0,0,3,6,6,0,0,0,3,6,9,4,0,0,0,3,6,9,8,0,0,

%T 0,0,3,6,9,12,5,0,0,0,0,3,6,9,12,10,0,0,0,0,0,3,6,9,12,15,6,0,0,0,0,0,

%U 3,6,9,12,15,12

%N Triangle read by rows, with column k defined by partial sums of the finite sequence that contains k three times.

%H Harvey P. Dale, <a href="/A213944/b213944.txt">Table of n, a(n) for n = 1..10000</a>

%F T(n,k) = 0 if 2k > n+1. T(n,k) = k if 2k=n+1. T(n,k)=2k if 2k=n. T(n,k) = 3k if 2k <= n-1.

%e First few rows of the triangle are:

%e 1;

%e 2, 0;

%e 3, 2, 0;

%e 3, 4, 0, 0;

%e 3, 6, 3, 0, 0;

%e 3, 6, 6, 0, 0, 0;

%e 3, 6, 9, 4, 0, 0, 0;

%e 3, 6, 9, 8, 0, 0, 0, 0;

%e 3, 6, 9, 12, 5, 0, 0, 0, 0;

%e 3, 6, 9, 12, 10, 0, 0, 0, 0, 0;

%e 3, 6, 9, 12, 15, 6, 0, 0, 0, 0, 0;

%e 3, 6, 9, 12, 15, 12, 0, 0, 0, 0, 0, 0;

%e ...

%t fs[n_,k_]:=Which[2k>n+1,0,2k==n+1,k,2k==n,2k,2k<=n-1,3k]; Flatten[ Table[ fs[n,k],{n,15},{k,n}]] (* _Harvey P. Dale_, Mar 06 2013 *)

%Y Cf. A001318 (row sums)

%K nonn,tabl,less,easy

%O 1,2

%A _Gary W. Adamson_, Jun 25 2012

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 June 17 09:14 EDT 2024. Contains 373444 sequences. (Running on oeis4.)