cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A239446 Triangle read by rows: T(n,k), n>=1, k>=1, in which column k lists the elements of A004273 interleaved with k zeros, and the first element of column k is in row k*(k+1)/2.

Original entry on oeis.org

0, 0, 1, 0, 0, 0, 3, 0, 0, 1, 0, 5, 0, 0, 0, 0, 0, 7, 3, 0, 0, 0, 1, 0, 9, 0, 0, 0, 0, 5, 0, 0, 11, 0, 0, 0, 0, 0, 3, 0, 13, 7, 0, 1, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 9, 5, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 3, 0, 19, 11, 0, 0, 1, 0, 0, 0, 7, 0, 0, 0, 21, 0
Offset: 1

Views

Author

Omar E. Pol, Mar 20 2014

Keywords

Comments

Alternating sum of row n equals A235796(n), i.e., sum_{k=1..A003056(n)} (-1)^(k-1)*T(n,k) = A235796(n).
Row n has length A003056(n) hence column k starts in row A000217(k).
Column k starts with k+1 zeros and then lists the odd numbers interleaved with k zeros.
It appears that row n lists all zeros iff n is a power of 2.

Examples

			Triangle begins:
0;
0;
1,  0;
0,  0;
3,  0;
0,  1,  0;
5,  0,  0;
0,  0,  0;
7,  3,  0;
0,  0,  1,  0;
9,  0,  0,  0;
0,  5,  0,  0;
11, 0,  0,  0;
0,  0,  3,  0;
13, 7,  0,  1,  0;
0,  0,  0,  0,  0;
15, 0,  0,  0,  0;
0,  9,  5,  0,  0;
17, 0,  0,  0,  0;
0,  0,  0,  3,  0;
19, 11, 0,  0,  1,  0;
0,  0,  7,  0,  0,  0;
21, 0,  0,  0,  0,  0;
0,  13, 0,  0,  0,  0;
23, 0,  0,  5,  0,  0;
...
For n = 15 the 15th row of triangle is 13, 7, 0, 1, and the alternating sum is 13 - 7 + 0 - 1 = A235796(15) = 5.
		

Crossrefs