[go: up one dir, main page]

login
Search: a334465 -id:a334465
     Sort: relevance | references | number | modified | created      Format: long | short | data
Irregular triangle read by rows: T(n,k), n >= 1, k >= 1, in which column k lists 1's interleaved with k-1 zeros, and the first element of column k is in row k(k+1)/2.
+10
213
1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0
OFFSET
1
COMMENTS
The sum of row n gives A001227(n), the number of odd divisors of n.
Row n has length A003056(n), hence column k starts in row A000217(k).
If n = 2^j then the only positive integer in row n is T(n,1) = 1.
If n is an odd prime then the only two positive integers in row n are T(n,1) = 1 and T(n,2) = 1.
The partial sums of column k give the column k of A235791.
The connection with A196020 is as follows: A235791 --> A236104 --> A196020.
The connection with the symmetric representation of sigma is as follows: A235791 --> A237591 --> A237593 --> A239660 --> A237270.
From Hartmut F. W. Hoft, Oct 23 2014: (Start)
Property: Let n = 2^m*s*t with m >= 0 and 1 <= s, t odd, and r(n) = floor((sqrt(8*n+1) - 1)/2) = A003056(n). T(n, k) = 1 precisely when k is odd and k|n, or k = 2^(m+1)*s when 1 <= s < 2^(m+1)*s <= r(n) < t. Thus each odd divisor greater than r(n) is matched by a unique even index less than or equal to r(n).
For further connections with the symmetric representation of sigma see also A249223. (End)
From Omar E. Pol, Jan 21 2017: (Start)
Conjecture 1: alternating sum of row n gives A067742(n), the number of middle divisors of n.
The sum of row n also gives the number of subparts in the symmetric representation of sigma(n), equaling A001227(n), the number of odd divisors of n. For more information see A279387. (End)
From Omar E. Pol, Feb 08 2017, Feb 22 2017: (Start)
Conjecture 2: Alternating sum of row n also gives the number of central subparts in the symmetric representation of sigma(n), equaling the width of the terrace at the n-th level in the main diagonal of the pyramid described in A245092.
Conjecture 3: The sum of the odd-indexed terms in row n gives A082647(n): the number of odd divisors of n less than sqrt(2*n), also the number of partitions of n into an odd number of consecutive parts.
Conjecture 4: The sum of the even-indexed terms in row n gives A131576(n): the number of odd divisors of n greater than sqrt(2*n), also the number of partitions of n into an even number of consecutive parts.
Conjecture 5: The sum of the even-indexed terms in row n also gives the number of pairs of equidistant subparts in the symmetric representation of sigma(n). (End)
Conjecture 6: T(n,k) is also the number of partitions of n into exactly k consecutive parts. - Omar E. Pol, Apr 28 2017
The number of zeros in the n-th row equals A238005(n). - Omar E. Pol, Sep 11 2021
This triangle is a member of an infinite family of irregular triangles read by rows in which column k lists 1's interleaved with k-1 zeros, and the first element of column k is where the row number equals the k-th (m+2)-gonal number, with n >= 1, k >= 1, m >= 0. T(n,k) is also the number of partitions of n into k consecutive parts that differ by m. This is the case for m = 1. For other values of m see the cross-references. - Omar E. Pol, Sep 29 2021
The indices of the rows where the number of 1's increases to a record give A053624. - Omar E. Pol, Mar 04 2023
FORMULA
For n >= 1 and k = 1, ..., A003056(n): if k is odd then T(n, k) = 1 if k|n, otherwise 0, and if k is even then T(n, k) = 1 if k|(n-k/2), otherwise 0. - Hartmut F. W. Hoft, Oct 23 2014
a(n) = A057427(A196020(n)) = A057427(A261699(n)). - Omar E. Pol, Nov 14 2016
A000203(n) = Sum_{k=1..A003056(n)} (-1)^(k-1) * ((Sum_{j=k*(k+1)/2..n} T(j,k))^2 - (Sum_{j=k*(k+1)/2..n} T(j-1,k))^2), assuming that T(k*(k+1)/2-1,k) = 0. - Omar E. Pol, Oct 10 2018
T(n,k) = A285914(n,k)/k. - Omar E. Pol, Sep 29 2021
From Hartmut F. W. Hoft, Apr 30 2024: (Start)
Another way of expressing the formula above, using S(n,k) for entries in the triangle of A235791, is:
T(n,k) = S(n,k) - S(n-1,k), for all n >= 1 and 1 <= k <= A003056(n), noting that for triangular numbers n(n+1)/2, S(n(n+1)/2 - 1, A003056(n(n+1)/2)) = S(n(n+1)/2 - 1, n) = 0.
Also, T(n,k) = 1 if n - k(k+1)/2 (mod k) = 0, and 0 otherwise. (End)
EXAMPLE
Triangle begins (rows 1..28):
1;
1;
1, 1;
1, 0;
1, 1;
1, 0, 1;
1, 1, 0;
1, 0, 0;
1, 1, 1;
1, 0, 0, 1;
1, 1, 0, 0;
1, 0, 1, 0;
1, 1, 0, 0;
1, 0, 0, 1;
1, 1, 1, 0, 1;
1, 0, 0, 0, 0;
1, 1, 0, 0, 0;
1, 0, 1, 1, 0;
1, 1, 0, 0, 0;
1, 0, 0, 0, 1;
1, 1, 1, 0, 0, 1;
1, 0, 0, 1, 0, 0;
1, 1, 0, 0, 0, 0;
1, 0, 1, 0, 0, 0;
1, 1, 0, 0, 1, 0;
1, 0, 0, 1, 0, 0;
1, 1, 1, 0, 0, 1;
1, 0, 0, 0, 0, 0, 1;
...
For n = 20 the divisors of 20 are 1, 2, 4, 5, 10, 20.
There are two odd divisors: 1 and 5. On the other hand the 20th row of triangle is [1, 0, 0, 0, 1] and the row sum is 2, equaling the number of odd divisors of 20.
From Hartmut F. W. Hoft, Oct 23 2014: (Start)
For n = 18 the divisors are 1, 2, 3, 6, 9, 18.
There are three odd divisors: 1 and 3 are in their respective columns, but 9 is accounted for in column 4 = 2^2*1 since 18 = 2^1*1*9 and 9>5, the number of columns in row 18. (End)
From Omar E. Pol, Dec 17 2016: (Start)
Illustration of initial terms:
Row _
1 _|1|
2 _|1 _|
3 _|1 |1|
4 _|1 _|0|
5 _|1 |1 _|
6 _|1 _|0|1|
7 _|1 |1 |0|
8 _|1 _|0 _|0|
9 _|1 |1 |1 _|
10 _|1 _|0 |0|1|
11 _|1 |1 _|0|0|
12 _|1 _|0 |1 |0|
13 _|1 |1 |0 _|0|
14 _|1 _|0 _|0|1 _|
15 _|1 |1 |1 |0|1|
16 _|1 _|0 |0 |0|0|
17 _|1 |1 _|0 _|0|0|
18 _|1 _|0 |1 |1 |0|
19 _|1 |1 |0 |0 _|0|
20 _|1 _|0 _|0 |0|1 _|
21 _|1 |1 |1 _|0|0|1|
22 _|1 _|0 |0 |1 |0|0|
23 _|1 |1 _|0 |0 |0|0|
24 _|1 _|0 |1 |0 _|0|0|
25 _|1 |1 |0 _|0|1 |0|
26 _|1 _|0 _|0 |1 |0 _|0|
27 _|1 |1 |1 |0 |0|1 _|
28 |1 |0 |0 |0 |0|0|1|
...
Note that the 1's are placed exactly below the horizontal line segments.
Also the above structure represents the left hand part of the front view of the pyramid described in A245092. For more information about the pyramid and the symmetric representation of sigma see A237593. (End)
MAPLE
r := proc(n) floor((sqrt(1+8*n)-1)/2) ; end proc: # A003056
A237048:=proc(n, k) local i; global r;
if n<(k-1)*k/2 or k>r(n) then return(0); fi;
if (k mod 2)=1 and (n mod k)=0 then return(1); fi;
if (k mod 2)=0 and ((n-k/2) mod k) = 0 then return(1); fi;
return(0);
end;
for n from 1 to 12 do lprint([seq(A237048(n, k), k=1..r(n))]); od; # N. J. A. Sloane, Jan 15 2021
MATHEMATICA
cd[n_, k_] := If[Divisible[n, k], 1, 0]
row[n_] := Floor[(Sqrt[8n+1] - 1)/2]
a237048[n_, k_] := If[OddQ[k], cd[n, k], cd[n - k/2, k]]
a237048[n_] := Map[a237048[n, #]&, Range[row[n]]]
Flatten[Map[a237048, Range[24]]] (* data: 24 rows of triangle *)
(* Hartmut F. W. Hoft, Oct 23 2014 *)
PROG
(PARI) t(n, k) = if (k % 2, (n % k) == 0, ((n - k/2) % k) == 0);
tabf(nn) = {for (n=1, nn, for (k=1, floor((sqrt(1+8*n)-1)/2), print1(t(n, k), ", "); ); print(); ); } \\ Michel Marcus, Sep 20 2015
(Python)
from sympy import sqrt
import math
def T(n, k): return (n%k == 0)*1 if k%2 == 1 else (((n - k/2)%k) == 0)*1
for n in range(1, 21): print([T(n, k) for k in range(1, int(math.floor((sqrt(8*n + 1) - 1)/2)) + 1)]) # Indranil Ghosh, Apr 21 2017
CROSSREFS
Indices of 1's are also the indices of nonzero terms in A196020, A211343, A236106, A239662, A261699, A272026, A280850, A285891, A285914, A286013, A339275.
The MMA code here is also used in A262045.
Triangles of the same family related to partitions into consecutive parts that differ by m are: A051731 (m=0), this sequence (m=1), A303300 (m=2), A330887 (m=3), A334460 (m=4), A334465 (m=5).
KEYWORD
nonn,easy,tabf
AUTHOR
Omar E. Pol, Mar 01 2014
STATUS
approved
Square array read by antidiagonals upwards: T(n,k) is the total number of parts in all partitions of n into consecutive parts that differ by k, with n >= 1, k >= 0.
+10
9
1, 3, 1, 4, 1, 1, 7, 3, 1, 1, 6, 1, 1, 1, 1, 12, 3, 3, 1, 1, 1, 8, 4, 1, 1, 1, 1, 1, 15, 3, 3, 3, 1, 1, 1, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 18, 6, 3, 3, 3, 1, 1, 1, 1, 1, 12, 5, 4, 1, 1, 1, 1, 1, 1, 1, 1, 28, 3, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 14, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 24, 3, 6, 3, 3, 3, 3, 1
OFFSET
1,2
COMMENTS
The one-part partition n = n is included in the count.
The column k is related to (k+2)-gonal numbers, assuming that 2-gonals are the nonnegative numbers, 3-gonals are the triangular numbers, 4-gonals are the squares, 5-gonals are the pentagonal numbers, and so on.
Note that the number of parts for T(n,0) = A000203(n), equaling the sum of the divisors of n.
For fixed k>0, Sum_{j=1..n} T(j,k) ~ 2^(3/2) * n^(3/2) / (3*sqrt(k)). - Vaclav Kotesovec, Oct 23 2024
FORMULA
The g.f. for column k is Sum_{n>=1} n*x^(n*(k*n-k+2)/2)/(1-x^n). (For proof, see A330889. - N. J. A. Sloane, Nov 21 2020)
EXAMPLE
Square array starts:
n\k| 0 1 2 3 4 5 6 7 8 9 10 11 12
---+---------------------------------------------
1 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
2 | 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
3 | 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
4 | 7, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
5 | 6, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
6 | 12, 4, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, ...
7 | 8, 3, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, ...
8 | 15, 1, 3, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, ...
9 | 13, 6, 4, 3, 1, 3, 1, 3, 1, 1, 1, 1, 1, ...
10 | 18, 5. 3. 1. 3. 1, 3, 1, 3, 1, 1, 1, 1, ...
11 | 12, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 1, 1, ...
12 | 28, 4, 6, 4, 3, 1, 3, 1, 3, 1, 3, 1, 1, ...
...
For n = 9 we have that:
For k = 0 the partitions of 9 into consecutive parts that differ by 0 (or simply: the partitions of 9 into equal parts) are [9], [3,3,3], [1,1,1,1,1,1,1,1,1]. In total there are 13 parts, so T(9,0) = 13.
For k = 1 the partitions of 9 into consecutive parts that differ by 1 (or simply: the partitions of 9 into consecutive parts) are [9], [5,4], [4,3,2]. In total there are six parts, so T(9,1) = 6.
For k = 2 the partitions of 9 into consecutive parts that differ by 2 are [9], [5, 3, 1]. In total there are four parts, so T(9,2) = 4.
MATHEMATICA
nmax = 14;
col[k_] := col[k] = CoefficientList[Sum[n x^(n(k n - k + 2)/2)/(1 - x^n), {n, 1, nmax}] + O[x]^(nmax+1), x];
T[n_, k_] := col[k][[n+1]];
Table[T[n-k, k], {n, 1, nmax}, {k, 0, n-1}] // Flatten (* Jean-François Alcover, Nov 30 2020 *)
CROSSREFS
Columns k: A000203 (k=0), A204217 (k=1), A066839 (k=2), A330889 (k=3), A334464 (k=4), A334732 (k=5), A334949 (k=6), A377300 (k=7), A377301 (k=8).
Triangles whose row sums give the column k: A127093 (k=0), A285914 (k=1), A330466 (k=2) (conjectured), A330888 (k=3), A334462 (k=4), A334540 k=5), A339947 (k=6).
Sequences of number of partitions related to column k: A000005 (k=0), A001227 (k=1), A038548 (k=2), A117277 (k=3), A334461 (k=4), A334541 (k=5), A334948 (k=6).
Tables of partitions related to column k: A010766 (k=0), A286001 (k=1), A332266 (k=2), A334945 (k=3), A334618 (k=4).
Polygonal numbers related to column k: A001477 (k=0), A000217 (k=1), A000290 (k=2), A000326 (k=3), A000384 (k=4), A000566 (k=5), A000567 (k=6).
KEYWORD
nonn,tabl
AUTHOR
Omar E. Pol, May 01 2020
STATUS
approved
a(n) is the number of partitions of n into consecutive parts that differ by 5.
+10
9
1, 1, 1, 1, 1, 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, 2, 2, 2, 2, 2, 3, 1, 2, 3, 2, 1, 3, 2, 2, 2, 2, 2, 3, 1, 2, 3, 3, 1, 3, 2, 2, 3, 2, 2, 3, 1, 3, 3, 2, 1, 3, 3, 2, 2, 2, 2, 4, 1, 2, 3, 2, 2, 4, 2, 2, 2, 3, 2, 4, 1, 2, 4, 2, 1, 4, 2, 3, 2, 2, 2, 4, 2, 2, 3, 2, 1, 5
OFFSET
1,7
COMMENTS
Note that all sequences of this family as A000005, A001227, A038548, A117277, A334461, 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 heptagonal numbers see also A334465.
LINKS
FORMULA
The g.f. for "consecutive parts that differ by d" is Sum_{k>=1} x^(k*(d*k-d+2)/2) / (1-x^k); cf. A117277. - Joerg Arndt, Nov 30 2020
EXAMPLE
For n = 27 there are three partitions of 27 into consecutive parts that differ by 5, including 27 as a valid partition. They are [27], [16, 11] and [14, 9, 4], so a(27) = 3.
MATHEMATICA
first[n_] := Module[{res = Array[1&, n]}, For[i = 2, True, i++, start = i + 5 Binomial[i, 2]; If[start > n, Return[res]]; For[j = start, j <= n, j += i, res[[j]]++]]];
first[105] (* Jean-François Alcover, Nov 30 2020, after David A. Corneth *)
Table[Sum[If[n > 5*k*(k-1)/2 && IntegerQ[n/k - 5*(k-1)/2], 1, 0], {k, Divisors[2*n]}], {n, 1, 100}] (* Vaclav Kotesovec, Oct 23 2024 *)
PROG
(PARI) seq(N, d)=my(x='x+O('x^N)); Vec(sum(k=1, N, x^(k*(d*k-d+2)/2)/(1-x^k)));
seq(100, 5) \\ Joerg Arndt, May 06 2020
(PARI) first(n) = { my(res = vector(n, i, 1)); for(i = 2, oo, start = i + 5 * binomial(i, 2); if(start > n, return(res)); forstep(j = start, n, i, res[j]++ ) ); } \\ David A. Corneth, May 17 2020
CROSSREFS
Row sums of A334465.
Column k=5 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), this sequence (k=5).
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, May 05 2020
STATUS
approved
a(n) is the total number of parts in all partitions of n into consecutive parts that differ by 5.
+10
6
1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 4, 3, 1, 6, 1, 3, 4, 3, 1, 6, 1, 3, 4, 3, 1, 6, 5, 3, 4, 3, 5, 6, 1, 3, 8, 3, 1, 6, 5, 3, 4, 3, 5, 6, 1, 3, 8, 8, 1, 6, 5, 3, 9, 3, 5, 6, 1, 8, 8, 3, 1, 6, 10, 3, 4, 3, 5, 11, 1, 3, 8, 3, 6, 12, 5, 3, 4, 8, 5, 12, 1, 3, 13, 3, 1, 12
OFFSET
1,7
COMMENTS
The one-part partition n = n is included in the count.
For the relation to heptagonal numbers see also A334540.
LINKS
FORMULA
G.f.: Sum_{n>=1} n*x^(n*(5*n-3)/2)/(1-x^n) (for proof see A330889).
Sum_{k=1..n} a(k) ~ 2^(3/2) * n^(3/2) / (3*sqrt(5)). - Vaclav Kotesovec, Oct 23 2024
EXAMPLE
For n = 27 there are three partitions of 27 into consecutive parts that differ by 5, including 27 as a valid partition. They are [27], [16, 11] and [14, 9, 4]. The number of parts of these partitions are 1, 2, 3 respectively and the total number of parts is 1 + 2 + 3 = 6, so the a(27) = 6.
MAPLE
A334732 := proc(n)
local a, k;
a := 0 ;
for k from 1 do
if n>= A000566(k) then
a := a+A334540(n, k);
else
return a;
end if;
end do:
end proc:
seq(A334732(n), n=1..120) ; # R. J. Mathar, Oct 02 2020
MATHEMATICA
nmax = 100;
CoefficientList[Sum[n x^(n(5n-3)/2-1)/(1-x^n), {n, 1, nmax}]+O[x]^nmax, x] (* Jean-François Alcover, Nov 30 2020 *)
Table[Sum[If[n > 5*k*(k-1)/2 && IntegerQ[n/k - 5*(k-1)/2], k, 0], {k, Divisors[2*n]}], {n, 1, 100}] (* Vaclav Kotesovec, Oct 23 2024 *)
PROG
(PARI) my(N=66, x='x+O('x^N)); Vec(sum(k=1, N, k*x^(k*(5*k-3)/2)/(1-x^k))) \\ Seiichi Manyama, Dec 04 2020
CROSSREFS
Row sums of A334540.
Column k=5 of A334466.
Sequences of the same family whose consecutive parts differs by k are: A000203 (k=0), A204217 (k=1), A066839 (k=2), A330889 (k=3), A334464 (k=4), this sequence (k=5), A334949 (k=6).
KEYWORD
nonn
AUTHOR
Omar E. Pol, May 09 2020
EXTENSIONS
More terms from R. J. Mathar, Oct 02 2020
STATUS
approved
Irregular triangle read by rows: T(n,k) is the number of parts in the partition of n into k consecutive parts that differ by 5, n >= 1, k >= 1, and the first element of column k is in the row that is the k-th heptagonal number (A000566).
+10
5
1, 1, 1, 1, 1, 1, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 3, 1, 2, 0, 1, 0, 0, 1, 2, 3, 1, 0, 0, 1, 2, 0, 1, 0, 3, 1, 2, 0, 1, 0, 0, 1, 2, 3, 1, 0, 0, 1, 2, 0, 1, 0, 3, 1, 2, 0, 1, 0, 0, 1, 2, 3, 1, 0, 0, 4, 1, 2, 0, 0, 1, 0, 3, 0, 1, 2, 0, 0, 1, 0, 0, 4, 1, 2, 3, 0, 1, 0, 0, 0, 1
OFFSET
1,8
COMMENTS
Since the trivial partition n is counted, so T(n,1) = 1.
This is an irregular triangle read by rows: T(n,k), n >= 1, k >= 1, in which column k lists k's interleaved with k-1 zeros, and the first element of column k is in the row that is the k-th heptagonal number.
This triangle can be represented with a diagram of overlapping curves, in which every column of triangle is represented by a periodic curve.
For a general theorem about the triangles of this family see A285914.
FORMULA
T(n,k) = k*A334465(n,k).
EXAMPLE
Triangle begins (rows 1..27):
1;
1;
1;
1;
1;
1;
1, 2;
1, 0;
1, 2;
1, 0;
1, 2;
1, 0;
1, 2;
1, 0;
1, 2;
1, 0;
1, 2;
1, 0, 3;
1, 2, 0;
1, 0, 0;
1, 2, 3;
1, 0, 0;
1, 2, 0;
1, 0, 3;
1, 2, 0;
1, 0, 0;
1, 2, 3;
...
For n = 27 there are three partitions of 27 into consecutive parts that differ by 5, including 27 as a valid partition. They are [27], [16, 11] and [14, 9, 4]. The number of parts of these partitions are 1, 2, 3 respectively, so the 27th row of the triangle is [1, 2, 3].
MAPLE
A334540 := proc(n, k)
k*A334465(n, k) ;
end proc: # R. J. Mathar, Oct 02 2020
CROSSREFS
Triangles of the same family where the parts differ by d are A127093 (d=0), A285914 (d=1), A330466 (d=2), A330888 (d=3), A334462 (d=4), this sequence (d=5).
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, May 05 2020
STATUS
approved
a(n) is the sum of all parts of all partitions of n into consecutive parts that differ by 5.
+10
5
1, 2, 3, 4, 5, 6, 14, 8, 18, 10, 22, 12, 26, 14, 30, 16, 34, 36, 38, 20, 63, 22, 46, 48, 50, 26, 81, 28, 58, 60, 62, 32, 99, 68, 70, 72, 74, 76, 117, 40, 82, 126, 86, 44, 135, 92, 94, 96, 98, 100, 153, 52, 106, 162, 165, 56, 171, 116, 118, 180, 122, 124, 189, 64, 195, 198, 134, 68, 207, 210
OFFSET
1,2
COMMENTS
The one-part partition n = n is included in the count.
FORMULA
a(n) = n*A334541(n).
EXAMPLE
For n = 27 there are three partitions of 27 into consecutive parts that differ by 5, including 27 as a valid partition. They are [27], [16, 11] and [14, 9, 4]. The sum of all parts is [27] + [16 + 11] + [14 + 9 + 4] = 81, so a(27) = 81.
CROSSREFS
Sequences of the same family where the parts differs by k are: A038040 (k=0), A245579 (k=1), A060872 (k=2), A334463 (k=3), A327262 (k=4), this sequence (k=5).
KEYWORD
nonn
AUTHOR
Omar E. Pol, May 09 2020
STATUS
approved
Irregular triangle read by rows: T(n,k) is the number of partitions of n into k consecutive parts that differ by 6, and the first element of column k is in the row that is the k-th octagonal number (A000567).
+10
5
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0
OFFSET
1
COMMENTS
T(n,k) is 0 or 1, so T(n,k) represents the "existence" of the mentioned partition: 1 = exists, 0 = does not exist.
Since the trivial partition n is counted, so T(n,1) = 1.
This is also an irregular triangle read by rows: T(n,k), n >= 1, k >= 1, in which column k lists 1's interleaved with k-1 zeros, and the first element of column k is in the row that is the k-th octagonal number.
This triangle can be represented with a diagram of overlapping curves, in which every column of triangle is represented by a periodic curve.
For a general theorem about the triangles of this family see A303300.
EXAMPLE
Triangle begins (rows 1..24).
1;
1;
1;
1;
1;
1;
1;
1, 1;
1, 0;
1, 1;
1, 0;
1, 1;
1, 0;
1, 1;
1, 0;
1, 1;
1, 0;
1, 1;
1, 0;
1, 1;
1, 0, 1;
1, 1, 0;
1, 0, 0;
1, 1, 1;
...
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 the 24th row of this triangle is [1, 1, 1].
CROSSREFS
Row sums give A334948.
Triangles of the same family where the parts differ by m are: A051731 (m=0), A237048 (m=1), A303300 (m=2), A330887 (m=3), A334460 (m=4), A334465 (m=5), this sequence (m=6).
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, May 27 2020
STATUS
approved

Search completed in 0.009 seconds