A190941 Partial sums of A190592.
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
Offset: 0
Links
- Michael De Vlieger, Table of n, a(n) for n = 0..10000
Programs
-
Mathematica
Accumulate@ Array[Max@ IntegerDigits[#, 3] &, 105, 0] (* Michael De Vlieger, Feb 15 2020 *)
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
Comments