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!)
A341504 Number of ways to write n as an ordered sum of 10 nonprime numbers. 0
1, 0, 0, 10, 0, 10, 45, 10, 100, 130, 135, 460, 390, 820, 1435, 1552, 3135, 4090, 5805, 9370, 12040, 17890, 25485, 33940, 48385, 65812, 87925, 121040, 160155, 212350, 283666, 368590, 482750, 628390, 806450, 1039382, 1327060, 1682860, 2134730, 2684320, 3364819 (list; graph; refs; listen; history; text; internal format)
OFFSET
10,4
LINKS
MAPLE
b:= proc(n, t) option remember;
`if`(n=0, `if`(t=0, 1, 0), `if`(t<1, 0, add(
`if`(isprime(j), 0, b(n-j, t-1)), j=1..n)))
end:
a:= n-> b(n, 10):
seq(a(n), n=10..50); # Alois P. Heinz, Feb 13 2021
MATHEMATICA
nmax = 50; CoefficientList[Series[Sum[Boole[!PrimeQ[k]] x^k, {k, 1, nmax}]^10, {x, 0, nmax}], x] // Drop[#, 10] &
CROSSREFS
Sequence in context: A010681 A095418 A055961 * A196081 A320380 A088001
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 13 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 June 11 15:53 EDT 2024. Contains 373315 sequences. (Running on oeis4.)