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!)
A341484 Number of ways to write n as an ordered sum of 7 nonprime numbers. 7
1, 0, 0, 7, 0, 7, 21, 7, 49, 42, 63, 154, 119, 259, 357, 420, 707, 861, 1169, 1666, 2072, 2752, 3703, 4557, 5999, 7637, 9422, 12089, 14931, 18354, 22904, 27825, 33866, 41328, 49539, 59753, 71386, 85071, 100800, 119455, 140448, 164794, 193179, 224826, 261464, 303422 (list; graph; refs; listen; history; text; internal format)
OFFSET
7,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, 7):
seq(a(n), n=7..52); # Alois P. Heinz, Feb 13 2021
MATHEMATICA
nmax = 52; CoefficientList[Series[Sum[Boole[!PrimeQ[k]] x^k, {k, 1, nmax}]^7, {x, 0, nmax}], x] // Drop[#, 7] &
CROSSREFS
Sequence in context: A246918 A055957 A165090 * A117013 A176015 A322910
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 April 24 05:49 EDT 2024. Contains 371918 sequences. (Running on oeis4.)