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!)
A306764 a(n) is a sequence of period 12: repeat [1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6]. 0
1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
a(1) to a(12) is a palindrome.
A089145(n) = A089128(n+3).
A089128(n) = A089145(n+3).
a(1) + a(2) + a(3) + a(4) = a(5) + a(6) + a(7) + a(8) = a(9) + a(10) + a(11) + a(12) = 10.
LINKS
FORMULA
a(n) = 2*A064038(n+3)/A306368(n).
a(n) = interleave A089128(n-1), A089128(n+1).
a(n) = interleave A089145(n+2), A089145(n-2).
From Colin Barker, Dec 09 2019: (Start)
G.f.: (1 + x + 6*x^2 + x^3 - 3*x^5 + x^6 + 2*x^7 + 6*x^8) / ((1 - x)*(1 + x^2)*(1 + x + x^2)*(1 - x^2 + x^4)).
a(n) = a(n-3) - a(n-6) + a(n-9) for n>8.
(End)
EXAMPLE
a(0) = 6/6 = 1;
a(1) = 10/10 = 1;
a(2) = 30/5 = 6;
a(3) = 42/21 = 2.
MATHEMATICA
PadRight[{}, 120, {1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 6}] (* or *) LinearRecurrence[ {0, 0, 1, 0, 0, -1, 0, 0, 1}, {1, 1, 6, 2, 1, 3, 2, 2, 3}, 120] (* Harvey P. Dale, Dec 16 2021 *)
PROG
(PARI) Vec((1 + x + 6*x^2 + x^3 - 3*x^5 + x^6 + 2*x^7 + 6*x^8) / ((1 - x)*(1 + x^2)*(1 + x + x^2)*(1 - x^2 + x^4)) + O(x^80)) \\ Colin Barker, Dec 11 2019
CROSSREFS
Cf. A064038, A089128 and A089145 (shifted bisections), A306368, A010692.
Sequence in context: A284761 A021165 A165061 * A101607 A039508 A324569
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Mar 08 2019
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 23 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)