OFFSET
1,1
EXAMPLE
a(8) = 2 because p(8) = 22 divides p(8^2) = 1741630.
MATHEMATICA
a[n_] := Module[{k = 2, p = PartitionsP[n]}, While[! Divisible[PartitionsP[n^k], p], k++]; k]; Array[a, 9] (* Amiram Eldar, Aug 04 2021 *)
PROG
(PARI) a(n)=my(t=2); while(numbpart(n^t)%numbpart(n), t++); t
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Altug Alkan, Jul 30 2021
STATUS
approved