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!)
A176625 T(n,k) = 1 + 3*k*(k - n), triangle read by rows (n >= 0, 0 <= k <= n). 2
1, 1, 1, 1, -2, 1, 1, -5, -5, 1, 1, -8, -11, -8, 1, 1, -11, -17, -17, -11, 1, 1, -14, -23, -26, -23, -14, 1, 1, -17, -29, -35, -35, -29, -17, 1, 1, -20, -35, -44, -47, -44, -35, -20, 1, 1, -23, -41, -53, -59, -59, -53, -41, -23, 1, 1, -26, -47, -62, -71, -74, -71, -62, -47 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
FORMULA
T(n,k) = 1 - A000326(n) + A000326(k) + A000326(n-k).
EXAMPLE
Triangle begins:
1;
1, 1;
1, -2, 1:
1, -5, -5, 1;
1, -8, -11, -8, 1;
1, -11, -17, -17, -11, 1;
1, -14, -23, -26, -23, -14, 1;
1, -17, -29, -35, -35, -29, -17, 1;
1, -20, -35, -44, -47, -44, -35, -20, 1;
1, -23, -41, -53, -59, -59, -53, -41, -23, 1;
1, -26, -47, -62, -71, -74, -71, -62, -47, -26, 1;
...
MATHEMATICA
a[n_] = n*(3*n - 1)/2; (* A000326 *)
t[n_, m_] = 1 - a[n] + a[m] + a[n - m];
Table[Table[t[n, m], {m, 0, n}], {n, 0, 10}];
Flatten[%]
PROG
(Maxima) create_list(1 + 3*k*(k - n), n, 0, 20, k, 0, n); /* Franck Maminirina Ramaharo, Nov 25 2018 */
(Magma) / * As triangle */ [[1 + 3*k*(k - n): k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, Nov 26 2018
CROSSREFS
Sequence in context: A147649 A147644 A158188 * A197342 A197217 A197242
KEYWORD
sign,tabl,easy
AUTHOR
Roger L. Bagula, Apr 22 2010
EXTENSIONS
Edited and name clarified by Franck Maminirina Ramaharo, Nov 25 2018
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 May 13 11:29 EDT 2024. Contains 372504 sequences. (Running on oeis4.)