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!)
A174931 Half of the digital sum of base 3 representations of 2^n. 0
1, 1, 2, 2, 2, 2, 3, 2, 4, 4, 5, 5, 4, 5, 8, 6, 7, 6, 8, 7, 9, 8, 6, 5, 6, 7, 10, 10, 11, 12, 13, 12, 11, 11, 11, 9, 10, 13, 14, 14, 14, 13, 15, 15, 15, 13, 13, 13, 16, 19, 20, 19, 19, 14, 17, 20, 21, 19, 20, 23, 20, 19, 21, 24, 22, 21, 20, 21, 24, 24, 22, 21, 23, 22, 23, 23, 27, 25, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
2^4=16={1,2,1} (base 3) ==> a(4)=(1+2+1)/2 =2
MATHEMATICA
a[n_] := 1/2* Module[{aux = IntegerDigits[2^n, 3]}, Sum[aux[[i]], {i, 1, Length[aux]}]]; Table[a[n], {n, 100}]
CROSSREFS
Sequence in context: A361514 A029348 A070093 * A058744 A366297 A323246
KEYWORD
nonn,base
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 February 28 20:40 EST 2024. Contains 370400 sequences. (Running on oeis4.)