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!)
A235669 Sum of parts of the form 10...0 and 20...0 with nonnegative number of zeros in ternary representation of n as the corresponding numbers 3^n and 2*3^n. 3
0, 1, 2, 3, 2, 3, 6, 3, 4, 9, 4, 5, 4, 3, 4, 7, 4, 5, 18, 7, 8, 5, 4, 5, 8, 5, 6, 27, 10, 11, 6, 5, 6, 9, 6, 7, 10, 5, 6, 5, 4, 5, 8, 5, 6, 19, 8, 9, 6, 5, 6, 9, 6, 7, 54, 19, 20, 9, 8, 9, 12, 9, 10, 11, 6, 7, 6, 5, 6, 9, 6, 7, 20, 9, 10, 7, 6, 7, 10, 7, 8, 81, 28, 29, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
The number of appearances of k is the number of compositions of k into numbers of the form 3^n and 2*3^n, A235684(k).
LINKS
MATHEMATICA
bitPatt[n_, b_]:=Split[IntegerDigits[n, b ], #2==0&]; Map[Plus@@Map[FromDigits[#, 3]&, bitPatt[#, 3]]&, Range[0, 50]] (* Peter J. C. Moses, Jan 13 2014 *)
CROSSREFS
Sequence in context: A330903 A278910 A337982 * A118088 A298211 A088212
KEYWORD
nonn,base,look
AUTHOR
Vladimir Shevelev, Jan 13 2014
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 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)