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”).

A125291
Number of partitions of n into positive digit values of its ternary representation.
7
1, 1, 1, 1, 3, 1, 4, 1, 1, 1, 6, 1, 1, 8, 8, 9, 9, 1, 10, 1, 11, 12, 12, 1, 13, 1, 1, 1, 15, 1, 1, 17, 17, 18, 18, 1, 1, 20, 1, 1, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 1, 28, 1, 29, 30, 30, 1, 31, 1, 32, 33, 33, 34, 34, 35, 35, 36, 36, 1, 37, 1, 38, 39, 39, 1, 40, 1, 1, 1, 42
OFFSET
1,5
COMMENTS
a(A125292(n))=1; a(A125293(n))=floor((n+2)/2)=A008619(n).
LINKS
Eric Weisstein's World of Mathematics, Ternary
FORMULA
a(n) = 1 + floor(n/2) * (1 - 0^(A062756(n)*A081603(n))).
CROSSREFS
Sequence in context: A079668 A144211 A260510 * A320640 A055187 A217780
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Nov 26 2006
STATUS
approved