login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065251 Simple quasi-periodic sequence consisting of the terms 1, 0 and -1. 5
1, 1, 0, 1, 0, -1, 1, 1, 0, -1, 1, 0, -1, 1, 0, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0, -1, 1, 0 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

A. Karttunen, Conjecture regarding A065249 and A065251

FORMULA

a(n) = 1-((n-2^[log_2(n)]) mod 3)

MAPLE

[seq(A065251(j), j=1..120)]; A065251 := n -> 1-((n-2^floor_log_2(n)) mod 3);

CROSSREFS

The same sequence modulo 3: A065252. Cf. A065249.

Sequence in context: A065535 A093719 A153778 * A039982 A131372 A098457

Adjacent sequences:  A065248 A065249 A065250 * A065252 A065253 A065254

KEYWORD

sign

AUTHOR

Antti Karttunen Oct 25 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.