cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-7 of 7 results.

A299483 Irregular triangle read by rows in which row n lists the odd divisors of n in increasing order together with the even divisors of n in decreasing order.

Original entry on oeis.org

1, 1, 2, 1, 3, 1, 4, 2, 1, 5, 1, 3, 6, 2, 1, 7, 1, 8, 4, 2, 1, 3, 9, 1, 5, 10, 2, 1, 11, 1, 3, 12, 6, 4, 2, 1, 13, 1, 7, 14, 2, 1, 3, 5, 15, 1, 16, 8, 4, 2, 1, 17, 1, 3, 9, 18, 6, 2, 1, 19, 1, 5, 20, 10, 4, 2, 1, 3, 7, 21, 1, 11, 22, 2, 1, 23, 1, 3, 24, 12, 8, 6, 4, 2, 1, 5, 25, 1, 13, 26, 2, 1, 3, 9, 27
Offset: 1

Views

Author

Omar E. Pol, Feb 11 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
In the second quadrant from top to bottom we can see the curves that represent the odd divisors of n in increasing order. Also we can see these curves in the fourth quadrant from bottom to top.
Then, if n is an even number, in the first quadrant from bottom to top we can see the curves that represent the even divisors of n in decreasing order. Also we can see these curves in the third quadrant from top to bottom (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
This seq. odd ^ t.w. even v
A319844 even v t.w. odd ^
A319845 even ^ t.w. odd v
A319846 odd v t.w. even v
A319847 odd ^ t.w. even ^
A319848 even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
1;
1,  2;
1,  3;
1,  4,  2;
1,  5;
1,  3,  6,  2;
1,  7;
1,  8,  4,  2;
1,  3,  9;
1,  5, 10,  2;
1, 11;
1,  3, 12,  6, 4, 2;
1, 13;
1,  7, 14,  2;
1,  3,  5, 15;
1, 16,  8,  4, 2;
1, 17;
1,  3,  9, 18, 6, 2;
1, 19;
1,  5, 20, 10, 4, 2;
1,  3,  7, 21;
1, 11, 22,  2;
1, 23;
1,  3, 24, 12, 8, 6, 4, 2;
1,  5, 25;
1, 13, 26,  2;
1,  3,  9, 27;
1,  7, 28, 14, 4, 2;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The odd divisors of 12 in increasing order are [1, 3], and the even divisors of 12 in decreasing order are [12, 6, 4, 2], so the 12th row of triangle is [1, 3, 12, 6, 4, 2].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the second quadrant, from top to bottom, we can see the curves with diameters [12, 4]. Also we can see these curves in the fourth quadrant from bottom to top. The associated numbers c = 12/d are [1, 3] respectively. These are the odd divisors of 12 in increasing order. Then, in the first quadrant, from bottom to top, we can see the curves with diameters [1, 2, 3, 6]. Also we can see these curves in the third quadrant from top the bottom. The associated numbers c = 12/d are [12, 6, 4, 2] respectively. These are the even divisors of n in decreasing order. Finally all numbers c obtained are [1, 3, 12, 6, 4, 2] equaling the 12th row of triangle.
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).
Column 1 gives A000012.
Right border gives A141310.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(select(x->(x%2), d), Vecrev(select(x->!(x%2), d)));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019

A319844 Irregular triangle read by rows in which row n lists the even divisors of n in decreasing order together with the odd divisors of n in increasing order.

Original entry on oeis.org

