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!)
A346708 a(n) is the least k > 1 such that p(n) divides p(n^k), or 0 if no such k exists (p = A000041). 0
2, 3, 2, 3, 3, 6, 7, 2, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Cf. A000041.
Sequence in context: A300651 A003051 A305866 * A328406 A257396 A293519
KEYWORD
nonn,hard,more
AUTHOR
Altug Alkan, Jul 30 2021
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 September 14 02:26 EDT 2024. Contains 375910 sequences. (Running on oeis4.)