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!)
A031282 a(n)=(# 1's)-(# 2's) in first n terms of A031269. 0
1, 0, 0, 1, 1, 2, 2, 1, 1, 1, 2, 3, 4, 4, 3, 4, 4, 4, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 5, 5, 5, 4, 4, 5, 4, 4, 3, 2, 1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 1, 2, 2, 1, 2, 3, 2, 2, 2, 2, 2, 2, 2, 1, 0, -1, -1, 0, 1, 1, 1, 2, 2, 1, 2, 3, 3, 3, 3, 4, 5, 4, 3, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
MATHEMATICA
Accumulate[Which[#==1, 1, #==2, -1, True, 0]&/@Flatten[Table[ IntegerDigits[ Fibonacci[ n+1], 5], {n, 30}]]] (* Harvey P. Dale, Dec 19 2021 *)
CROSSREFS
Sequence in context: A297877 A027926 A114730 * A085685 A267632 A112465
KEYWORD
sign
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 20 05:25 EDT 2024. Contains 371798 sequences. (Running on oeis4.)