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!)
A135332 a(1)=1; for n>1, a(n) = a(n-1) + n^0 if n odd, a(n) = a(n-1) + n^3 if n is even. 2
1, 9, 10, 74, 75, 291, 292, 804, 805, 1805, 1806, 3534, 3535, 6279, 6280, 10376, 10377, 16209, 16210, 24210, 24211, 34859, 34860, 48684, 48685, 66261, 66262, 88214, 88215, 115215, 115216, 147984, 147985, 187289, 187290, 233946, 233947, 288819 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 4, -4, -6, 6, 4, -4, -1, 1).
FORMULA
From R. J. Mathar, Feb 22 2009: (Start)
a(n) = a(n-1) + 4*a(n-2) - 4*a(n-3) - 6*a(n-4) + 6*a(n-5) + 4*a(n-6) - 4*a(n-7) - a(n-8) + a(n-9).
G.f.: x*(1 + 8*x - 3*x^2 + 32*x^3 + 3*x^4 +8*x^5 -x^6)/((1+x)^4*(1-x)^5). (End)
MATHEMATICA
LinearRecurrence[{1, 4, -4, -6, 6, 4, -4, -1, 1}, {1, 9, 10, 74, 75, 291, 292, 804, 805}, 40] (* Harvey P. Dale, Nov 28 2014 *)
CROSSREFS
Sequence in context: A048070 A341527 A167708 * A098325 A101242 A342615
KEYWORD
nonn
AUTHOR
Artur Jasinski, May 12 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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)