The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A190529 The number of set partitions of {1,2,...,n} into a prime number of blocks each of which contains a prime number of elements. 1
3, 10, 25, 126, 336, 694, 3711, 22935, 155628, 789009, 4133207, 26216386, 172746848, 1257901128, 8859163896, 63208414749, 453778734700, 3084827391031, 21322774479601, 144228129141558, 982574515258416, 7457862499069701, 62895482731826525, 635323164540457770 (list; graph; refs; listen; history; text; internal format)
OFFSET
4,1
LINKS
FORMULA
E.g.f.: A(A(x)) where A(x) = Sum_{p=prime} x^p/p!.
MAPLE
with(combinat): with(numtheory):
b:= proc(n, i, m) option remember; `if`(n=0, `if`(isprime(m), 1, 0),
`if`(i<1, 0, (p-> add(multinomial(n, n-p*j, p$j)/j!*
b(n-p*j, i-1, m+j), j=0..n/p))(ithprime(i))))
end:
a:= n-> b(n, pi(n), 0):
seq(a(n), n=4..30); # Alois P. Heinz, Sep 17 2015
MATHEMATICA
a= Table[Prime[n], {n, 1, 25}]; b[x_]:= Sum[x^i/i!, {i, a}]; Range[0, 25]! CoefficientList[Series[b[b[x]], {x, 0, 25}], x]
CROSSREFS
Sequence in context: A100001 A227937 A299754 * A343584 A335970 A212967
KEYWORD
nonn
AUTHOR
Geoffrey Critzer, May 11 2011
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 May 17 08:10 EDT 2024. Contains 372579 sequences. (Running on oeis4.)