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!)
A167704 a(0)=1, a(1)=0, a(2)=2, a(3)=1, a(n)=a(n-2)+a(n-3)+a(n-4) for n>3. 2
1, 0, 2, 1, 3, 3, 6, 7, 12, 16, 25, 35, 53, 76, 113, 164, 242, 353, 519, 759, 1114, 1631, 2392, 3504, 5137, 7527, 11033, 16168, 23697, 34728, 50898, 74593, 109323, 160219, 234814, 344135, 504356, 739168, 1083305, 1587659, 2326829, 3410132, 4997793, 7324620 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Diagonal sums of triangle in A122950.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (0, 1, 1, 1).

FORMULA

G.f.: (1-x^3)/(1-x^2-x^3-x^4).

a(n) = a(n-2) + a(n-3) + a(n-4). - G. C. Greubel, Jun 20 2016

MATHEMATICA

LinearRecurrence[{0, 1, 1, 1}, {1, 0, 2, 1}, 50] (* Harvey P. Dale, Aug 09 2015 *)

CROSSREFS

Sequence in context: A216961 A241379 A108949 * A109522 A052959 A346473

Adjacent sequences:  A167701 A167702 A167703 * A167705 A167706 A167707

KEYWORD

nonn

AUTHOR

Philippe Deléham, Nov 10 2009

EXTENSIONS

Corrected and extended by Harvey P. Dale, Aug 09 2015

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 19 03:10 EDT 2021. Contains 348073 sequences. (Running on oeis4.)