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!)
A342996 The number of partitions of the n-th primorial. 3
1, 2, 11, 5604, 9275102575355, 21565010821742923705373368869534441911701199887419 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = A000041(A002110(n)).
MAPLE
b:= proc(n) b(n):= `if`(n=0, 1, b(n-1)*ithprime(n)) end:
a:= n-> combinat[numbpart](b(n)):
seq(a(n), n=0..5);
MATHEMATICA
b[n_] := b[n] = If[n == 0, 1, b[n - 1]*Prime[n]];
a[n_] := PartitionsP[b[n]];
Table[a[n], {n, 0, 5}] (* Jean-François Alcover, Jul 07 2021, from Maple *)
PROG
(Python)
from sympy import primorial
from sympy.functions import partition
def A342996(n): return partition(primorial(n)) if n > 0 else 1 # Chai Wah Wu, Apr 03 2021
(PARI) a(n) = numbpart(prod(k=1, n, prime(k))); \\ Michel Marcus, Jul 07 2021
CROSSREFS
Sequence in context: A246518 A072665 A201264 * A087344 A290873 A291263
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Apr 01 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 August 20 23:19 EDT 2024. Contains 375341 sequences. (Running on oeis4.)