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!)
A341972 Number of partitions of n into 10 primes (counting 1 as a prime). 3
1, 1, 2, 2, 4, 4, 7, 7, 11, 11, 17, 16, 24, 23, 32, 30, 43, 39, 56, 51, 71, 63, 89, 78, 111, 97, 134, 116, 164, 139, 197, 166, 232, 194, 275, 227, 324, 265, 374, 305, 438, 351, 505, 403, 578, 460, 665, 522, 760, 592, 859, 668, 978, 751, 1105, 844, 1239, 942, 1394 (list; graph; refs; listen; history; text; internal format)
OFFSET
10,3
LINKS
MAPLE
b:= proc(n, i) option remember; series(`if`(n=0, 1,
`if`(i<0, 0, (p-> `if`(p>n, 0, x*b(n-p, i)))(
`if`(i=0, 1, ithprime(i)))+b(n, i-1))), x, 11)
end:
a:= n-> coeff(b(n, numtheory[pi](n)), x, 10):
seq(a(n), n=10..68); # Alois P. Heinz, Feb 24 2021
MATHEMATICA
b[n_, i_] := b[n, i] = Series[If[n == 0, 1,
If[i < 0, 0, Function[p, If[p > n, 0, x*b[n - p, i]]][
If[i == 0, 1, Prime[i]]] + b[n, i - 1]]], {x, 0, 11}];
a[n_] := Coefficient[b[n, PrimePi[n]], x, 10];
Table[a[n], {n, 10, 68}] (* Jean-François Alcover, Feb 26 2022, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A341719 A099770 A099383 * A277133 A323539 A280954
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 24 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 May 28 22:13 EDT 2024. Contains 372921 sequences. (Running on oeis4.)