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!)
A072871 Smallest partition number divisible by n. 9
1, 2, 3, 56, 5, 30, 7, 56, 135, 30, 11, 792, 3718, 42, 15, 176, 386155, 792, 627, 715220, 42, 22, 8349, 792, 1575, 3718, 135, 56, 2436, 30, 75175, 2323520, 231, 92669720, 385, 792, 34262962, 124754, 4835271870, 2323520, 14883, 42, 3010, 176, 135, 8118264, 526823 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = n*A235704(n). - Omar E. Pol, Jan 15 2014
PROG
(PARI) a(n) = {my(k=1, pk); while((pk=numbpart(k)) % n, k++); pk; } \\ Michel Marcus, Nov 26 2013
(Python)
from sympy import npartitions
def a(n):
k = 1
while npartitions(k)%n: k += 1
return npartitions(k)
print([a(n) for n in range(1, 48)]) # Michael S. Branicky, Aug 05 2022
CROSSREFS
Sequence in context: A344732 A037424 A155088 * A041709 A361095 A362835
KEYWORD
easy,nonn,look
AUTHOR
Benoit Cloitre, Jul 28 2002
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 May 4 12:00 EDT 2024. Contains 372243 sequences. (Running on oeis4.)