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!)
A076453 a(n+2) = abs(a(n+1)) - a(n), a(0)=1, a(1)=0. 0
1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1, 0, -1, 1, 2, 1, -1, 0, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
For any initial values a(0), a(1), the sequence of real numbers {a(n)} satisfying the relation a(n+2) = |a(n+1)| - a(n) is periodic with period 9.
LINKS
M. Brown and J. F. Slifker, Solution to Problem 6439, Amer. Math. Monthly, 92 (1985), p. 218.
M. Crampin, Piecewise linear recurrence relations, Math. Gaz., November 1992, p. 355.
MATHEMATICA
LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, -1, 1, 2, 1, -1, 0, 1}, 100] (* Ray Chandler, Aug 26 2015 *)
CROSSREFS
Sequence in context: A145865 A341281 A076452 * A263657 A261769 A005590
KEYWORD
sign
AUTHOR
Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Nov 07 2002
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 14:17 EDT 2024. Contains 371740 sequences. (Running on oeis4.)