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!)
A242602 Integers repeated thrice in a canonical order. 1
0, 0, 0, 1, 1, 1, -1, -1, -1, 2, 2, 2, -2, -2, -2, 3, 3, 3, -3, -3, -3, 4, 4, 4, -4, -4, -4, 5, 5, 5, -5, -5, -5, 6, 6, 6, -6, -6, -6, 7, 7, 7, -7, -7, -7, 8, 8, 8, -8, -8, -8, 9, 9, 9, -9, -9, -9, 10, 10, 10, -10, -10, -10, 11, 11, 11, -11, -11, -11, 12, 12, 12, -12, -12, -12, 13, 13, 13, -13, -13, -13, 14, 14, 14, -14, -14, -14 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,10
COMMENTS
See the comments under A242601 for the k-family of sequences s(k,n), k = 1, 2, ..., and n >= 0. The present sequence is s(3,k). See the Myerson-van der Poorten link, p. 4.
LINKS
G. Myerson and A. J. van der Poorten, Some problems concerning recurrence sequences, Amer. Math. Monthly 102 (1995), no. 8, 698-705.
FORMULA
O.g.f.: x^3/((1 + x^3)^2*(1 - x)) = x^3/(1 - x + 2*x^3 - 2*x^4 + x^6 - x^7).
a(n) = a(n-1) - 2*a(n-3) + 2*a(n-4) - a(n-6) + a(n-7), n >= 7, with a(0) = a(1) = a(2) = 0, a(3) = a(4) = a(5) = 1 and a(6) = -1.
a(n) = floor((n+3)/6)*(-1)^floor((n+3)/3), n >= 0.
CROSSREFS
Cf. A242601, A152467 (unsigned version with three additional leading zeros).
Sequence in context: A321018 A340764 A152467 * A097992 A195177 A147583
KEYWORD
sign,easy
AUTHOR
Wolfdieter Lang, Jun 17 2014
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 17 21:22 EDT 2024. Contains 371767 sequences. (Running on oeis4.)