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!)
A341136 Number of ways to write n as an ordered sum of 7 prime powers (including 1). 7
1, 7, 28, 84, 210, 455, 882, 1569, 2611, 4116, 6223, 9093, 12901, 17822, 24053, 31759, 41132, 52367, 65702, 81326, 99526, 120471, 144417, 171493, 201985, 235963, 273889, 315805, 362181, 413021, 468888, 529466, 595770, 667541, 745899, 830473, 922866, 1021832, 1129499 (list; graph; refs; listen; history; text; internal format)
OFFSET
7,2
LINKS
MAPLE
q:= proc(n) option remember; nops(ifactors(n)[2])<2 end:
b:= proc(n, t) option remember;
`if`(n=0, `if`(t=0, 1, 0), `if`(t<1, 0, add(
`if`(q(j), b(n-j, t-1), 0), j=1..n)))
end:
a:= n-> b(n, 7):
seq(a(n), n=7..45); # Alois P. Heinz, Feb 05 2021
MATHEMATICA
nmax = 45; CoefficientList[Series[Sum[Boole[PrimePowerQ[k] || k == 1] x^k, {k, 1, nmax}]^7, {x, 0, nmax}], x] // Drop[#, 7] &
CROSSREFS
Sequence in context: A162595 A073363 A247608 * A166322 A008499 A049018
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 05 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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)