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!)
A137199 a(n)=a(n-1)+3a(n-2)+a(n-3). 0
1, 1, 1, 5, 9, 25, 57, 141, 337, 817, 1969, 4757, 11481, 27721, 66921, 161565, 390049, 941665, 2273377, 5488421, 13250217, 31988857, 77227929, 186444717, 450117361, 1086679441, 2623476241, 6333631925, 15290740089, 36915112105, 89120964297 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
O.g.f.: (-1+3*x^2)/{(1+x)(x^2+2*x-1)} . a(n) = (-1)^(n+1)+2*A000129(n-1) if n>=1. - R. J. Mathar, Mar 17 2008
MATHEMATICA
LinearRecurrence[{1, 3, 1}, {1, 1, 1}, 40] (* Harvey P. Dale, Feb 27 2020 *)
CROSSREFS
Cf. A097076.
Sequence in context: A276918 A127976 A147286 * A221567 A147512 A301960
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Mar 04 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)