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!)
A198194 Greatest number k such that p(k) <= n, p(k) being the number of unrestricted partitions of k. 1

%I #42 Mar 02 2016 04:40:32

%S 1,2,3,3,4,4,5,5,5,5,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,

%T 9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,

%U 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12

%N Greatest number k such that p(k) <= n, p(k) being the number of unrestricted partitions of k.

%C Sort of "InversePartitionsP".

%t a[n_] := For[k=1, True, k++, If[PartitionsP[k]>n, Return[k-1]]]; Table[ a[n], {n, 100}]

%o (PARI) a(n)=my(k=1);while(numbpart(k)<=n,k++); k-1 \\ _Charles R Greathouse IV_, Jan 14 2013

%Y Cf. A000041.

%K nonn

%O 1,2

%A _Jean-François Alcover_, Jan 14 2013

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 September 4 07:24 EDT 2024. Contains 375679 sequences. (Running on oeis4.)