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!)
A343119 Number of compositions (ordered partitions) of the n-th primorial into distinct parts. 1
1, 1, 11, 41867, 517934206090276988507, 42635439758725572299058305546953458030363703549127905691758491973278624456679699932948789006991639715987 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
All terms are odd.
LINKS
FORMULA
a(n) = A032020(A002110(n)).
MAPLE
b:= proc(n) b(n):= `if`(n=0, 1, b(n-1)*ithprime(n)) end:
g:= proc(n, k) option remember; `if`(k<0 or n<0, 0,
`if`(k=0, `if`(n=0, 1, 0), g(n-k, k)+k*g(n-k, k-1)))
end:
a:= n-> add(g(b(n), k), k=0..floor((sqrt(8*b(n)+1)-1)/2)):
seq(a(n), n=0..5);
MATHEMATICA
$RecursionLimit = 5000;
b[n_] := If[n == 0, 1, b[n - 1]*Prime[n]];
g[n_, k_] := g[n, k] = If[k < 0 || n < 0, 0,
If[k == 0, If[n == 0, 1, 0], g[n - k, k] + k*g[n - k, k - 1]]];
a[n_] := Sum[g[b[n], k], {k, 0, Floor[(Sqrt[8*b[n] + 1] - 1)/2]}];
Table[a[n], {n, 0, 5}] (* Jean-François Alcover, Apr 14 2022, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A346206 A198707 A198626 * A295176 A337248 A102367
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Apr 09 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 April 24 14:54 EDT 2024. Contains 371960 sequences. (Running on oeis4.)