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!)
A260160 a(n) = a(n-2) + a(n-6) - a(n-8) with n>8, the first eight terms are 0 except that for a(5) = a(7) = 1. 3
0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 2, 0, 2, 0, 2, 0, 3, 0, 3, 0, 3, 0, 4, 0, 4, 0, 4, 0, 5, 0, 5, 0, 5, 0, 6, 0, 6, 0, 6, 0, 7, 0, 7, 0, 7, 0, 8, 0, 8, 0, 8, 0, 9, 0, 9, 0, 9, 0, 10, 0, 10, 0, 10, 0, 11, 0, 11, 0, 11, 0, 12, 0, 12, 0, 12, 0, 13, 0, 13, 0, 13, 0, 14, 0, 14, 0, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,11
COMMENTS
Sequence related to A264041 (1 is the offset of A264041).
LINKS
FORMULA
G.f.: x^5/(1-x^2-x^6+x^8).
a(n) = A264041(n) - n*(n+1)/2, 0<n<=26 (conjectured for n>26).
a(n) = (1-(-1)^n)*floor(n/6+1/3)/2. [Bruno Berselli, Nov 10 2015]
MAPLE
with(numtheory): P:= proc(q) local n; for n from 0 to q do
print((1-(-1)^n)*floor(n/6+1/3)/2); od; end: P(100); # Paolo P. Lava, Nov 12 2015
MATHEMATICA
LinearRecurrence[{0, 1, 0, 0, 0, 1, 0, -1}, {0, 0, 0, 0, 1, 0, 1, 0}, 100]
Table[(1 - (-1)^n) (Floor[n/6 + 1/3]/2), {n, 1, 90}] (* Bruno Berselli, Nov 10 2015 *)
PROG
(PARI) concat(vector(4), Vec(x^5/(1-x^2-x^6+x^8) + O(x^100))) \\ Altug Alkan, Nov 10 2015
(Sage) [(1-(-1)^n)*floor(n/6+1/3)/2 for n in (1..90)] # Bruno Berselli, Nov 10 2015
CROSSREFS
Cf. A000004 (second bisection), A000217, A002264 (for the first bisection), A264041.
Sequence in context: A281009 A352446 A284443 * A008614 A036663 A209457
KEYWORD
nonn,easy
AUTHOR
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 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)