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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158821 Triangle read by rows: row n (n>=0) ends with 1, and for n>=1 begins with n; other entries are zero. 8
1, 1, 1, 2, 0, 1, 3, 0, 0, 1, 4, 0, 0, 0, 1, 5, 0, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 0, 1, 8, 0, 0, 0, 0, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

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

FORMULA

T(n,k) = A145677(n,n-k-1). [From R. J. Mathar, Apr 01 2009]

EXAMPLE

Triangle begins:

1

1, 1

2, 0, 1

3, 0, 0, 1

4, 0, 0, 0, 1

5, 0, 0, 0, 0, 1

6, 0, 0, 0, 0, 0, 1

7, 0, 0, 0, 0, 0, 0, 1

MAPLE

A158821 := proc(n, k)

    if n = k then

        1;

    elif k = 0 then

        n ;

    else

        0 ;

    end if;

end proc: # R. J. Mathar, Jan 08 2015

CROSSREFS

Sequence in context: A085855 A280500 A128132 * A127701 A004199 A062283

Adjacent sequences:  A158818 A158819 A158820 * A158822 A158823 A158824

KEYWORD

nonn,tabl,easy

AUTHOR

Gary W. Adamson, Mar 30 2008

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 19:34 EDT 2018. Contains 316530 sequences. (Running on oeis4.)