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!)
A131996 Number of partitions of n into distinct powers of 2 or of 3. 4
1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 12, 12, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
a(A081601(n+1)) = n+1 and a(m) < n+1 for m < A081601(n+1).
LINKS
FORMULA
G.f.: Product_{k>=0} ((1+x^(2^k))(1+x^(3^k)))/(1+x) (offset 0). - Emeric Deutsch, Aug 26 2007
EXAMPLE
a(10) = #{9+1,8+2,4+3+2+1}=3;
a(20) = #{16+4,16+3+1,9+8+3,9+8+2+1}=4;
a(30) = #{27+3,27+2+1,16+9+4+1,16+9+3+2,16+8+4+2,16+8+3+2+1}=6.
MAPLE
g:=(product((1+x^(2^k))*(1+x^(3^k)), k=0..10))/(1+x): gser:=series(g, x=0, 111): seq(coeff(gser, x, n), n=1..108); # Emeric Deutsch, Aug 26 2007
MATHEMATICA
max = 100; Product[((1 + x^(2^k)) (1 + x^(3^k))), {k, 0, Log[2, max] // Ceiling}]/(1 + x) + O[x]^max // CoefficientList[#, x]& // Rest (* Jean-François Alcover, Sep 30 2016 *)
CROSSREFS
Sequence in context: A226982 A280952 A235122 * A090618 A186444 A072748
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 06 2007
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 April 24 13:30 EDT 2024. Contains 371957 sequences. (Running on oeis4.)