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!)
A258133 Expansion of tri-digit zeros interlaced with an arithmetic progression of positive and negative numbers. 1
1, 0, 0, 0, 2, -2, 2, 0, 0, 0, 3, -3, 3, 0, 0, 0, 4, -4, 4, 0, 0, 0, 5, -5, 5, 0, 0, 0, 6, -6, 6, 0, 0, 0, 7, -7, 7, 0, 0, 0, 8, -8, 8, 0, 0, 0, 9, -9, 9, 0, 0, 0, 10, -10, 10, 0, 0, 0, 11, -11, 11, 0, 0, 0, 12, -12, 12, 0, 0, 0, 13, -13, 13, 0, 0, 0, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
This sequence is observed as the second difference in the expansion of 1/((1-x)*(1-x^2)*(1-x^3)*(1-x^6)) (A029000), a sequence noted for its interlaced and structural coordination numbers.
LINKS
FORMULA
a(n) = -a(n-1) + a(n-3) + a(n-4) + a(n-6) + a(n-7) - a(n-9) - a(n-10). a(6*k-2) = -a(6*k-1) = a(6*k) = k+1 for k >= 1.
G.f.: (x^9-x^7-x^6+x^4-x^3+x+1) / ((x-1)^2*(x+1)^2*(x^2-x+1)*(x^2+x+1)^2). - Colin Barker, May 24 2015
a(n) = -a(-14-n) for all n in Z. - Michael Somos, Jun 07 2015
EXAMPLE
G.f. = 1 + 2*x^4 - 2*x^5 + 2*x^6 + 3*x^10 - 3*x^11 + 3*x^12 + 4*x^16 + ...
MATHEMATICA
a[ n_] := With[ {m=n-1}, If[ OddQ[ Quotient[ m, 3]], Quotient[ m+9, 6] (-1)^Mod[m, 3], 0]]; (* Michael Somos, Jun 07 2015 *)
PROG
(PARI) Vec((x^9-x^7-x^6+x^4-x^3+x+1)/((x-1)^2*(x+1)^2*(x^2-x+1)*(x^2+x+1)^2) + O(x^100)) \\ Colin Barker, May 24 2015
(PARI) {a(n) = n--; if(n\3%2, (n+9)\6 * (-1)^(n%3), 0)}; /* Michael Somos, Jun 07 2015 */
CROSSREFS
Sequence in context: A037865 A039969 A039967 * A327152 A123186 A127323
KEYWORD
sign,easy
AUTHOR
Avi Friedlich, May 21 2015
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 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)