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!)
A341469 Number of partitions of n into 10 distinct nonprime parts. 2
1, 0, 1, 1, 2, 2, 4, 3, 6, 7, 10, 11, 17, 17, 25, 28, 38, 44, 57, 64, 82, 95, 117, 136, 168, 189, 231, 264, 317, 366, 433, 490, 579, 660, 770, 877, 1019, 1146, 1327, 1497, 1720, 1940, 2215, 2481, 2825, 3165, 3583, 4008, 4523, 5033, 5664 (list; graph; refs; listen; history; text; internal format)
OFFSET
95,5
LINKS
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0,
`if`(t=0, 1, 0), `if`(i<t or t<1, 0, b(n, i-1, t)+
`if`(isprime(i), 0, b(n-i, min(n-i, i-1), t-1))))
end:
a:= n-> b(n$2, 10):
seq(a(n), n=95..145); # Alois P. Heinz, Feb 12 2021
MATHEMATICA
b[n_, i_, t_] := b[n, i, t] = If[n == 0,
If[t == 0, 1, 0], If[i < t || t < 1, 0, b[n, i - 1, t] +
If[PrimeQ[i], 0, b[n - i, Min[n - i, i - 1], t - 1]]]];
a[n_] := b[n, n, 10];
Table[a[n], {n, 95, 145}] (* Jean-François Alcover, Feb 28 2022, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A238790 A238787 A293170 * A101200 A122585 A057449
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 12 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 14 17:50 EDT 2024. Contains 372533 sequences. (Running on oeis4.)