login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A215175 a(2*n) = A214297(n), a(2*n+1) = A000290(n). 1
-1, 0, 0, 1, -3, 4, 2, 9, 3, 16, 6, 25, 5, 36, 12, 49, 15, 64, 20, 81, 21, 100, 30, 121, 35, 144, 42, 169, 45, 196, 56, 225, 63, 256, 72, 289, 77, 324, 90, 361, 99, 400, 110, 441, 117, 484, 132, 529, 143, 576, 156, 625, 165, 676, 182, 729 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

From Balmer series.

a(n) and differences a(n+1) - a(n):

-1, 0, 0, 1, -3, 4, 2, 9, 3, 16, 6, 25, ...

1, 0, 1, -4, 7, -2, 7, -6, 13, -10, 19, -20, ... = b(n).

b(2*n) = 1, 1, 7, 7, 13, 19, 31, 37, 49, 61, 79, ... = c(n) + 1.

c(n) = 0, 0, 6, 6, 12, 18, 30, 36, 48, 60, 78, ... = A005563(n-1) - A214297(n) = 6*A001971(n).

a(n+3) - a(n) = 2, -3, 4, 1, 12, -1, 14, -3, 22, -11, 30, -13, 44, ... = e(n).

e(2*n+1) = -3, 1, -1, -3, -11, -13, -21, -29, -43, -51, -65, -79, ... of signature (2,-1,0,1,-2,1).

Differ. = 4, -2, -2, -8, -2, -8, -8, -14, -8, -14, -14, -20, -14, ... .  The different numbers appear four times.

Differ. = -6, 0, -6, 6, -6, 0, -6, 6, -6, 0, -6, 6, -6, ... .  Of period 4. Like c(n+2) - 2*c(n+1) - c(n).

Note that a(2*n) + a(2*n+1) = -1, 1, 1, 11, 19, 31, 41, 61, ... increases after the last 1 despite 6 is before 5.

LINKS

Table of n, a(n) for n=0..55.

FORMULA

G.f. ( 1-x^3+4*x^4-2*x^5-8*x^6-2*x^7+3*x^8-2*x^9-x^11-2*x^2 ) / ( (x^2+1)*(x^4+1)*(x-1)^3*(1+x)^3 ). - R. J. Mathar, Aug 07 2012

a(n) = 2*a(n-2) - a(n-4) + a(n-8) - 2*a(n-10) + a(n-12). - R. J. Mathar, Aug 07 2012

From Luce ETIENNE, Mar 14 2017: (Start)

a(n) = ((5*n^2-8*n-18-(3*n^2-8*n+26)*(-1)^n-18*((-1)^((2*n-1+(-1)^n)/4)+(-1)^((2*n+1-(-1)^n)/4)))+12*(1+(-1)^n+(-1)^((2*n+1-(-1)^n)/4)+(-1)^((2*n-1+(-1)^n)/4))*(-1)^floor(n/4))/32.

a(n) = (5*n^2-8*n-18-(3*n^2-8*n+26)*cos(n*Pi)-36*cos(n*Pi/2)+12*(1+cos(n*Pi)+2*cos(n*Pi/2))*(cos((2*n-1+(-1)^n)*Pi/8)+sin((2*n-1+(-1)^n)*Pi)/8)))/32. (End)

MATHEMATICA

Table[If[EvenQ@ n, (2 #^2 - 11 - 9 (-1)^# + 6 ((-1)^((2 # + 1 - (-1)^#)/4) + (-1)^((2 # - 1 + (-1)^#)/4)))/8 &[n/2], ((n - 1)/2)^2], {n, 0, 55}] (* or *)

CoefficientList[Series[(1 - x^3 + 4 x^4 - 2 x^5 - 8 x^6 - 2 x^7 + 3 x^8 - 2 x^9 - x^11 - 2 x^2)/((x^2 + 1) (x^4 + 1) (x - 1)^3*(1 + x)^3), {x, 0, 69}], x] (* Michael De Vlieger, Mar 24 2017 *)

CROSSREFS

Sequence in context: A082362 A082364 A199271 * A091477 A075593 A145421

Adjacent sequences:  A215172 A215173 A215174 * A215176 A215177 A215178

KEYWORD

sign

AUTHOR

Paul Curtz, Aug 05 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 29 05:25 EST 2020. Contains 332353 sequences. (Running on oeis4.)