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!)
A322801 Number of compositions (ordered partitions) of n into centered pentagonal numbers (A005891). 3
1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 9, 12, 16, 21, 28, 36, 46, 59, 76, 98, 128, 167, 217, 281, 363, 468, 605, 784, 1017, 1320, 1712, 2217, 2869, 3713, 4807, 6227, 8070, 10458, 13549, 17549, 22726, 29430, 38117, 49375, 63962, 82859, 107333, 139026, 180071 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
Eric Weisstein's World of Mathematics, Centered Pentagonal Number
FORMULA
G.f.: 1/(1 - Sum_{k>=0} x^(5*k*(k+1)/2+1)).
MAPLE
h:= proc(n) option remember; `if`(n<0, 0, (t->
`if`(((t+1)*5*t+2)/2>n, t-1, t))(1+h(n-1)))
end:
a:= proc(n) option remember; `if`(n=0, 1,
add(a(n-((i+1)*5*i+2)/2), i=0..h(n)))
end:
seq(a(n), n=0..60); # Alois P. Heinz, Dec 28 2018
MATHEMATICA
nmax = 50; CoefficientList[Series[1/(1 - Sum[x^(5 k (k + 1)/2 + 1), {k, 0, nmax}]), {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A005708 A367637 A322853 * A322798 A085793 A281809
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 26 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 March 28 08:22 EDT 2024. Contains 371236 sequences. (Running on oeis4.)