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!)
A334948 a(n) is the number of partitions of n into consecutive parts that differ by 6. 8
1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 3, 1, 3, 1, 3, 2, 2, 1, 4, 1, 2, 2, 3, 1, 3, 1, 3, 2, 2, 1, 4, 1, 2, 2, 3, 2, 3, 1, 3, 2, 3, 1, 4, 1, 2, 3, 3, 1, 3, 1, 4, 2, 2, 1, 4, 2, 2, 2, 3, 1, 4, 1, 3, 2, 2, 2, 5, 1, 2, 2, 4, 1, 4, 1, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
Note that all sequences of this family as A000005, A001227, A038548, A117277, A334461, A334541, etc. could be prepended with a(0) = 1 when they are interpreted as sequences of number of partitions, since A000041(0) = 1. However here a(0) is omitted in accordance with the mentioned members of the same family.
For the relation to octagonal numbers see also A334946.
LINKS
FORMULA
G.f.: Sum_{k>=1} x^(k*(3*k - 2)) / (1 - x^k). - Ilya Gutkovskiy, Nov 23 2020
EXAMPLE
For n = 24 there are three partitions of 24 into consecutive parts that differ by 6, including 24 as a valid partition. They are [24], [15, 9] and [14, 8, 2], so a(24) = 3.
MATHEMATICA
nmax = 105;
col[k_] := col[k] = CoefficientList[Sum[x^(n(k n - k + 2)/2 - 1)/(1 - x^n), {n, 1, nmax}] + O[x]^nmax, x];
a[n_] := col[6][[n]];
Array[a, nmax] (* Jean-François Alcover, Nov 30 2020 *)
Table[Count[IntegerPartitions[n], _?(Union[Abs[Differences[#]]]=={6}&)]+1, {n, 110}] (* Harvey P. Dale, Dec 07 2020 *)
PROG
(PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, x^(k*(3*k-2))/(1-x^k))) \\ Seiichi Manyama, Dec 04 2020
CROSSREFS
Row sums of A334946.
Column k=6 of A323345.
Sequences of this family whose consecutive parts differ by k are A000005 (k=0), A001227 (k=1), A038548 (k=2), A117277 (k=3), A334461 (k=4), A334541 (k=5), this sequence (k=6).
Sequence in context: A346094 A082898 A095999 * A161238 A161062 A161266
KEYWORD
nonn
AUTHOR
Omar E. Pol, May 27 2020
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 July 10 03:08 EDT 2024. Contains 374194 sequences. (Running on oeis4.)