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!)
A030362 a(n) = (# 1's) - (# 2's) in first n terms of A030353. 0
1, 2, 2, 3, 2, 1, 2, 3, 3, 3, 4, 4, 3, 4, 5, 6, 7, 6, 6, 7, 6, 5, 4, 4, 5, 4, 5, 5, 4, 5, 4, 3, 2, 3, 4, 4, 4, 4, 5, 5, 5, 4, 5, 5, 6, 7, 8, 8, 7, 7, 8, 8, 7, 6, 7, 8, 8, 9, 10, 11, 12, 12, 13, 14, 15, 14, 15, 16, 15, 16, 17, 16, 16, 16, 17, 16, 16, 15, 16, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Accumulate[Flatten[Table[IntegerDigits[n, 3], {n, 1, 101, 2}]]/.(2->-1)] (* Harvey P. Dale, Mar 05 2023 *)
CROSSREFS
Sequence in context: A076494 A217721 A071862 * A007906 A044050 A096826
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 April 23 06:04 EDT 2024. Contains 371906 sequences. (Running on oeis4.)