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!)
A190941 Partial sums of A190592. 1
0, 1, 3, 4, 5, 7, 9, 11, 13, 14, 15, 17, 18, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 46, 47, 49, 50, 51, 53, 55, 57, 59, 60, 61, 63, 64, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 146, 147, 149, 150, 151, 153, 155, 157, 159, 160, 161, 163, 164, 165, 167, 169, 171, 173, 175, 177, 179, 181, 183, 185 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Compare with obvious base-2 analog. What is the general base-k formula?
LINKS
FORMULA
a(n) = Sum_{i=0..n} (maximal digit in base-3 expansion of i).
a(n) = 3n + O(n^0.631). - Charles R Greathouse IV, Aug 21 2011
MATHEMATICA
Accumulate@ Array[Max@ IntegerDigits[#, 3] &, 105, 0] (* Michael De Vlieger, Feb 15 2020 *)
CROSSREFS
Sequence in context: A047501 A256455 A035242 * A284752 A161153 A128201
KEYWORD
nonn,easy,base
AUTHOR
Jonathan Vos Post, May 24 2011
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 August 8 22:22 EDT 2024. Contains 375024 sequences. (Running on oeis4.)