The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A362598 a(n) is the number of 0's minus the number of 1's among the first n terms of A362240. 1
0, 1, 0, 1, 2, 1, 0, 1, 2, 3, 2, 3, 2, 1, 0, -1, 0, 1, 2, 3, 2, 3, 2, 3, 2, 1, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 8, 9, 8, 9, 10, 11, 12, 11, 10, 9, 10, 9, 8, 7, 8, 7, 6, 5, 4, 3, 4, 5, 6, 5, 6, 7, 8, 9, 8, 9, 10, 9, 10, 11, 10, 9, 10, 9, 10, 11, 10, 9, 8, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
Rémy Sigrist, Perl program
EXAMPLE
For n = 5: the 5 first terms of A362240 are 0, 1, 0, 0, 1, so a(5) = 3 - 2 = 1.
PROG
(Perl) See Links section.
CROSSREFS
Cf. A362240.
Sequence in context: A037834 A212496 A348295 * A179765 A004074 A245615
KEYWORD
sign
AUTHOR
Rémy Sigrist, Apr 27 2023
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 June 2 12:16 EDT 2024. Contains 373040 sequences. (Running on oeis4.)