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!)
A300704 Number of compositions (ordered partitions) of n into prime power parts (not including 1) that do not divide n. 4
1, 0, 0, 0, 0, 2, 0, 7, 2, 7, 5, 46, 2, 115, 20, 39, 16, 723, 16, 1819, 27, 559, 414, 11481, 16, 13204, 1763, 6450, 383, 181548, 172, 455646, 1326, 70476, 29809, 571110, 275, 7203906, 121535, 739513, 1703, 45380391, 7362, 113898438, 65049, 757426, 2009203, 717490902, 2304 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
EXAMPLE
a(10) = 5 because we have [7, 3], [4, 3, 3], [3, 7], [3, 4, 3] and [3, 3, 4].
MAPLE
a:= proc(m) option remember; local b; b:= proc(n) option
remember; `if`(n=0, 1, add(`if`(nops(ifactors(j)[2])
<>1 or irem(m, j)=0, 0, b(n-j)), j=2..n)) end; b(m)
end:
seq(a(n), n=0..70); # Alois P. Heinz, Mar 11 2018
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[Boole[Mod[n, k] != 0 && PrimePowerQ[k]] x^k, {k, 1, n}]), {x, 0, n}], {n, 0, 48}]
CROSSREFS
Sequence in context: A346670 A140663 A198108 * A300702 A353273 A105394
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 11 2018
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 August 19 20:07 EDT 2024. Contains 375310 sequences. (Running on oeis4.)