login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094103 a(n) = sum along n-th diagonal of A094102 (sloping downward to left). 2
1, 1, 2, 3, 4, 5, 8, 9, 13, 16, 22, 26, 37, 43, 60, 71, 98, 115, 160, 187, 259, 304, 420, 492, 681, 797, 1102, 1291, 1784, 2089, 2888, 3381, 4673, 5472, 7562, 8854, 12237, 14327, 19800, 23183, 32038, 37511, 51840, 60695, 83879, 98208, 135720, 158904, 219601 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
G.f.: (1+x+x^2+x^3) / [(1-x^3)(1-x^2-x^4)].
a(1)=1, a(2)=1, a(3)=2, a(4)=3, a(5)=4, a(6)=5, a(7)=8, a(n)=a(n-2)+ a(n-3)+a(n-4)-a(n-5)-a(n-7) [From Harvey P. Dale, Oct 09 2011]
EXAMPLE
a(8) = 2+3+2+1+1 = 9.
MATHEMATICA
CoefficientList[Series[(1+x+x^2+x^3)/((1-x^3)(1-x^2-x^4)), {x, 0, 60}], x] (* or *) LinearRecurrence[{0, 1, 1, 1, -1, 0, -1}, {1, 1, 2, 3, 4, 5, 8}, 61] (* Harvey P. Dale, Oct 09 2011 *)
CROSSREFS
Sequence in context: A005424 A105317 A342094 * A349412 A317082 A268359
KEYWORD
nonn,easy
AUTHOR
Alysia Veenhof (ladyluck1899(AT)hotmail.com), May 05 2004
EXTENSIONS
More terms from Pab Ter (pabrlos(AT)yahoo.com), May 24 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 29 15:45 EDT 2024. Contains 372114 sequences. (Running on oeis4.)