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!)
A341719 Number of partitions of n into 9 primes (counting 1 as a prime). 3
1, 1, 2, 2, 4, 4, 7, 7, 11, 11, 16, 15, 23, 21, 30, 27, 39, 35, 51, 44, 63, 54, 78, 67, 97, 81, 116, 96, 139, 115, 166, 133, 194, 155, 227, 180, 265, 206, 305, 236, 351, 271, 403, 305, 460, 346, 522, 391, 592, 438, 668, 489, 751, 551, 844, 608, 942, 674, 1050, 750 (list; graph; refs; listen; history; text; internal format)
OFFSET
9,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, 10)
end:
a:= n-> coeff(b(n, numtheory[pi](n)), x, 9):
seq(a(n), n=9..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, 10}];
a[n_] := Coefficient[b[n, PrimePi[n]], x, 9];
Table[a[n], {n, 9, 68}] (* Jean-François Alcover, Feb 26 2022, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A060028 A341951 A182410 * A099770 A099383 A341972
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)