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!)
A031265 a(n)=(# 1's)-(# 0's) in first n terms of A031253. 1
1, 1, 2, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 4, 4, 4, 5, 4, 3, 4, 3, 3, 4, 3, 3, 4, 5, 6, 7, 8, 8, 9, 9, 8, 9, 9, 9, 10, 10, 10, 11, 11, 12, 13, 13, 13, 14, 14, 13, 14, 14, 14, 15, 15, 15, 15, 14, 15, 15, 14, 14, 14, 15, 14, 14, 15, 15, 15, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Accumulate[Flatten[Table[IntegerDigits[2n-1, 5]/.{0->-1, 2->0, 3->0, 4->0}, {n, 60}]]] (* Harvey P. Dale, Jan 14 2024 *)
CROSSREFS
Sequence in context: A262868 A342097 A259357 * A029202 A173894 A353533
KEYWORD
nonn
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 May 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)