OFFSET
1,2
LINKS
Paul Tek, Table of n, a(n) for n = 1..10000
Paul Tek, PARI program for this sequence
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
KEYWORD
AUTHOR
Benoit Cloitre, Jul 28 2002
STATUS
approved