1, 2, 1, 1, 3, 4, 2, 1, 1, 5, 6, 2, 1, 3, 1, 7, 8, 4, 2, 1, 1, 3, 9, 10, 2, 1, 5, 1, 11, 12, 6, 4, 2, 1, 3, 1, 13, 14, 2, 1, 7, 1, 3, 5, 15, 16, 8, 4, 2, 1, 1, 17, 18, 6, 2, 1, 3, 9, 1, 19, 20, 10, 4, 2, 1, 5, 1, 3, 7, 21, 22, 2, 1, 11, 1, 23, 24, 12, 8, 6, 4, 2, 1, 3, 1, 5, 25, 26, 2, 1, 13, 1, 3, 9, 27
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
If n is an even number, in the first quadrant from bottom to top we can see the curves that represent the even divisors of n in decreasing order. Also we can see these curves in the third quadrant from top to bottom.
Then, in the second quadrant from top to bottom we can see the curves that represent the odd divisors of n in increasing order. Also we can see these curves in the fourth quadrant from bottom to top (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
This seq. even v t.w. odd ^
A319845 even ^ t.w. odd v
A319846 odd v t.w. even v
A319847 odd ^ t.w. even ^
A319848 even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
   1;
   2,  1;
   1,  3;
   4,  2,  1;
   1,  5;
   6,  2,  1,  3;
   1,  7;
   8,  4,  2,  1;
   1,  3,  9;
  10,  2,  1,  5;
   1, 11;
  12,  6,  4,  2,  1,  3;
   1, 13;
  14,  2,  1,  7;
   1,  3,  5, 15;
  16,  8,  4,  2,  1;
   1, 17;
  18,  6,  2,  1,  3,  9;
   1, 19;
  20, 10,  4,  2,  1,  5;
   1,  3,  7, 21;
  22,  2,  1, 11;
   1, 23;
  24, 12,  8,  6,  4,  2,  1,  3;
   1,  5, 25;
  26,  2,  1, 13;
   1,  3,  9, 27;
  28, 14,  4,  2,  1,  7;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The even divisors of 12 in decreasing order are [12, 6, 4, 2], and the odd divisors of 12 in increasing order are [1, 3], so the 12th row of triangle is [12, 6, 4, 2, 1, 3].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the first quadrant, from bottom to top, we can see the curves with diameters [1, 2, 3, 6]. Also we can see these curves in the third quadrant from top to bottom. The associated numbers c = 12/d are [12, 6, 4, 2] respectively. These are the even divisors of n in decreasing order. Then, in the second quadrant, from top to bottom, we can see the curves with diameters [12, 4]. Also we can see these curves in the fourth quadrant from bottom to top. The associated numbers c = 12/d are [1, 3] respectively. These are the odd divisors of 12 in increasing order. Finally all numbers c obtained are [12, 6, 4, 2, 1, 3] equaling the 12th row of triangle.
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).
Right border gives A000265.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(Vecrev(select(x->!(x%2), d)), select(x->(x%2), d));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019

A319845 Irregular triangle read by rows in which row n lists the even divisors of n in increasing order together with the odd divisors of n in decreasing order.

Original entry on oeis.org

1, 2, 1, 3, 1, 2, 4, 1, 5, 1, 2, 6, 3, 1, 7, 1, 2, 4, 8, 1, 9, 3, 1, 2, 10, 5, 1, 11, 1, 2, 4, 6, 12, 3, 1, 13, 1, 2, 14, 7, 1, 15, 5, 3, 1, 2, 4, 8, 16, 1, 17, 1, 2, 6, 18, 9, 3, 1, 19, 1, 2, 4, 10, 20, 5, 1, 21, 7, 3, 1, 2, 22, 11, 1, 23, 1, 2, 4, 6, 8, 12, 24, 3, 1, 25, 5, 1, 2, 26, 13, 1, 27, 9, 3, 1
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
If n is an even number, in the first quadrant from top to bottom we can see the curves that represent the even divisors of n in increasing order. Also we can see these curves in the third quadrant from bottom to top.
Then, in the second quadrant from bottom to top we can see the curves that represent the odd divisors of n in decreasing order. Also we can see these curves in the fourth quadrant from top to bottom (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
A319844 even v t.w. odd ^
This seq. even ^ t.w. odd v
A319846 odd v t.w. even v
A319847 odd ^ t.w. even ^
A319848 even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
   1;
   2,  1;
   3,  1;
   2,  4,  1;
   5,  1;
   2,  6,  3,  1;
   7,  1;
   2,  4,  8,  1;
   9,  3,  1;
   2, 10,  5,  1;
  11,  1;
   2,  4,  6, 12,  3,  1;
  13,  1;
   2, 14,  7,  1;
  15,  5,  3,  1;
   2,  4,  8, 16,  1;
  17,  1;
   2,  6, 18,  9,  3,  1;
  19,  1;
   2,  4, 10, 20,  5,  1;
  21,  7,  3,  1;
   2, 22, 11,  1;
  23,  1;
   2,  4,  6,  8, 12, 24,  3,  1;
  25,  5,  1;
   2, 26, 13,  1;
  27,  9,  3,  1;
   2,  4, 14, 28,  7,  1;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The even divisors of 12 in increasing order are [2, 4, 6, 12], and the odd divisors of 12 in decreasing order are [3, 1], so the 12th row of triangle is [2, 4, 6, 12, 3, 1].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the first quadrant, from top to bottom, we can see the curves with diameters [6, 3, 2, 1]. Also we can see these curves in the third quadrant from bottom to top. The associated numbers c = 12/d are [2, 4, 6, 12] respectively. These are the even divisors of n in increasing order. Then, in the second quadrant, from bottom to top, we can see the curves with diameters [4, 12]. Also we can see these curves in the fourth quadrant from top to bottom. The associated numbers c = 12/d are [3, 1] respectively. These are the odd divisors of 12 in decreasing order. Finally all numbers c obtained are [2, 4, 6, 12, 3, 1] equaling the 12th row of triangle.
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).
Right border gives A000012.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(select(x->!(x%2), d), Vecrev(select(x->(x%2), d)));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019

