login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131404 a(n) = 2*A131402(n) - 1. 2
1, 1, 1, 1, 5, 1, 1, 7, 7, 1, 1, 11, 13, 11, 1, 1, 13, 27, 27, 13, 1, 1, 17, 39, 65, 39, 17, 1, 1, 19, 61, 111, 111, 61, 19, 1, 1, 23, 79, 193, 221, 193, 79, 23, 1, 1, 25, 109, 283, 433, 433, 283, 109, 25, 1, 1, 29, 133, 425, 715, 925, 715, 425, 133, 29, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

Row sums = A131405: (1, 2, 7, 16, 37, 82, 179, ...).

LINKS

Andrew Howroyd, Table of n, a(n) for n = 0..1274

FORMULA

T(n,k) = 4*binomial(n, k) + 1 - 2*binomial(floor(n + k)/2), k) - 2*binomial(n-floor((k+1)/2), floor(k/2)). - Andrew Howroyd, Aug 09 2018

EXAMPLE

First few rows of the triangle are:

  1;

  1,  1;

  1,  5,  1;

  1,  7,  7,  1;

  1, 11, 13, 11,  1;

  1, 13, 27, 27, 13,  1;

  1, 17, 39, 65, 39, 17,  1;

  ...

PROG

(PARI) T(n, k) = if(k <= n, 4*binomial(n, k) + 1 - 2*binomial((n + k)\2, k) - 2*binomial(n-(k+1)\2, k\2), 0) \\ Andrew Howroyd, Aug 09 2018

(MAGMA) /* As triangle */ [[4*Binomial(n, k) + 1 - 2*Binomial(Floor(n + k) div 2, k) - 2*Binomial(n-Floor((k+1)/2), Floor(k/2)): k in [0..n]]: n in [0.. 15]]; // Vincenzo Librandi, Aug 10 2018

CROSSREFS

Row sums are A131405.

Cf. A131402.

Sequence in context: A152721 A132737 A137754 * A297943 A298554 A298727

Adjacent sequences:  A131401 A131402 A131403 * A131405 A131406 A131407

KEYWORD

nonn,tabl

AUTHOR

Gary W. Adamson, Jul 07 2007

EXTENSIONS

Terms a(55) and beyond from Andrew Howroyd, Aug 09 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 August 24 16:05 EDT 2019. Contains 326295 sequences. (Running on oeis4.)