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!)
A152719 Triangle read by rows: T(n,k) = A000129( 1 + min(k,n-k) ), n>=0, 0<=k<=n. 2
1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 5, 2, 1, 1, 2, 5, 5, 2, 1, 1, 2, 5, 12, 5, 2, 1, 1, 2, 5, 12, 12, 5, 2, 1, 1, 2, 5, 12, 29, 12, 5, 2, 1, 1, 2, 5, 12, 29, 29, 12, 5, 2, 1, 1, 2, 5, 12, 29, 70, 29, 12, 5, 2, 1, 1, 2, 5, 12, 29, 70, 70, 29, 12, 5, 2, 1, 1, 2, 5, 12, 29, 70, 169, 70, 29, 12, 5, 2, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,5

LINKS

G. C. Greubel, Rows n = 0..50 of the triangle, flattened

FORMULA

Sum_{k=0..n} T(n,k) = A238375(n). - Philippe Deléham, Feb 27 2014

T(2*n,n) = A000129(n+1). - Philippe Deléham, Feb 27 2014

EXAMPLE

Triangle begins as:

  1;

  1, 1;

  1, 2, 1;

  1, 2, 2,  1;

  1, 2, 5,  2,  1;

  1, 2, 5,  5,  2,  1;

  1, 2, 5, 12,  5,  2,  1;

  1, 2, 5, 12, 12,  5,  2,  1;

  1, 2, 5, 12, 29, 12,  5,  2, 1;

  1, 2, 5, 12, 29, 29, 12,  5, 2, 1;

  1, 2, 5, 12, 29, 70, 29, 12, 5, 2, 1;

MATHEMATICA

(* First program *)

Pell[n_]:= Pell[n]= If[n<2, n, 2*Pell[n-1] + Pell[n-2]];

T[n_, k_]:= Pell[1 + Min[k, n-k]];

Table[T[n, k], {n, 0, 15}, {k, 0, n}]//Flatten (* modified by G. C. Greubel, May 15 2021 *)

(* Second program *)

Table[Fibonacci[1 +Min[k, n-k], 2], {n, 0, 15}, {k, 0, n}]//Flatten (* G. C. Greubel, May 15 2021 *)

PROG

(Sage)

def Pell(n): return n if (n<2) else 2*Pell(n-1) + Pell(n-2)

def T(n, k): return Pell(1+min(k, n-k))

flatten([[T(n, k) for k in (0..n)] for n in (0..15)]) # G. C. Greubel, May 15 2021

CROSSREFS

Cf. A000129, A238375 (row sums).

Sequence in context: A214246 A214257 A214248 * A107044 A141591 A174545

Adjacent sequences:  A152716 A152717 A152718 * A152720 A152721 A152722

KEYWORD

nonn,tabl

AUTHOR

Roger L. Bagula, Dec 11 2008

EXTENSIONS

Better name by Philippe Deléham, Feb 27 2014

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 September 24 17:33 EDT 2021. Contains 347651 sequences. (Running on oeis4.)