A319846 Irregular triangle read by rows in which row n lists the odd divisors of n in decreasing order together with the even divisors of n in decreasing order.

Original entry on oeis.org

1, 1, 2, 3, 1, 1, 4, 2, 5, 1, 3, 1, 6, 2, 7, 1, 1, 8, 4, 2, 9, 3, 1, 5, 1, 10, 2, 11, 1, 3, 1, 12, 6, 4, 2, 13, 1, 7, 1, 14, 2, 15, 5, 3, 1, 1, 16, 8, 4, 2, 17, 1, 9, 3, 1, 18, 6, 2, 19, 1, 5, 1, 20, 10, 4, 2, 21, 7, 3, 1, 11, 1, 22, 2, 23, 1, 3, 1, 24, 12, 8, 6, 4, 2, 25, 5, 1, 13, 1, 26, 2, 27, 9, 3, 1
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
In the second quadrant from bottom to top we can see the curves that represent the odd divisors of n in decreasing order. Also we can see these curves in the fourth quadrant from top to bottom.
Then, if n is an even number, in the first quadrant from bottom to top we can see the curves that represent the even divisors of n in decreasing order. Also we can see these curves in the third quadrant from top to bottom (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
A319844 even v t.w. odd ^
A319845 even ^ t.w. odd v
This seq. odd v t.w. even v
A319847 odd ^ t.w. even ^
A319848 even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
   1;
   1,  2;
   3,  1;
   1,  4,  2;
   5,  1;
   3,  1,  6,  2;
   7,  1;
   1,  8,  4,  2;
   9,  3,  1;
   5,  1, 10,  2;
  11,  1;
   3,  1, 12,  6,  4,  2;
  13,  1;
   7,  1, 14,  2;
  15,  5,  3,  1;
   1, 16,  8,  4,  2;
  17,  1;
   9,  3,  1, 18,  6,  2;
  19,  1;
   5,  1, 20, 10,  4,  2;
  21,  7,  3,  1;
  11,  1, 22,  2;
  23,  1;
   3,  1, 24, 12,  8,  6,  4,  2;
  25,  5,  1;
  13,  1, 26,  2;
  27,  9,  3,  1;
   7,  1, 28, 14,  4,  2;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The odd divisors of 12 in decreasing order are [3, 1], and the even divisors of 12 in decreasing order are [12, 6, 4, 2], so the 12th row of triangle is [3, 1, 12, 6, 4, 2].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the second quadrant, from bottom to top, we can see the curves with diameters [4, 12]. Also we can see these curves in the fourth quadrant from top to bottom. The associated numbers c = 12/d are [3, 1] respectively. These are the odd divisors of 12 in decreasing order. Then, in the first quadrant, from bottom to top, we can see the curves with diameters [1, 2, 3, 6]. Also we can see these curves in the third quadrant from top to bottom. The associated numbers c = 12/d are [12, 6, 4, 2] respectively. These are the even divisors of n in decreasing order. Finally all numbers c obtained are [3, 1, 12, 6, 4, 2] equaling the 12th row of triangle.
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).

Programs

  • Mathematica
    Table[With[{d=Divisors[n]},Join[Reverse[Select[d,OddQ]],Reverse[Select[d,EvenQ]]]],{n,30}]//Flatten (* Harvey P. Dale, Mar 10 2023 *)
  • PARI
    row(n) = my(d=divisors(n)); concat(Vecrev(select(x->(x%2), d)), Vecrev(select(x->!(x%2), d)));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019

A319847 Irregular triangle read by rows in which row n lists the odd divisors of n in increasing order together with the even divisors of n in increasing order.

Original entry on oeis.org

1, 1, 2, 1, 3, 1, 2, 4, 1, 5, 1, 3, 2, 6, 1, 7, 1, 2, 4, 8, 1, 3, 9, 1, 5, 2, 10, 1, 11, 1, 3, 2, 4, 6, 12, 1, 13, 1, 7, 2, 14, 1, 3, 5, 15, 1, 2, 4, 8, 16, 1, 17, 1, 3, 9, 2, 6, 18, 1, 19, 1, 5, 2, 4, 10, 20, 1, 3, 7, 21, 1, 11, 2, 22, 1, 23, 1, 3, 2, 4, 6, 8, 12, 24, 1, 5, 25, 1, 13, 2, 26, 1, 3, 9, 27
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
In the second quadrant from top to bottom we can see the curves that represent the odd divisors of n in increasing order. Also we can see these curves in the fourth quadrant from bottom to top.
Then, if n is an even number, in the first quadrant from top to bottom we can see the curves that represent the even divisors of n in increasing order. Also we can see these curves in the third quadrant from bottom to top (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
A319844 even v t.w. odd ^
A319845 even ^ t.w. odd v
A319846 odd v t.w. even v
This seq. odd ^ t.w. even ^
A319848 even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
1;
1,  2;
1,  3;
1,  2,  4;
1,  5;
1,  3,  2,  6;
1,  7;
1,  2,  4,  8;
1,  3,  9;
1,  5,  2, 10;
1, 11;
1,  3,  2,  4,  6, 12;
1, 13;
1,  7,  2, 14;
1,  3,  5, 15;
1,  2,  4,  8, 16;
1, 17;
1,  3,  9,  2,  6, 18;
1, 19;
1,  5,  2,  4, 10, 20;
1,  3,  7, 21;
1, 11,  2, 22;
1, 23;
1,  3,  2,  4,  6,  8, 12, 24;
1,  5, 25;
1, 13,  2, 26;
1,  3,  9, 27;
1,  7,  2,  4, 14, 28;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The odd divisors of 12 in increasing order are [1, 3], and the even divisors of 12 in increasing order are [2, 4, 6, 12], so the 12th row of triangle is [1, 3, 2, 4, 6, 12].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the second quadrant, from top to bottom, we can see the curves with diameters [12, 4]. Also we can see these curves in the fourth quadrant from bottom to top. The associated numbers c = 12/d are [1, 3] respectively. These are the odd divisors of 12 in increasing order. Then, in the first quadrant, from top to bottom, we can see the curves with diameters [6, 3, 2, 1]. Also we can see these curves in the third quadrant from bottom to top. The associated numbers c = 12/d are [2, 4, 6, 12] respectively. These are the even divisors of n in increasing order. Finally all numbers c obtained are [1, 3, 2, 4, 6, 12] equaling the 12th row of triangle.
		

Crossrefs

A permutation of A027750 from which first differs at a(12) = T(6,2).
Row sums give A000203.
Row n has length A000005(n).
Column 1 gives A000012.
Right border gives A000027.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(select(x->(x%2), d), select(x->!(x%2), d));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019

A319848 Irregular triangle read by rows in which row n lists the even divisors of n in decreasing order together with the odd divisors of n in decreasing order.

Original entry on oeis.org

1, 2, 1, 3, 1, 4, 2, 1, 5, 1, 6, 2, 3, 1, 7, 1, 8, 4, 2, 1, 9, 3, 1, 10, 2, 5, 1, 11, 1, 12, 6, 4, 2, 3, 1, 13, 1, 14, 2, 7, 1, 15, 5, 3, 1, 16, 8, 4, 2, 1, 17, 1, 18, 6, 2, 9, 3, 1, 19, 1, 20, 10, 4, 2, 5, 1, 21, 7, 3, 1, 22, 2, 11, 1, 23, 1, 24, 12, 8, 6, 4, 2, 3, 1, 25, 5, 1, 26, 2, 13, 1, 27, 9, 3, 1
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
If n is an even number, in the first quadrant from bottom to top we can see the curves that represent the even divisors of n in decreasing order. Also we can see these curves in the third quadrant from top to bottom.
Then, in the second quadrant from bottom to top we can see the curves that represent the odd divisors of n in decreasing order. Also we can see these curves in the fourth quadrant from top to bottom (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
A319844 even v t.w. odd ^
A319845 even ^ t.w. odd v
A319846 odd v t.w. even v
A319847 odd ^ t.w. even ^
This seq. even v t.w. odd v
A319849 even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
   1;
   2,  1;
   3,  1;
   4,  2,  1;
   5,  1;
   6,  2,  3,  1;
   7,  1;
   8,  4,  2,  1;
   9,  3,  1;
  10,  2,  5,  1;
  11,  1;
  12,  6,  4,  2,  3,  1;
  13,  1;
  14,  2,  7,  1;
  15,  5,  3,  1;
  16,  8,  4,  2,  1;
  17,  1;
  18,  6,  2,  9,  3,  1;
  19,  1;
  20, 10,  4,  2,  5,  1;
  21,  7,  3,  1;
  22,  2, 11,  1;
  23,  1;
  24, 12,  8,  6,  4,  2,  3,  1;
  25,  5,  1;
  26,  2, 13,  1;
  27,  9,  3,  1;
  28, 14,  4,  2,  7,  1;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The even divisors of 12 in decreasing order are [12, 6, 4, 2], and the odd divisors of 12 in decreasing order are [3, 1], so the 12th row of triangle is [12, 6, 4, 2, 3, 1].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the first quadrant, from bottom to top, we can see the curves with diameters [1, 2, 3, 6]. Also we can see these curves in the third quadrant from top to bottom. The associated numbers c = 12/d are [12, 6, 4, 2] respectively. These are the even divisors of n in decreasing order. Then, in the second quadrant, from bottom to top, we can see the curves with diameters [4, 12]. Also we can see these curves in the fourth quadrant from top to bottom. The associated numbers c = 12/d are [3, 1] respectively. These are the odd divisors of 12 in decreasing order. Finally all numbers c obtained are [12, 6, 4, 2, 3, 1] equaling the 12th row of triangle.
From _David A. Corneth_, Jan 17 2019: (Start)
For n = 100, we have n even so first even divisors in decreasing order and then odd divisors in decreasing order. The even divisors of 100 are twice the divisors of 100/2 = 50. Those divisors, in decreasing order, are: 100, 50, 20, 10, 4, 2.
The odd divisors of 100 in decreasing order are the odd divisors of the odd part of 100, which is 25. Those divisors are 25, 5, 1.
Concatenating all these divisors gives: 100, 50, 20, 10, 4, 2, 25, 5, 1. (End)
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).
Column 1 gives A000027.
Right border gives A000012.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(Vecrev(select(x->!(x%2), d)), Vecrev(select(x->(x%2), d)));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019
    
  • PARI
    row(n) = if(n%2==0, concat(Vecrev(divisors(n >> 1)) << 1, Vecrev(divisors(n >> valuation(n,2)))), Vecrev(divisors(n))) \\ David A. Corneth, Jan 17 2019

A319849 Irregular triangle read by rows in which row n lists the even divisors of n in increasing order together with the odd divisors of n in increasing order.

Original entry on oeis.org

1, 2, 1, 1, 3, 2, 4, 1, 1, 5, 2, 6, 1, 3, 1, 7, 2, 4, 8, 1, 1, 3, 9, 2, 10, 1, 5, 1, 11, 2, 4, 6, 12, 1, 3, 1, 13, 2, 14, 1, 7, 1, 3, 5, 15, 2, 4, 8, 16, 1, 1, 17, 2, 6, 18, 1, 3, 9, 1, 19, 2, 4, 10, 20, 1, 5, 1, 3, 7, 21, 2, 22, 1, 11, 1, 23, 2, 4, 6, 8, 12, 24, 1, 3, 1, 5, 25, 2, 26, 1, 13, 1, 3, 9, 27
Offset: 1

Views

Author

Omar E. Pol, Sep 29 2018

Keywords

Comments

Consider the diagram with overlapping periodic curves that appears in the Links section (figure 1). The number of curves that contain the point [n,0] equals the number of divisors of n. The simpler interpretation of the diagram is that the curve of diameter d represents the divisor d of n. Now here we introduce a new interpretation: the curve of diameter d that contains the point [n,0] represents the divisor c of n, where c = n/d. This model has the property that each odd quadrant centered at [n,0] contains the curves that represent the even divisors of n, and each even quadrant centered at [n,0] contains the curves that represent the odd divisors of n.
We can find the n-th row of the triangle as follows:
Consider only the semicircumferences that contain the point [n,0].
If n is an even number, in the first quadrant from top to bottom we can see the curves that represent the even divisors of n in increasing order. Also we can see these curves in the third quadrant from bottom to top.
Then, in the second quadrant from top to bottom we can see the curves that represent the odd divisors of n in increasing order. Also we can see these curves in the fourth quadrant from bottom to top (see example).
Sequences of the same family are shown below:
-----------------------------------
Triangle Order of divisors of n
-----------------------------------
A299481 odd v t.w. even ^
A299483 odd ^ t.w. even v
A319844 even v t.w. odd ^
A319845 even ^ t.w. odd v
A319846 odd v t.w. even v
A319847 odd ^ t.w. even ^
A319848 even v t.w. odd v
This seq. even ^ t.w. odd ^
-----------------------------------
In the above table we have that:
"even v" means "even divisors of n in decreasing order".
"even ^" means "even divisors of n in increasing order".
"odd v" means "odd divisors of n in decreasing order".
"odd ^" means "odd divisors of n in increasing order".
"t.w." means "together with".

Examples

			Triangle begins:
   1;
   2,  1;
   1,  3;
   2,  4,  1;
   1,  5;
   2,  6,  1,  3;
   1,  7;
   2,  4,  8,  1;
   1,  3,  9;
   2, 10,  1,  5;
   1, 11;
   2,  4,  6, 12,  1,  3;
   1, 13;
   2, 14,  1,  7;
   1,  3,  5, 15;
   2,  4,  8, 16,  1;
   1, 17;
   2,  6, 18,  1,  3,  9;
   1, 19;
   2,  4, 10, 20,  1,  5;
   1,  3,  7, 21;
   2, 22,  1, 11;
   1, 23;
   2,  4,  6,  8, 12, 24,  1,  3;
   1,  5, 25;
   2, 26,  1, 13;
   1,  3,  9, 27;
   2,  4, 14, 28,  1,  7;
...
For n = 12 the divisors of 12 are [1, 2, 3, 4, 6, 12]. The even divisors of 12 in increasing order are [2, 4, 6, 12], and the odd divisors of 12 in increasing order are [1, 3], so the 12th row of triangle is [2, 4, 6, 12, 1, 3].
On the other hand, consider the diagram that appears in the Links section (figure 1). Then consider only the semicircumferences that contain the point [12,0]. In the first quadrant, from top to bottom, we can see the curves with diameters [6, 3, 2, 1]. Also we can see these curves in the third quadrant from bottom to top. The associated numbers c = 12/d are [2, 4, 6, 12] respectively. These are the even divisors of n in increasing order. Then, in the second quadrant, from top to bottom, we can see the curves with diameters [12, 4]. Also we can see these curves in the fourth quadrant from bottom to top. The associated numbers c = 12/d are [1, 3] respectively. These are the odd divisors of 12 in increasing order. Finally all numbers c obtained are [2, 4, 6, 12, 1, 3] equaling the 12th row of triangle.
		

Crossrefs

Row sums give A000203.
Row n has length A000005(n).
Column 1 gives A000034.
Right border gives A000265.

Programs

  • PARI
    row(n) = my(d=divisors(n)); concat(select(x->!(x%2), d), select(x->(x%2), d));
    lista(nn) = {for (n=1, nn, my(r = row(n)); for (k=1, #r, print1(r[k], ", ")););} \\ Michel Marcus, Jan 17 2019
Showing 1-7 of 7 results.