login
Search: a334460 -id:a334460
     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
Irregular triangle read by rows: T(n,k) is the number of partitions of n into k consecutive parts that differ by 3, n >= 1, k >= 1, and the first element of column k is in the row that is the k-th pentagonal number (A000326).
+10
10
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, 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, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1
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 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 pentagonal 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..22):
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, 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;
...
For n = 22 there are two partitions of 22 into consecutive parts that differ by 3, including 22 as a partition. They are [22] and [10, 7, 4, 1]. There are no partitions of this kind with two parts nor with three parts, so the 22nd row of the triangle is [1, 0, 0, 1].
MAPLE
A330887 := proc(n, k)
local first1 ;
first1 := A000325(k) ;
if n < first1 then
0 ;
elif modp(n-first1, k) = 0 then
1;
else
0;
end if;
end proc:
for n from 1 to 40 do
for k from 1 do
if n>= A000325(k) then
printf("%d, ", A330887(n, k)) ;
else
break;
end if;
end do:
printf("\n") ;
end do: # R. J. Mathar, Oct 02 2020
CROSSREFS
Row sums give A117277.
Triangles of the same family are A051731, A237048, A303300, this sequence, A334460.
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, Apr 30 2020
STATUS
approved
a(n) is the number of partitions of n into consecutive parts that differ by 4.
+10
10
1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 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, 3, 2, 1, 4, 1, 3, 2, 3, 1, 3, 2, 3, 2, 2, 1, 5, 1, 2, 2, 3, 2, 4, 1, 3, 2, 3, 1, 5, 1, 2, 3, 3, 1, 4, 1, 4, 2, 2, 1, 5, 2, 2, 2, 3, 1, 5, 2, 3, 2, 2, 2, 5, 1, 3, 2, 4, 1, 4, 1, 3, 4
OFFSET
1,6
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 = 28 there are three partitions of 28 into consecutive parts that differ by 4, including 28 as a valid partition. They are [28], [16, 12] and [13, 9, 5, 1]. So a(28) = 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[4][[n]];
Array[a, nmax] (* Jean-François Alcover, Nov 30 2020 *)
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, 4) \\ Joerg Arndt, May 05 2020
CROSSREFS
Row sums of A334460.
Column k=4 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), this sequence (k=4), A334541 (k=5), A334948 (k=6).
KEYWORD
nonn
AUTHOR
Omar E. Pol, May 01 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 5, and the first element of column k is in the row that is the k-th heptagonal number (A000566).
+10
8
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, 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, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1
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 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 A303300.
EXAMPLE
Triangle begins (rows 1..27).
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, 0, 0;
1, 1, 1;
1, 0, 0;
1, 1, 0;
1, 0, 1;
1, 1, 0;
1, 0, 0;
1, 1, 1;
...
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, 1, 1].
MAPLE
A334465 := proc(n, k)
local first1 ;
first1 := A000566(k) ;
if n < first1 then
0 ;
elif modp(n-first1, k) = 0 then
1;
else
0;
end if;
end proc:
for n from 1 to 40 do
for k from 1 do
if n>= A000566(k) then
printf("%d, ", A334465(n, k)) ;
else
break;
end if;
end do:
printf("\n") ;
end do: # R. J. Mathar, Oct 02 2020
CROSSREFS
Row sums give A334541.
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). this sequence (m=5).
Cf. A000566.
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 4.
+10
7
1, 2, 3, 4, 5, 12, 7, 16, 9, 20, 11, 24, 13, 28, 30, 32, 17, 54, 19, 40, 42, 44, 23, 72, 25, 52, 54, 84, 29, 90, 31, 96, 66, 68, 35, 144, 37, 76, 78, 120, 41, 126, 43, 132, 135, 92, 47, 192, 49, 150, 102, 156, 53, 162, 110, 168, 114, 116, 59, 300, 61, 124, 126, 192, 130, 264, 67, 204, 138, 210
OFFSET
1,2
COMMENTS
The one-part partition n = n is included in the count.
FORMULA
a(n) = n*A334461(n).
EXAMPLE
For n = 28 there are three partitions of 28 into consecutive parts that differ by 4, including 28 as a valid partition. They are [28], [16, 12] and [13, 9, 5, 1]. The sum of the parts is [28] + [16 + 12] + [13 + 9 + 5 + 1] = 84, so a(28) = 84.
MATHEMATICA
pn4[n_]:=Total[Flatten[Select[IntegerPartitions[n], Union[Abs[Differences[#]]]=={4}&]]]+n; Array[pn4, 70] (* Harvey P. Dale, Nov 26 2023 *)
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), this sequence (k=4), A334733 (k=5).
KEYWORD
nonn
AUTHOR
Omar E. Pol, Apr 30 2020
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
7
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.
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).
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
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 4, n >= 1, k >= 1, and the first element of column k is in the row that is the k-th hexagonal number (A000384).
+10
6
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, 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, 4, 1, 0, 0, 0, 1, 2, 3, 0, 1, 0, 0, 0, 1, 2, 0, 4, 1, 0, 3, 0, 1, 2, 0, 0, 1, 0, 0, 0, 1, 2, 3, 4, 1, 0, 0, 0, 1, 2, 0
OFFSET
1,7
COMMENTS
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 k's interleaved with k-1 zeros, and the first element of column k is in the row that is the k-th hexagonal 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*A334460(n,k).
EXAMPLE
Triangle begins (rows 1..28):
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, 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, 4;
...
For n = 28 there are three partitions of 28 into consecutive parts that differ by 4, including 28 as a valid partition. They are [28], [16, 12] and [13, 9, 5, 1]. The number of parts of these partitions are 1, 2, 4 respectively, so the 28th row of the triangle is [1, 2, 0, 4].
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), this sequence (d=4), A334540 (d=5).
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, May 05 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
Irregular triangle read by rows: T(n,k), n >= 1, k >= 1, in which column k lists successive blocks of k consecutive integers that differ by 4, where the m-th block starts with m, m >= 1, and the first element of column k is in the row that is the k-th hexagonal number (A000384).
+10
4
1, 2, 3, 4, 5, 6, 1, 7, 5, 8, 2, 9, 6, 10, 3, 11, 7, 12, 4, 13, 8, 14, 5, 15, 9, 1, 16, 6, 5, 17, 10, 9, 18, 7, 2, 19, 11, 6, 20, 8, 10, 21, 12, 3, 22, 9, 7, 23, 13, 11, 24, 10, 4, 25, 14, 8, 26, 11, 12, 27, 15, 5, 28, 12, 9, 1, 29, 16, 13, 5, 30, 13, 6, 9, 31, 17, 10, 13, 32, 14, 14, 2
OFFSET
1,2
COMMENTS
This triangle can be interpreted as a table of partitions into consecutive parts that differ by 4 (see the Example section).
Also, every triangle of this family has the property that starting from row n the sum of k positive and consecutive terms in the column k is equal to n.
EXAMPLE
Triangle begins (rows 1..28):
1;
2;
3;
4;
5;
6, 1;
7, 5;
8, 2;
9, 6;
10, 3;
11, 7;
12, 4;
13, 8;
14, 5;
15, 9, 1;
16, 6, 5;
17, 10, 9;
18, 7, 2;
19, 11, 6;
20, 8, 10;
21, 12, 3;
22, 9, 7;
23, 13, 11;
24, 10, 4;
25, 14, 8;
26, 11, 12;
27, 15, 5;
28, 12, 9, 1;
...
Figures A..H show the location (in the columns of the table) of the partitions of n = 1..8 (respectively) into consecutive parts that differ by 4:
. -----------------------------------------------------------
Fig: A B C D E F G H
. -----------------------------------------------------------
. n: 1 2 3 4 5 6 7 8
Row -----------------------------------------------------------
1 | [1];| 1; | 1; | 1; | 1; | 1; | 1; | 1; |
2 | | [2];| 2; | 2; | 2; | 2; | 2; | 2; |
3 | | | [3];| 3; | 3; | 3; | 3; | 3; |
4 | | | | [4];| 4; | 4; | 4; | 4; |
5 | | | | | [5];| 5; | 5; | 5; |
6 | | | | | | [6],[1];| 6, 1;| 6, 1; |
7 | | | | | | [5];| [7],5;| 7, 5; |
8 | | | | | | | | [8],[2];|
9 | | | | | | | | 9, [6];|
. -----------------------------------------------------------
Figure H: for n = 8 the partitions of 8 into consecutive parts that differ by 4 (but with the parts in increasing order) are [8] and [2, 6]. These partitions have one part and two parts respectively. On the other hand we can find the mentioned partitions in the columns 1 and 2 of this table, starting at the row 8.
.
Illustration of initial terms arranged into a triangular structure:
. _
. _|1|
. _|2 |
. _|3 |
. _|4 |
. _|5 _|
. _|6 |1|
. _|7 _|5|
. _|8 |2 |
. _|9 _|6 |
. _|10 |3 |
. _|11 _|7 |
. _|12 |4 |
. _|13 _|8 |
. _|14 |5 _|
. _|15 _|9 |1|
. _|16 |6 |5|
. _|17 _|10 _|9|
. _|18 |7 |2 |
. _|19 _|11 |6 |
. _|20 |8 _|10 |
. _|21 _|12 |3 |
. _|22 |9 |7 |
. |23 |13 |11 |
...
The number of horizontal line segments in the n-th row of the diagram equals A334461(n), the number of partitions of n into consecutive parts that differ by 4.
CROSSREFS
Tables of the same family where the consecutive parts differ by d are A010766 (d=0), A286001 (d=1), A332266 (d=2), A334945 (d=3), this sequence (d=4).
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, Dec 18 2020
STATUS
approved

Search completed in 0.010 seconds