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!)
A117199 Expansion of 1/(1-x^2) + x/(1-x^3) + x^2/(1-x^4). 1
1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0, 1, 1, 2, 0, 2, 0, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Periodic {1,1,2,0,2,0,2,1,1,0,3,0}. Diagonal sums of A117198.
Number of divisors of n+2 in {2,3,4}. - Wesley Ivan Hurt, Jun 11 2023
LINKS
FORMULA
G.f.: (1+2x+4x^2+3x^3+3x^4)/(1+x+x^2-x^4-x^5-x^6).
a(n) = - a(n-1) - a(n-2) + a(n-4) + a(n-5) + a(n-6). - Wesley Ivan Hurt, Jun 11 2023
MATHEMATICA
CoefficientList[ Series[1/(1 - x^2) + x/(1 - x^3) + x^2/(1 - x^4), {x, 0, 105}], x] (* Robert G. Wilson v, Mar 14 2006 *)
LinearRecurrence[{-1, -1, 0, 1, 1, 1}, {1, 1, 2, 0, 2, 0}, 120] (* or *) PadRight[ {}, 120, {1, 1, 2, 0, 2, 0, 2, 1, 1, 0, 3, 0}] (* Harvey P. Dale, Dec 22 2013 *)
CROSSREFS
Sequence in context: A156596 A282570 A026613 * A230632 A052511 A054533
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 02 2006
EXTENSIONS
More terms from Robert G. Wilson v, Mar 14 2006
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 March 19 07:19 EDT 2024. Contains 370954 sequences. (Running on oeis4.)