login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A131097
Sum of digits of 3-smooth numbers in ternary representation.
2
1, 2, 1, 2, 2, 4, 1, 2, 4, 2, 4, 1, 4, 2, 4, 2, 4, 4, 1, 4, 2, 6, 4, 2, 4, 4, 1, 4, 4, 2, 6, 4, 2, 8, 4, 4, 1, 4, 4, 2, 8, 6, 4, 2, 8, 4, 4, 10, 1, 4, 4, 2, 8, 6, 4, 10, 2, 8, 4, 4, 10, 1, 4, 4, 8, 2, 8, 6, 4, 10, 2, 8, 4, 10, 4, 10, 1, 4, 4, 8, 2, 8, 6, 16, 4, 10, 2, 8, 4, 10, 4
OFFSET
1,2
COMMENTS
a(n) = A053735(A003586(n)); values are even iff greater than 1.
LINKS
Eric Weisstein's World of Mathematics, Digit Sum
Eric Weisstein's World of Mathematics, Ternary
MAPLE
Res:= NULL: N:= 10^6:
for a from 0 to ilog2(N) do
for b from 0 do
v:= 2^a*3^b;
if v > N then break fi;
Res:= Res, v;
od od:
TS:= sort([Res]):
map(t -> convert(convert(t, base, 3), `+`), TS); # Robert Israel, Oct 08 2018
CROSSREFS
Sequence in context: A336138 A366600 A365461 * A218666 A062790 A046640
KEYWORD
nonn,base,look
AUTHOR
Reinhard Zumkeller, Jun 14 2007
STATUS
approved