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!)
A128221 A128174 * A127701. 2
1, 1, 2, 1, 1, 3, 1, 2, 1, 4, 1, 1, 3, 1, 5, 1, 2, 1, 4, 1, 6, 1, 1, 3, 1, 5, 1, 7, 1, 2, 1, 4, 1, 6, 1, 8, 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 2, 1, 4, 1, 6, 1, 8, 1, 10, 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 11, 1, 2, 1, 4, 1, 6, 1, 8, 1, 10, 1, 12, 1, 1, 3, 1, 5, 1, 7, 1, 9, 1, 11, 1, 13 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Row sums = A024206: (1, 3, 5, 8, 11, 15, 19, ...). A128222 = A127701 * A128714.
Table T(n,k) = n, if k is odd, 1 if k is even; n, k > 0, read by antidiagonals. -Boris Putievskiy, Jan 30 2013
LINKS
FORMULA
A128174 * A127701 as infinite lower triangular matrices. By columns, k-th column = k, 1, k, ...; k=1,2,3,...
From Boris Putievskiy, Jan 30 2013: (Start)
As table T(n,k) = (1+(-1)^k)/2 - (-1+(-1)^k)*n/2.
As linear sequence a(n) = (1+(-1)^A004736(n))/2 - (-1+(-1)^A004736(n))*A002260(n)/2. a(n) = (1+(-1)^j)/2 - (-1+(-1)^j)*i/2,
where i = n-t*(t+1)/2, j = (t*t+3*t+4)/2-n, t=floor((-1+sqrt(8*n-7))/2). (End)
EXAMPLE
From Boris Putievskiy, Jan 30 2013: (Start)
The start of the sequence as a table:
1, 1, 1, 1, 1, 1, 1, ...
2, 1, 2, 1, 2, 1, 2, ...
3, 1, 3, 1, 3, 1, 3, ...
4, 1, 4, 1, 4, 1, 4, ...
5, 1, 5, 1, 5, 1, 5, ...
6, 1, 6, 1, 6, 1, 6, ...
7, 1, 7, 1, 7, 1, 7, ...
...
(End)
First few rows of the triangle are:
1;
1, 2;
1, 1, 3;
1, 2, 1, 4;
1, 1, 3, 1, 5;
1, 2, 1, 4, 1, 6;
1, 1, 3, 1, 5, 1, 7;
...
MATHEMATICA
a128221[n_, k_] := If[EvenQ[n-k], k, 1]/; 1<=k<=n
a128221[r_] := Table[a128221[n, k], {n, 1, r}, {k, 1, n}]
TableForm[a128221[7]] (* triangle *)
Flatten[a128221[10]] (* data *) (* Hartmut F. W. Hoft, Mar 08 2017 *)
t[r_, c_] := If[ OddQ@ c, r, 1]; Table[t[k, n - k + 1], {n, 13}, {k, n}] // Flatten (* Robert G. Wilson v, Mar 09 2017 *)
CROSSREFS
Sequence in context: A307662 A050873 A324668 * A327856 A175488 A309914
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Feb 19 2007
EXTENSIONS
More terms from Robert G. Wilson v, Mar 09 2017
STATUS
approved

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