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!)
A294317 Triangle read by rows: T(n, k) = 2*n-k, k <= n. 4
0, 2, 1, 4, 3, 2, 6, 5, 4, 3, 8, 7, 6, 5, 4, 10, 9, 8, 7, 6, 5, 12, 11, 10, 9, 8, 7, 6, 14, 13, 12, 11, 10, 9, 8, 7, 16, 15, 14, 13, 12, 11, 10, 9, 8, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Thomas H. Sidebotham, The A to Z of Mathematics: A Basic Guide, John Wiley & Sons, p. 181, (2003) ISBN 9780471461630.
FORMULA
T(n, k) = 2*n - k, 0 <= k <= n.
EXAMPLE
Triangle begins:
0;
2, 1;
4, 3, 2;
6, 5, 4, 3;
8, 7, 6, 5, 4;
10, 9, 8, 7, 6, 5;
12, 11, 10, 9, 8, 7, 6;
14, 13, 12, 11, 10, 9, 8, 7;
16, 15, 14, 13, 12, 11, 10, 9, 8;
18, 17, 16, 15, 14, 13, 12, 11, 10, 9;
20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10;
...
MATHEMATICA
Column[Table[2*n-k, {n, 0, 10}, {k, 0, n}], Center]
PROG
(Python)
def f(x):
a=[]
for k in range(x):
for m in range (k+1):
a.append(2*k-m)
return a
print(f(10))
(GAP) A294317 := Flat(List([0..149], n->List([0..n], k->2*n-k))); # Muniru A Asiru, Dec 29 2017
CROSSREFS
T(n, 2*m) = A005843(n), n >= m >= 0 (even-indexed columns).
T(n, 2*m+1) = A005408(n), n >= m >= 0 (odd-indexed columns).
T(n, n-m) = A001477(n+m), n >= m >= 0 (diagonals m >= 0).
2*A287326(n, k) = A287326(T(n, k),k) + A287326(T(n, k),0).
Sequence in context: A194187 A174375 A110663 * A064277 A287010 A144330
KEYWORD
nonn,tabl,easy
AUTHOR
Kolosov Petro, Oct 28 2017
EXTENSIONS
Edited by Wolfdieter Lang, Dec 08 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 August 3 03:24 EDT 2024. Contains 374875 sequences. (Running on oeis4.)