The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A174007 a(2n+1)=2. a(2n)= 1-n. 0
2, 0, 2, -1, 2, -2, 2, -3, 2, -4, 2, -5, 2, -6, 2, -7, 2, -8, 2, -9, 2, -10, 2, -11, 2, -12, 2, -13, 2, -14, 2, -15, 2, -16, 2, -17, 2, -18, 2, -19, 2, -20, 2, -21, 2, -22, 2, -23, 2, -24, 2, -25, 2, -26, 2, -27, 2, -28, 2, -29, 2, -30, 2, -31, 2, -32, 2, -33, 2, -34, 2, -35, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A064680(n)+A022998(n-1) =c(n) = 2, 2, 10, 5, 18, 8, 26, 11,.. has differences c(2n)-c(2n-1) = -5*(n-1) = -A008587(n-1).
LINKS
FORMULA
a(n) = n/4+3/2-(-1)^n*(n/4+1/2).
a(n)= +2*a(n-2) -a(n-4). G.f.: -x*(-2+2*x^2+x^3) / ( (x-1)^2*(1+x)^2 ).
a(n+1)-a(n) = (-1)^n*A008619(n+1).
a(n) = A064680(n)-A022998(n-1).
CROSSREFS
Cf. A147657.
Sequence in context: A029345 A153149 A249072 * A330709 A045450 A347419
KEYWORD
easy,sign
AUTHOR
Paul Curtz, Mar 05 2010
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 May 14 14:03 EDT 2024. Contains 372533 sequences. (Running on oeis4.)