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!)
A305029 Period 10 sequence [ 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, ...] except a(0) = 1. 1
1, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2, 0, 2, 2, 2, 2, 0, -2, -2, -2, -2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
If m is odd, (Sum_{k=0..m} x^k)/(Sum_{k=0..m} (-x)^k) = (1+x)/(1-x).
LINKS
FORMULA
G.f.: (1 + x + x^2 + x^3 + x^4)/(1 - x + x^2 - x^3 + x^4).
PROG
(PARI) N=66; x='x+O('x^N); Vec(((sum(k=0, 4, x^k))/(sum(k=0, 4, (-x)^k))))
CROSSREFS
Cf. A040000 (m is odd), A000007 (m=0), A184334 (m=2), this sequence (m=4).
Sequence in context: A065833 A245476 A215884 * A097033 A268686 A113306
KEYWORD
easy,sign
AUTHOR
Seiichi Manyama, May 24 2018
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 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)