login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=0..63.

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

Cf. A000326, A156070, A156072, A176305, A176306, A176307, A176339, A176344.

Sequence in context: A147649 A147644 A158188 * A197342 A197217 A197242

Adjacent sequences:  A176622 A176623 A176624 * A176626 A176627 A176628

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 13:15 EDT 2021. Contains 348170 sequences. (Running on oeis4.)