login
A238461
Greatest number k such that A000009(k) <= n.
1
2, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22
OFFSET
1,1
COMMENTS
Inverse of A000009, the sequence of "restricted" partitions (partitions of integers into distinct parts).
LINKS
Jean-François Alcover, Table of n, a(n) for n = 1..1000
EXAMPLE
q(12) = 15, therefore a(15) = 12.
MATHEMATICA
a[n_] := For[k = 1, True, k++, If[PartitionsQ[k] > n, Return[k-1]]]; Table[a[n], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved