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.

A246278 Prime shift array: Square array read by antidiagonals: A(1,col) = 2*col, and for row > 1, A(row,col) = A003961(A(row-1,col)).

Original entry on oeis.org

2, 4, 3, 6, 9, 5, 8, 15, 25, 7, 10, 27, 35, 49, 11, 12, 21, 125, 77, 121, 13, 14, 45, 55, 343, 143, 169, 17, 16, 33, 175, 91, 1331, 221, 289, 19, 18, 81, 65, 539, 187, 2197, 323, 361, 23, 20, 75, 625, 119, 1573, 247, 4913, 437, 529, 29, 22, 63, 245, 2401, 209, 2873, 391, 6859, 667, 841, 31
Offset: 2

Views

Author

Antti Karttunen, Aug 21 2014

Keywords

Comments

The array is read by antidiagonals: A(1,1), A(1,2), A(2,1), A(1,3), A(2,2), A(3,1), etc.
This array can be obtained by taking every second column from array A242378, starting from its column 2.
Permutation of natural numbers larger than 1.
The terms on row n are all divisible by n-th prime, A000040(n).
Each column is strictly growing, and the terms in the same column have the same prime signature.
A055396(n) gives the row number of row where n occurs,
and A246277(n) gives its column number, both starting from 1.
From Antti Karttunen, Jan 03 2015: (Start)
A252759(n) gives their sum minus one, i.e. the Manhattan distance of n from the top left corner.
If we assume here that a(1) = 1 (but which is not explicitly included because outside of the array), then A252752 gives the inverse permutation. See also A246276.
(End)

Examples

			The top left corner of the array:
   2,     4,     6,     8,    10,    12,    14,    16,    18, ...
   3,     9,    15,    27,    21,    45,    33,    81,    75, ...
   5,    25,    35,   125,    55,   175,    65,   625,   245, ...
   7,    49,    77,   343,    91,   539,   119,  2401,   847, ...
  11,   121,   143,  1331,   187,  1573,   209, 14641,  1859, ...
  13,   169,   221,  2197,   247,  2873,   299, 28561,  3757, ...
		

Crossrefs

First row: A005843 (the even numbers), from 2 onward.
Row 2: A249734, Row 3: A249827.
Column 1: A000040 (primes), Column 2: A001248 (squares of primes), Column 3: A006094 (products of two successive primes), Column 4: A030078 (cubes of primes).
Transpose: A246279.
Inverse permutation: A252752.
One more than A246275.
Arrays obtained by applying a particular function (given in parentheses) to the entries of this array. Cases where the columns grow monotonically are indicated with *: A249822 (A078898), A253551 (* A156552), A253561 (* A122111), A341605 (A017665), A341606 (A017666), A341607 (A006530 o A017666), A341608 (A341524), A341626 (A341526), A341627 (A341527), A341628 (A006530 o A341527), A342674 (A341530), A344027 (* A003415, arithmetic derivative), A355924 (A342671), A355925 (A009194), A355926 (A355442), A355927 (* sigma), A356155 (* A258851), A372562 (A252748), A372563 (A286385), A378979 (* deficiency, A033879), A379008 (* (probably), A294898), A379010 (* A000010, Euler phi), A379011 (* A083254).
Cf. A329050 (subtable).

Programs

  • Mathematica
    f[p_?PrimeQ] := f[p] = Prime[PrimePi@ p + 1]; f[1] = 1; f[n_] := f[n] = Times @@ (f[First@ #]^Last@ # &) /@ FactorInteger@ n; Block[{lim = 12}, Table[#[[n - k, k]], {n, 2, lim}, {k, n - 1, 1, -1}] &@ NestList[Map[f, #] &, Table[2 k, {k, lim}], lim]] // Flatten (* Michael De Vlieger, Jan 04 2016, after Jean-François Alcover at A003961 *)
  • Scheme
    (define (A246278 n) (if (<= n 1) n (A246278bi (A002260 (- n 1)) (A004736 (- n 1))))) ;; Square array starts with offset=2, and we have also tacitly defined a(1) = 1 here.
    (define (A246278bi row col) (if (= 1 row) (* 2 col) (A003961 (A246278bi (- row 1) col))))

Formula

A(1,col) = 2*col, and for row > 1, A(row,col) = A003961(A(row-1,col)).
As a composition of other similar sequences:
a(n) = A122111(A253561(n)).
a(n) = A249818(A083221(n)).
For all n >= 1, a(n+1) = A005940(1+A253551(n)).
A(n, k) = A341606(n, k) * A355925(n, k). - Antti Karttunen, Jul 22 2022

Extensions

Starting offset of the linear sequence changed from 1 to 2, without affecting the column and row indices by Antti Karttunen, Jan 03 2015

A341606 Square array A(n,k) = A017666(A246278(n,k)), read by falling antidiagonals; denominator of abundancy index as applied onto prime shift array A246278.

Original entry on oeis.org

2, 4, 3, 1, 9, 5, 8, 5, 25, 7, 5, 27, 35, 49, 11, 3, 21, 125, 77, 121, 13, 7, 15, 55, 343, 143, 169, 17, 16, 11, 175, 13, 1331, 221, 289, 19, 6, 81, 65, 539, 187, 2197, 323, 361, 23, 10, 75, 625, 119, 1573, 247, 4913, 437, 529, 29, 11, 63, 245, 2401, 209, 2873, 391, 6859, 667, 841, 31
Offset: 1

Views

Author

Antti Karttunen, Feb 16 2021

Keywords

Comments

See also comments and examples in A341605.

Examples

			The top left corner of the array:
   k=  1    2    3      4    5      6    7       8      9     10   11      12
  2k=  2    4    6      8   10     12   14      16     18     20   22      24
    |
----+--------------------------------------------------------------------------
  1 |  2,   4,   1,     8,   5,     3,   7,     16,     6,    10,  11,      2,
  2 |  3,   9,   5,    27,  21,    15,  11,     81,    75,    63,  39,      9,
  3 |  5,  25,  35,   125,  55,   175,  65,    625,   245,   275,  85,    875,
  4 |  7,  49,  77,   343,  13,   539, 119,   2401,   121,    91, 133,   3773,
  5 | 11, 121, 143,  1331, 187,  1573, 209,  14641,  1859,  2057, 253,  17303,
  6 | 13, 169, 221,  2197, 247,  2873, 299,  28561,  3757,  3211, 377,   2197,
  7 | 17, 289, 323,  4913, 391,  5491, 493,  83521,  6137,  6647, 527,  93347,
  8 | 19, 361, 437,  6859, 551,  8303, 589, 130321, 10051, 10469,  37, 157757,
  9 | 23, 529, 667, 12167, 713, 15341, 851, 279841, 19343, 16399, 943, 352843,
etc.
Arrays A341607 and A341608 give the largest prime factor (A006530) and the number of prime factors with multiplicity (A001222) of these terms. There are nonmonotonicities in both, for example, in columns 11, 12 and 14. This is illustrated below:
For column 11, with successive prime shifts of 22, we obtain:
     n sigma(n)             sigma(n)/n in lowest terms,
                            A017665(n)/A017666(n)
---------------------------------------------------------------------------
    22   36 = (2^2 * 3^2),        18/11  = (2 * 3^2)/11
    39   56 = (2^3 * 7),          56/39  = (2^3 * 7)/(3 * 13)
    85  108 = (2^2 * 3^3),       108/85  = (2^2 * 3^3)/(5 * 17)
   133  160 = (2^5 * 5),         160/133 = (2^5 * 5)/(7 * 19)
   253  288 = (2^5 * 3^2),       288/253 = (2^5 * 3^2)/(11 * 23)
   377  420 = (2^2 * 3 * 5 * 7), 420/377 = (2^2 * 3 * 5 * 7)/(13 * 29)
   527  576 = (2^6 * 3^2),       576/527 = (2^6 * 3^2)/(17 * 31)
   703  760 = (2^3 * 5 * 19),     40/37  = (2^3 * 5)/37 <-- A001222 drops!
   943 1008 = (2^4 * 3^2 * 7),  1008/943 = (2^4 * 3^2 * 7)/(23 * 41)
-
On the second last row, the denominator of 760/703 (= 40/37) has only one prime factor (instead of two), namely 37, because sigma(703) has 19 as its divisor, which otherwise would be present in the denominator.
-
For column 12, with successive prime shifts of 24, we obtain:
      n sigma(n)                        sigma(n)/n
---------------------------------------------------------------------------
     24     60 = (2^2 * 3 * 5),            5/2     = (5)/(2)
    135    240 = (2^4 * 3 * 5),           16/9     = (2^4)/(3^2)
    875   1248 = (2^5 * 3 * 13),        1248/875   = (2^5 * 3 * 13)/(5^3 * 7)
   3773   4800 = (2^6 * 3 * 5^2),       4800/3773  = (2^6 * 3 * 5^2)/(7^3 * 11)
  17303  20496 = (2^4 *3 *7 *61),      20496/17303 = (2^4 *3 *7 *61)/(11^3 * 13)
  37349  42840 = (2^3 *3^2 *5 *7 *17),  2520/2197  = (2^3 * 3^2 *5 *7)/(13^3) !!
  93347 104400 = (2^4 *3^2 *5^2 *29), 104400/93347 = (2^4 *3^2 *5^2 *29)/(17^3 *19)
-
On the second last row, the denominator of 42840/37349 (= 2520/2197) has no prime factor 17 (which would be otherwise present), because sigma(37349) has it as its divisor.
-
For column 14, with successive prime shifts of 28, we obtain:
     n sigma(n)               sigma(n)/n
---------------------------------------------------------------------------
    28   56 = (2^3 * 7),             2/1,
    99  156 = (2^2 * 3 * 13),       52/33   = (2^2 * 13)/(3 * 11)
   325  434 = (2 * 7 * 31),        434/325  = (2 * 7 * 31)/(5^2 * 13)
   833 1026 = (2 * 3^3 * 19),     1026/833  = (2 * 3^3 * 19)/(7^2 * 17)
  2299 2660 = (2^2 * 5 * 7 * 19),  140/121  = (2^2 * 5 * 7)/(11^2) <-- !!
  3887 4392 = (2^3 * 3^2 * 61),   4392/3887 = (2^3 * 3^2 * 61)/(13^2 * 23)
On the second last row, the denominator of 2660/2299 (= 140/121) has no prime factor 19 (which would be otherwise present), because sigma(2299) has it as its divisor.
Note that if A006530 does not grow, then certainly A001222 drops.
		

Crossrefs

Cf. A341605 (numerators), A341626 (numerators of the columnwise first quotients of A341605/A341606), A341627 (and their denominators), A355925, A355927.
Cf. A341607 (the largest prime factor in this array), A341608 (the number of prime factors, with multiplicity).
Cf. also A007691, A341523, A341524.

Programs

  • PARI
    up_to = 105;
    A246278sq(row,col) = if(1==row,2*col, my(f = factor(2*col)); for(i=1, #f~, f[i,1] = prime(primepi(f[i,1])+(row-1))); factorback(f));
    A017666(n) = denominator(sigma(n)/n);
    A341606sq(row,col) = A017666(A246278sq(row,col));
    A341606list(up_to) = { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A341606sq(col,(a-(col-1))))); (v); };
    v341606 = A341606list(up_to);
    A341606(n) = v341606[n];

Formula

A(n, k) = A017666(A246278(n, k)).
A(n, k) = A246278(n, k) / A355925(n, k). - Antti Karttunen, Jul 22 2022

A355925 Square array A(n, k) = A009194(A246278(n, k)), read by falling antidiagonals.

Original entry on oeis.org

1, 1, 1, 6, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 3, 1, 7, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 2, 15, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 28, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Antti Karttunen, Jul 22 2022

Keywords

Examples

			The top left corner of the array:
   k=  1  2  3  4  5  6  7  8  9 10  11  12 13  14 15 16 17 18  19  20 21
  2k=  2  4  6  8 10 12 14 16 18 20  22  24 26  28 30 32 34 36  38  40 42
-----+-----------------------------------------------------------------------
   1 | 1, 1, 6, 1, 2, 4, 2, 1, 3, 2,  2, 12, 2, 28, 6, 1, 2, 1,  2, 10, 6,
   2 | 1, 1, 3, 1, 1, 3, 3, 1, 1, 1,  1, 15, 3,  3, 3, 1, 1, 1,  3,  1, 3,
   3 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 5,  1, 1, 1, 1, 1,  5,  1, 7,
   4 | 1, 1, 1, 1, 7, 1, 1, 1, 7, 7,  1,  1, 1,  1, 7, 1, 1, 7,  1,  7, 1,
   5 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1, 19, 1, 1, 1, 1,  1,  1, 1,
   6 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 17, 1,  1, 1, 1, 1, 1,  1,  1, 1,
   7 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
   8 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 19,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
   9 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  10 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  11 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1, 37, 1,  1, 1, 1, 1, 1, 31,  1, 1,
  12 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  13 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  14 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  15 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1, 61, 1, 1, 1, 1,  1,  1, 1,
  16 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  17 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  18 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  19 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  20 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
  21 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  1,  1, 1,  1, 1, 1, 1, 1,  1,  1, 1,
		

Crossrefs

Cf. also A341605, A341606, A341607, A341608, A341626, A341627, A355924, A355927 for related arrays of similar construction.

Programs

  • PARI
    up_to = 105;
    A009194(n) = gcd(n, sigma(n));
    A246278sq(row,col) = if(1==row,2*col, my(f = factor(2*col)); for(i=1, #f~, f[i,1] = prime(primepi(f[i,1])+(row-1))); factorback(f));
    A355925sq(row,col) = A009194(A246278sq(row,col));
    A355925list(up_to) = { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A355925sq(col,(a-(col-1))))); (v); };
    v355925 = A355925list(up_to);
    A355925(n) = v355925[n];

Formula

A(n, k) = A009194(A246278(n, k)).
A(n, k) = gcd(A246278(n,k), A355927(n, k)).
A(n, k) = A355927(n, k) / A341605(n, k).
A(n, k) = A246278(n, k) / A341606(n, k).

A378979 Square array A(n, k) = 2*A246278(n, k) - sigma(A246278(n, k)), read by falling antidiagonals. Deficiency applied to the prime shift array.

Original entry on oeis.org

1, 1, 2, 0, 5, 4, 1, 6, 19, 6, 2, 14, 22, 41, 10, -4, 10, 94, 58, 109, 12, 4, 12, 38, 286, 118, 155, 16, 1, 18, 102, 70, 1198, 190, 271, 18, -3, 41, 46, 394, 158, 2014, 286, 341, 22, -2, 26, 469, 94, 1284, 214, 4606, 394, 505, 28, 8, 22, 148, 2001, 178, 2452, 350, 6478, 614, 811, 30, -12, 22, 178, 630, 13177, 262, 4842, 502, 11614, 838, 929, 36
Offset: 1

Views

Author

Antti Karttunen, Dec 13 2024

Keywords

Comments

Each column is strictly increasing.
For all k >= 1, A(1+A378985(k), k) > 0, and it is the topmost positive number of the column k.

Examples

			The top left corner of the array:
k=  |  1    2    3     4    5     6    7      8     9    10   11     12
2k= |  2    4    6     8   10    12   14     16    18    20   22     24
----+-------------------------------------------------------------------
  1 |  1,   1,   0,    1,   2,   -4,   4,     1,   -3,   -2,   8,   -12,
  2 |  2,   5,   6,   14,  10,   12,  18,    41,   26,   22,  22,    30,
  3 |  4,  19,  22,   94,  38,  102,  46,   469,  148,  178,  62,   502,
  4 |  6,  41,  58,  286,  70,  394,  94,  2001,  630,  476, 106,  2746,
  5 | 10, 109, 118, 1198, 158, 1284, 178, 13177, 1522, 1720, 218, 14110,
  6 | 12, 155, 190, 2014, 214, 2452, 262, 26181, 3216, 2762, 334, 31858,
  7 | 16, 271, 286, 4606, 350, 4842, 446, 78301, 5416, 5926, 478, 82294,
		

Crossrefs

Cf. A006093 (column 1), A306190 (column 2), A378978 (row 1), A378985 (row index of the topmost positive term in column n).
Cf. also arrays A341605, A341606 and A341607.
Cf. also A324055.

Programs

  • PARI
    up_to = 78;
    A033879(n) = (n+n-sigma(n));
    A246278sq(row,col) = if(1==row,2*col, my(f = factor(2*col)); for(i=1, #f~, f[i,1] = prime(primepi(f[i,1])+(row-1))); factorback(f));
    A378979sq(row,col) = A033879(A246278sq(row,col));
    A378979list(up_to) = { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A378979sq(col,(a-(col-1))))); (v); };
    v378979 = A378979list(up_to);
    A378979(n) = v378979[n];

Formula

A(n, k) = A033879(A246278(n, k)) = 2*A246278(n, k) - A355927(n, k).
A(n, k) = A372563(n,k) - A372562(n, k).

A341608 Square array A(n,k) = A341524(A246278(n,k)), read by falling antidiagonals; number of prime factors (with mult.) in the denominator of abundancy index as applied onto prime shift array A246278.

Original entry on oeis.org

1, 2, 1, 0, 2, 1, 3, 1, 2, 1, 1, 3, 2, 2, 1, 1, 2, 3, 2, 2, 1, 1, 2, 2, 3, 2, 2, 1, 4, 1, 3, 1, 3, 2, 2, 1, 2, 4, 2, 3, 2, 3, 2, 2, 1, 2, 3, 4, 2, 3, 2, 3, 2, 2, 1, 1, 3, 3, 4, 2, 3, 2, 3, 2, 2, 1, 1, 2, 3, 2, 4, 2, 3, 2, 3, 2, 2, 1, 1, 2, 2, 2, 3, 4, 2, 3, 2, 3, 2, 2, 1, 0, 1, 4, 2, 3, 3, 4, 2, 3, 2, 3, 2, 2, 1
Offset: 1

Views

Author

Antti Karttunen, Feb 16 2021

Keywords

Examples

			The top left corner of the array:
   n=  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21
  2n=  2  4  6  8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42
-----+---------------------------------------------------------------
   1 | 1, 2, 0, 3, 1, 1, 1, 4, 2, 2, 1, 1, 1, 0, 1, 5, 1, 4, 1, 2, 1,
   2 | 1, 2, 1, 3, 2, 2, 1, 4, 3, 3, 2, 2, 1, 2, 2, 5, 2, 4, 1, 4, 2,
   3 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 1, 3, 3, 5, 2, 4, 1, 4, 2,
   4 | 1, 2, 2, 3,*1, 3, 2, 4,*2,*2, 2, 4, 2, 3,*2, 5, 2,*3, 2,*3, 3,
   5 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2,*2, 3, 5, 2, 4, 2, 4, 3,
   6 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2,*3, 2, 3, 3, 5, 2, 4, 2, 4, 3,
   7 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
   8 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3,*1, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
   9 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  10 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  11 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2,*3, 2, 3, 3, 5, 2, 4,*1, 4, 3,
  12 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  13 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  14 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  15 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2,*2, 3, 5, 2, 4, 2, 4, 3,
  16 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  17 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  18 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  19 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  20 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
  21 | 1, 2, 2, 3, 2, 3, 2, 4, 3, 3, 2, 4, 2, 3, 3, 5, 2, 4, 2, 4, 3,
etc.
Positions where columns are not monotonic (i.e., with sudden drops) are marked with an asterisk (*). See the example section of A341606 for their further elaboration.
		

Crossrefs

Sequence A341524 applied to prime shift array A246278.

Programs

  • PARI
    up_to = 105;
    A246278sq(row,col) = if(1==row,2*col, my(f = factor(2*col)); for(i=1, #f~, f[i,1] = prime(primepi(f[i,1])+(row-1))); factorback(f));
    A017666(n) = denominator(sigma(n)/n);
    A341608sq(row,col) = bigomega(A017666(A246278sq(row,col)));
    A341608list(up_to) = { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A341608sq(col,(a-(col-1))))); (v); };
    v341608 = A341608list(up_to);
    A341608(n) = v341608[n];

Formula

A(n,k) = A001222(A341606(n,k)) = A001222(A017666(A246278(n,k))).

A341628 Square array A(n,k) = A006530(A341527(A246278(n,k))), read by falling antidiagonals.

Original entry on oeis.org

3, 7, 5, 5, 13, 7, 3, 7, 31, 11, 7, 5, 11, 11, 13, 7, 11, 13, 13, 19, 17, 11, 13, 13, 11, 17, 61, 19, 31, 13, 31, 17, 61, 19, 307, 23, 13, 11, 17, 13, 19, 17, 23, 127, 29, 7, 31, 71, 19, 19, 23, 29, 29, 79, 31, 13, 13, 11, 2801, 23, 61, 29, 181, 31, 67, 37, 5, 17, 31, 19, 3221, 29, 307, 31, 53, 37, 331, 41
Offset: 1

Views

Author

Antti Karttunen, Feb 16 2021

Keywords

Examples

			The top left corner of the array:
   n=   1     2   3     4   5     6   7        8     9    10  11    12  13    14
  2n=   2     4   6     8  10    12  14       16    18    20  22    24  26    28
-----+---------------------------------------------------------------------------
   1 |  3,    7,  5,    3,  7,    7, 11,      31,   13,    7, 13,    5, 17,   11,
   2 |  5,   13,  7,    5, 11,   13, 13,      11,   31,   13, 17,    7, 19,   13,
   3 |  7,   31, 11,   13, 13,   31, 17,      71,   11,   31, 19,   13, 23,   31,
   4 | 11,   11, 13,   11, 17,   13, 19,    2801,   19,   17, 23,   13, 29,   19,
   5 | 13,   19, 17,   61, 19,   19, 23,    3221,   61,   19, 29,   61, 31,   23,
   6 | 17,   61, 19,   17, 23,   61, 29,   30941,  307,   61, 31,   19, 37,   61,
   7 | 19,  307, 23,   29, 29,  307, 31,   88741,  127,  307, 37,   29, 41,  307,
   8 | 23,  127, 29,  181, 31,  127, 37,     911,   79,  127, 41,  181, 43,  127,
   9 | 29,   79, 31,   53, 37,   79, 41,  292561,   67,   79, 43,   53, 47,   79,
  10 | 31,   67, 37,  421, 41,   67, 43,  732541,  331,   67, 47,  421, 53,   67,
  11 | 37,  331, 41,   37, 43,  331, 47,   17351,   67,  331, 53,   41, 59,  331,
  12 | 41,   67, 43,  137, 47,   67, 53,    4271, 1723,   67, 59,  137, 61,   67,
  13 | 43, 1723, 47,   43, 53, 1723, 59,  579281,  631, 1723, 61,   47, 67, 1723,
  14 | 47,  631, 53,   47, 59,  631, 61, 3500201,   61,  631, 67,   53, 71,  631,
  15 | 53,   61, 59,   53, 61,   61, 67,   14621,  409,   61, 71,   59, 73,   67,
  16 | 59,  409, 61,  281, 67,  409, 71,    5581, 3541,  409, 73,  281, 79,  409,
  17 | 61, 3541, 67, 1741, 71, 3541, 73,     181,   97, 3541, 79, 1741, 83, 3541,
  18 | 67,   97, 71, 1861, 73,   97, 79,   21491,   71,   97, 83, 1861, 89,   97,
  19 | 71,   71, 73,  449, 79,   73, 83,   26881, 5113,   79, 89,  449, 97,   83,
		

Crossrefs

Programs

  • PARI
    up_to = 105;
    A003961(n) = { my(f=factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); }; \\ From A003961
    A006530(n) = if(n>1, vecmax(factor(n)[, 1]), 1);
    A341528(n) = (n*sigma(A003961(n)));
    A341529(n) = (sigma(n)*A003961(n));
    A341527(n) = denominator(A341528(n) / A341529(n));
    A246278sq(row,col) = if(1==row,2*col, my(f = factor(2*col)); for(i=1, #f~, f[i,1] = prime(primepi(f[i,1])+(row-1))); factorback(f));
    A341628sq(row,col) = A006530(A341527(A246278sq(row,col)));
    A341628list(up_to) = { my(v = vector(up_to), i=0); for(a=1,oo, for(col=1,a, i++; if(i > up_to, return(v)); v[i] = A341628sq(col,(a-(col-1))))); (v); };
    v341628 = A341628list(up_to);
    A341628(n) = v341628[n];

Formula

A(n,k) = A006530(A341627(n,k)) = A006530(A341527(A246278(n,k))).

A342667 Largest prime in the numerator of ratio A341528(n)/A341529(n) (when presented in its lowest terms).

Original entry on oeis.org

1, 2, 3, 13, 5, 2, 7, 2, 31, 5, 11, 13, 13, 7, 3, 11, 17, 31, 19, 13, 7, 11, 23, 2, 19, 13, 13, 13, 29, 2, 31, 13, 11, 17, 5, 31, 37, 19, 13, 5, 41, 7, 43, 11, 31, 23, 47, 11, 7, 19, 17, 13, 53, 13, 11, 7, 19, 29, 59, 13, 61, 31, 31, 1093, 13, 11, 67, 17, 23, 5, 71, 31, 73, 37, 19, 19, 7, 13, 79, 11, 71, 41, 83, 13
Offset: 1

Views

Author

Antti Karttunen, Mar 23 2021

Keywords

Comments

Equally, largest prime in the denominator of ratio A342661(A003961(n)) / A342662(A003961(n)).

Crossrefs

Programs

  • PARI
    A003961(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
    A006530(n) = if(n>1, vecmax(factor(n)[, 1]), 1);
    A341526(n) = { my(s=A003961(n)); numerator((sigma(s)*n)/(sigma(n)*s)); };
    A342667(n) = A006530(A341526(n));

Formula

a(n) = A006530(A341526(n)).
a(n) = A006530(A342664(A003961(n))).
Showing 1-7 of 7 results.