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-10 of 16 results. Next

A272533 Numbers n such that A072499(n)!=A072504(n).

Original entry on oeis.org

16, 20, 24, 28, 32, 36, 40, 42, 44, 48, 52, 54, 56, 60, 64, 66, 68, 72, 76, 78, 80, 81, 84, 88, 90, 92, 96, 99, 100, 102, 104, 108, 110, 112, 114, 116, 117, 120, 124, 126, 128, 130, 132, 135, 136, 138, 140, 144, 148, 150, 152, 153, 156, 160, 162, 164, 168, 170, 171
Offset: 1

Views

Author

Benedict W. J. Irwin, May 02 2016

Keywords

Examples

			A072499(16) = 8 != A072504(16) = 4.
		

Crossrefs

Programs

  • PARI
    isok(n) = { my(dd = select(x->x <= sqrt(n), divisors(n))); lcm(dd) != prod(k=1, #dd, dd[k]);} \\ Michel Marcus, May 06 2016

A139805 A number n is included if (product{k|n, k<=sqrt(n)} k) (= A072499(n)) does not divide n.

Original entry on oeis.org

20, 28, 36, 42, 44, 48, 52, 54, 60, 66, 68, 72, 76, 78, 80, 84, 88, 90, 92, 96, 99, 100, 102, 104, 108, 110, 112, 114, 116, 117, 120, 124, 126, 130, 132, 136, 138, 140, 144, 148, 150, 152, 153, 156, 160, 162, 164, 168, 170, 171, 172, 174, 176, 180, 184, 186, 188
Offset: 1

Views

Author

Leroy Quet, May 22 2008

Keywords

Examples

			The divisors of 42 that are each <= sqrt(42) are 1,2,3,6. The product of these is 36. 36 does not divide 42, so 42 is in the sequence.
		

Crossrefs

Cf. A072499.

Programs

  • Maple
    A072499 := proc(n) local a,k ; a := 1 ; for k in numtheory[divisors](n) do if k^2 <= n then a := a*k ; fi ; od: a ; end: isA139805 := proc(n) RETURN( n mod A072499(n) <> 0 ) end: for n from 1 to 300 do if isA139805(n) then printf("%d,",n) ; fi ; od: # R. J. Mathar, May 24 2008
  • Mathematica
    a = {}; For[n = 1, n < 200, n++, If[Mod[n,Times @@ (Select[Divisors[n], ! # > Sqrt[n] &])] > 0, AppendTo[a, n]]]; a (* Stefan Steinerberger *)

Extensions

More terms from R. J. Mathar and Stefan Steinerberger, May 24 2008

A066839 a(n) = sum of positive divisors k of n with k <= sqrt(n).

Original entry on oeis.org

1, 1, 1, 3, 1, 3, 1, 3, 4, 3, 1, 6, 1, 3, 4, 7, 1, 6, 1, 7, 4, 3, 1, 10, 6, 3, 4, 7, 1, 11, 1, 7, 4, 3, 6, 16, 1, 3, 4, 12, 1, 12, 1, 7, 9, 3, 1, 16, 8, 8, 4, 7, 1, 12, 6, 14, 4, 3, 1, 21, 1, 3, 11, 15, 6, 12, 1, 7, 4, 15, 1, 24, 1, 3, 9, 7, 8, 12, 1, 20, 13, 3, 1, 23, 6, 3, 4, 15, 1, 26, 8, 7, 4, 3
Offset: 1

Views

Author

Leroy Quet, Jan 20 2002

Keywords

Comments

Row sums of the table in A161906. - Reinhard Zumkeller, Mar 08 2013
Conjecture: a(n) is the total number of parts in all partitions of n into consecutive parts that differ by 2. - Omar E. Pol, May 03 2020. This conjecture is true (the g.f. for these partitions agrees with the g.f. given below by Michael Somos). - N. J. A. Sloane, Dec 02 2020
Column 2 of A334466. - Omar E. Pol, Dec 03 2020

Examples

			a(9) = 4 = 1 + 3 because 1 and 3 are the positive divisors of 9 that are <= sqrt(9).
a(20) = 7: the divisors of 20 are 1, 2, 4, 5, 10 and 20. a(20) = 1 + 2 + 4 = 7.
		

Crossrefs

Programs

  • Haskell
    a066839 = sum . a161906_row  -- Reinhard Zumkeller, Mar 08 2013
    
  • Maple
    with(numtheory):for n from 1 to 200 do c[n] := 0:d := divisors(n):for i from 1 to nops(d) do if d[i]<=n^.5+10^(-10) then c[n] := c[n]+d[i]:fi:od:od:seq(c[i],i=1..200);
    # alternative
    seq(add(d, d in select(x->x^2<=n, numtheory[divisors](n))), n=1..100); # Ridouane Oudra, Jun 24 2025
  • Mathematica
    f[n_] := Plus @@ Select[ Divisors@n, # <= Sqrt@n &]; Array[f, 94] (* Robert G. Wilson v, Mar 04 2010 *)
    Table[Sum[If[n > k*(k-1), k, 0], {k, Divisors[n]}], {n, 1, 100}] (* Vaclav Kotesovec, Oct 22 2024 *)
  • PARI
    a(n)=sumdiv(n,d, (d^2<=n)*d) /* Michael Somos, Nov 19 2005 */
    
  • PARI
    { for (n=1, 1000, d=divisors(n); s=sum(k=1, ceil(length(d)/2), d[k]); write("b066839.txt", n, " ", s) ) } \\ Harry J. Smith, Mar 31 2010
    
  • Python
    from itertools import takewhile
    from sympy import divisors
    def A066839(n): return sum(takewhile(lambda x:x**2<=n,divisors(n))) # Chai Wah Wu, Dec 19 2023
  • Sage
    [sum(k for k in divisors(n) if k^2<=n) for n in (1..94)] # Giuseppe Coppoletta, Jan 21 2015
    

Formula

G.f.: Sum_{k>0} k*x^(k^2)/(1-x^k). - Michael Somos, Nov 19 2005
a(n) = Sum_{i=1..floor(sqrt(n))} (-(n mod i) + (n-1) mod i + 1). - José de Jesús Camacho Medina, Feb 21 2021
a(p^(2k+1)) = a(p^(2k)) = (p^(k+1)-1)/(p-1) = A000203(p^k) for k>=0 and p prime. - Chai Wah Wu, Dec 23 2023
Sum_{k=1..n} a(k) ~ 2 * n^(3/2) / 3 [Iannucci, 2019]. - Vaclav Kotesovec, Oct 23 2024
a(n) = A070039(n) + A037213(n). - Ridouane Oudra, Jun 24 2025

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Apr 12 2002

A161906 Triangle read by rows in which row n lists the divisors of n that are <= sqrt(n).

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 1, 2, 3, 1, 1, 2, 1, 3, 1, 2, 4, 1, 1, 2, 3, 1, 1, 2, 4, 1, 3, 1, 2, 1, 1, 2, 3, 4, 1, 5, 1, 2, 1, 3, 1, 2, 4, 1, 1, 2, 3, 5, 1, 1, 2, 4, 1, 3, 1, 2, 1, 5, 1, 2, 3, 4, 6, 1, 1, 2, 1, 3, 1, 2, 4, 5, 1, 1, 2, 3, 6, 1, 1, 2, 4, 1, 3, 5, 1, 2, 1, 1, 2, 3
Offset: 1

Views

Author

Omar E. Pol, Jun 27 2009

Keywords

Comments

If we define a divisor d|n to be inferior if d <= n/d, then inferior divisors are counted by A038548 and listed by this sequence. - Gus Wiseman, Mar 08 2021

Examples

			Triangle begins:
   1....... 1;
   2....... 1;
   3....... 1;
   4..... 1,2;
   5....... 1;
   6..... 1,2;
   7....... 1;
   8..... 1,2;
   9..... 1,3;
  10..... 1,2;
  11....... 1;
  12... 1,2,3;
  13....... 1;
  14..... 1,2;
  15..... 1,3;
  16... 1,2,4;
		

Crossrefs

Initial terms are A000012.
Final terms are A033676.
Row lengths are A038548 (number of inferior divisors).
Row sums are A066839 (sum of inferior divisors).
The prime terms are counted by A063962.
The odd terms are counted by A069288.
Row products are A072499.
Row LCMs are A072504.
The superior version is A161908.
The squarefree terms are counted by A333749.
The prime-power terms are counted by A333750.
The strictly superior version is A341673.
The strictly inferior version is A341674.
A001221 counts prime divisors, with sum A001414.
A000005 counts divisors, listed by A027750 with sum A000203.
A056924 count strictly superior (or strictly inferior divisors).
A207375 lists central divisors.
- Inferior: A217581.
- Strictly Inferior: A060775, A070039, A333805, A333806, A341596, A341677.

Programs

  • Haskell
    a161906 n k = a161906_tabf !! (n-1) !! (k-1)
    a161906_row n = a161906_tabf !! (n-1)
    a161906_tabf = zipWith (\m ds -> takeWhile ((<= m) . (^ 2)) ds)
                           [1..] a027750_tabf'
    -- Reinhard Zumkeller, Jun 24 2015, Mar 08 2013
    
  • Mathematica
    div[n_] := Select[Divisors[n], # <= Sqrt[n] &]; div /@ Range[48] // Flatten (* Amiram Eldar, Nov 13 2020 *)
  • PARI
    row(n) = select(x->(x<=sqrt(n)), divisors(n)); \\ Michel Marcus, Nov 13 2020

Extensions

More terms from Sean A. Irvine, Nov 29 2010

A063962 Number of distinct prime divisors of n that are <= sqrt(n).

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Sep 04 2001

Keywords

Comments

For all primes p: a(p) = 0 (not marked) and for k > 1 a(p^k) = 1.
a(1) = 0 and for n > 0 a(n) is the number of marks when applying the sieve of Eratosthenes where a stage for prime p starts at p^2.
If we define a divisor d|n to be inferior if d <= n/d, then inferior divisors are counted by A038548 and listed by A161906. This sequence counts inferior prime divisors. - Gus Wiseman, Feb 25 2021

Examples

			a(33) = a(3*11) = 1, as 3^2 = 9 < 33 and 11^2 = 121 > 33.
From _Gus Wiseman_, Feb 25 2021: (Start)
The a(n) inferior prime divisors (columns) for selected n:
n =  3  8  24  3660  390  3570 87780
   ---------------------------------
    {}  2   2     2    2     2     2
            3     3    3     3     3
                  5    5     5     5
                      13     7     7
                            17    11
                                  19
(End)
		

Crossrefs

Zeros are at indices A008578.
The divisors are listed by A161906 and add up to A097974.
Dominates A333806 (the strictly inferior version).
The superior version is A341591.
The strictly superior version is A341642.
A001221 counts prime divisors, with sum A001414.
A033677 selects the smallest superior divisor.
A038548 counts inferior divisors.
A063538/A063539 have/lack a superior prime divisor.
A161908 lists superior divisors.
A207375 lists central divisors.
A217581 selects the greatest inferior prime divisor.
A341676 lists the unique superior prime divisors.
- Strictly Inferior: A056924, A060775, A070039, A333805, A341596, A341674.
- Strictly Superior: A056924, A140271, A238535, A341594, A341595, A341673.

Programs

  • Haskell
    a063962 n = length [p | p <- a027748_row n, p ^ 2 <= n]
    -- Reinhard Zumkeller, Apr 05 2012
  • Maple
    with(numtheory): a:=proc(n) local c,F,f,i: c:=0: F:=factorset(n): f:=nops(F): for i from 1 to f do if F[i]^2<=n then c:=c+1 else c:=c: fi od: c; end: seq(a(n),n=1..105); # Emeric Deutsch
  • Mathematica
    Join[{0},Table[Count[Transpose[FactorInteger[n]][[1]],?(#<=Sqrt[n]&)],{n,2,110}]] (* _Harvey P. Dale, Mar 26 2015 *)
  • PARI
    { for (n=1, 1000, f=factor(n)~; a=0; for (i=1, length(f), if (f[1, i]^2<=n, a++, break)); write("b063962.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 04 2009
    

Formula

G.f.: Sum_{k>=1} x^(prime(k)^2) / (1 - x^prime(k)). - Ilya Gutkovskiy, Apr 04 2020
a(A002110(n)) = n for n > 2. - Gus Wiseman, Feb 25 2021

Extensions

Revised definition from Emeric Deutsch, Jan 31 2006

A342083 Number of chains of strictly inferior divisors from n to 1.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 3, 2, 2, 1, 4, 1, 2, 2, 3, 1, 4, 1, 3, 2, 2, 2, 4, 1, 2, 2, 4, 1, 5, 1, 3, 3, 2, 1, 6, 1, 3, 2, 3, 1, 5, 2, 4, 2, 2, 1, 7, 1, 2, 3, 3, 2, 5, 1, 3, 2, 4, 1, 8, 1, 2, 3, 3, 2, 5, 1, 6, 2, 2, 1, 7, 2, 2, 2
Offset: 1

Views

Author

Gus Wiseman, Feb 28 2021

Keywords

Comments

We define a divisor d|n to be strictly inferior if d < n/d. Strictly inferior divisors are counted by A056924 and listed by A341674.
These chains have first-quotients (in analogy with first-differences) that are term-wise > their decapitation (maximum element removed). Equivalently, x > y^2 for all adjacent x, y. For example, the divisor chain q = 60/6/2/1 has first-quotients (10,3,2), which are > (6,2,1), so q is counted under a(60).
Also the number of factorizations of n where each factor is greater than the product of all previous factors.

Examples

			The a(n) chains for n = 2, 6, 12, 24, 42, 48, 60, 72:
  2/1  6/1    12/1    24/1    42/1      48/1      60/1      72/1
       6/2/1  12/2/1  24/2/1  42/2/1    48/2/1    60/2/1    72/2/1
              12/3/1  24/3/1  42/3/1    48/3/1    60/3/1    72/3/1
                      24/4/1  42/6/1    48/4/1    60/4/1    72/4/1
                              42/6/2/1  48/6/1    60/5/1    72/6/1
                                        48/6/2/1  60/6/1    72/8/1
                                                  60/6/2/1  72/6/2/1
                                                            72/8/2/1
The a(n) factorizations for n = 2, 6, 12, 24, 42, 48, 60, 72:
  2  6    12   24    42     48     60      72
     2*3  2*6  3*8   6*7    6*8    2*30    8*9
          3*4  4*6   2*21   2*24   3*20    2*36
               2*12  3*14   3*16   4*15    3*24
                     2*3*7  4*12   5*12    4*18
                            2*3*8  6*10    6*12
                                   2*3*10  2*4*9
                                           2*3*12
		

Crossrefs

The restriction to powers of 2 is A040039.
Not requiring strict inferiority gives A074206 (ordered factorizations).
The weakly inferior version is A337135.
The strictly superior version is A342084.
The weakly superior version is A342085.
The additive version is A342098, or A000929 allowing equality.
A000005 counts divisors.
A001055 counts factorizations.
A003238 counts chains of divisors summing to n-1, with strict case A122651.
A038548 counts inferior (or superior) divisors.
A056924 counts strictly inferior (or strictly superior) divisors.
A067824 counts strict chains of divisors starting with n.
A167865 counts strict chains of divisors > 1 summing to n.
A207375 lists central divisors.
A253249 counts strict chains of divisors.
A334996 counts ordered factorizations by product and length.
A334997 counts chains of divisors of n by length.
A342086 counts chains of divisors with strictly increasing quotients > 1.
- Inferior: A033676, A066839, A072499, A161906.
- Superior: A033677, A070038, A161908.
- Strictly Inferior: A060775, A070039, A333806, A341674.
- Strictly Superior: A048098, A064052, A140271, A238535, A341673.

Programs

  • Mathematica
    cen[n_]:=If[n==1,{{1}},Prepend[#,n]&/@Join@@cen/@Select[Divisors[n],#
    				

Formula

G.f.: x + Sum_{k>=1} a(k) * x^(k*(k + 1)) / (1 - x^k). - Ilya Gutkovskiy, Nov 03 2021

A342084 Number of chains of distinct strictly superior divisors starting with n.

Original entry on oeis.org

1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 4, 1, 2, 2, 3, 1, 4, 1, 4, 2, 2, 1, 9, 1, 2, 2, 4, 1, 7, 1, 6, 2, 2, 2, 10, 1, 2, 2, 9, 1, 6, 1, 4, 4, 2, 1, 19, 1, 4, 2, 4, 1, 8, 2, 9, 2, 2, 1, 20, 1, 2, 4, 10, 2, 6, 1, 4, 2, 7, 1, 29, 1, 2, 4, 4, 2, 6, 1, 19, 3, 2, 1, 19, 2
Offset: 1

Views

Author

Gus Wiseman, Feb 28 2021

Keywords

Comments

We define a divisor d|n to be strictly superior if d > n/d. Strictly superior divisors are counted by A056924 and listed by A341673.
These chains have first-quotients (in analogy with first-differences) that are term-wise < their decapitation (maximum element removed). Equivalently, x < y^2 for all adjacent x, y. For example, the divisor chain q = 30/6/3 has first-quotients (5,2), which are < (6,3), so q is counted under a(30).
Also the number of ordered factorizations of n where each factor is less than the product of all previous factors.

Examples

			The a(n) chains for n = 2, 6, 12, 16, 24, 30, 32, 36:
  2  6    12      16      24         30       32         36
     6/3  12/4    16/8    24/6       30/6     32/8       36/9
          12/6    16/8/4  24/8       30/10    32/16      36/12
          12/6/3          24/12      30/15    32/8/4     36/18
                          24/6/3     30/6/3   32/16/8    36/12/4
                          24/8/4     30/10/5  32/16/8/4  36/12/6
                          24/12/4    30/15/5             36/18/6
                          24/12/6                        36/18/9
                          24/12/6/3                      36/12/6/3
                                                         36/18/6/3
The a(n) ordered factorizations for n = 2, 6, 12, 16, 24, 30, 32, 36:
  2  6    12     16     24       30     32       36
     3*2  4*3    8*2    6*4      6*5    8*4      9*4
          6*2    4*2*2  8*3      10*3   16*2     12*3
          3*2*2         12*2     15*2   4*2*4    18*2
                        3*2*4    3*2*5  8*2*2    4*3*3
                        4*2*3    5*2*3  4*2*2*2  6*2*3
                        4*3*2    5*3*2           6*3*2
                        6*2*2                    9*2*2
                        3*2*2*2                  3*2*2*3
                                                 3*2*3*2
		

Crossrefs

The restriction to powers of 2 is A045690, with reciprocal version A040039.
The inferior version is A337135.
The strictly inferior version is A342083.
The superior version is A342085.
The additive version allowing equality is A342094 or A342095.
The additive version is A342096 or A342097.
A000005 counts divisors.
A001055 counts factorizations.
A003238 counts divisibility chains summing to n-1, with strict case A122651.
A038548 counts inferior (or superior) divisors.
A056924 counts strictly inferior (or strictly superior) divisors.
A067824 counts strict chains of divisors starting with n.
A074206 counts strict chains of divisors from n to 1 (also ordered factorizations).
A167865 counts strict chains of divisors > 1 summing to n.
A207375 lists central divisors.
A253249 counts strict chains of divisors.
A334996 counts ordered factorizations by product and length.
A334997 counts chains of divisors of n by length.
- Superior: A033677, A070038, A161908, A341591.
- Strictly Inferior: A060775, A070039, A333806, A341674.
- Strictly Superior: A064052/A048098, A140271, A238535, A341642, A341673.

Programs

  • Mathematica
    ceo[n_]:=Prepend[Prepend[#,n]&/@Join@@ceo/@Select[Most[Divisors[n]],#>n/#&],{n}];
    Table[Length[ceo[n]],{n,100}]

Formula

a(2^n) = A045690(n).

A072500 Product of divisors of n which are >= n^(1/2).

Original entry on oeis.org

1, 2, 3, 8, 5, 18, 7, 32, 27, 50, 11, 288, 13, 98, 75, 512, 17, 972, 19, 1000, 147, 242, 23, 13824, 125, 338, 243, 2744, 29, 27000, 31, 4096, 363, 578, 245, 419904, 37, 722, 507, 64000, 41, 86436, 43, 10648, 6075, 1058, 47, 1769472, 343, 12500, 867, 17576, 53
Offset: 1

Views

Author

Amarnath Murthy, Jul 20 2002

Keywords

Comments

a(n) = n iff n is not a composite number.

Examples

			The divisors of 20 are 1, 2, 4, 5, 10 and 20. a(20) = 5*10*20 = 1000.
		

Crossrefs

Programs

  • Mathematica
    Table[Times @@ Select[Divisors[n], # >= Sqrt[n] &], {n, 1, 55}]

Extensions

Edited by Robert G. Wilson v, Jul 22 2002
Corrected a(16) by Harvey P. Dale, Oct 06 2011

A337135 a(1) = 1; for n > 1, a(n) = Sum_{d|n, d <= sqrt(n)} a(d).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 4, 1, 3, 1, 4, 2, 2, 1, 5, 2, 2, 2, 4, 1, 4, 1, 4, 2, 2, 2, 7, 1, 2, 2, 5, 1, 5, 1, 4, 3, 2, 1, 7, 2, 3, 2, 4, 1, 5, 2, 5, 2, 2, 1, 8, 1, 2, 3, 6, 2, 5, 1, 4, 2, 4, 1, 9, 1, 2, 3, 4, 2, 5, 1, 7, 4, 2, 1, 8, 2, 2, 2, 6, 1, 8, 2, 4, 2, 2, 2
Offset: 1

Views

Author

Ilya Gutkovskiy, Nov 21 2020

Keywords

Comments

From Gus Wiseman, Mar 05 2021: (Start)
This sequence counts all of the following essentially equivalent things:
1. Chains of distinct inferior divisors from n to 1, where a divisor d|n is inferior if d <= n/d. Inferior divisors are counted by A038548 and listed by A161906.
2. Chains of divisors from n to 1 whose first-quotients (in analogy with first-differences) are term-wise greater than or equal to their decapitation (maximum element removed). For example, the divisor chain q = 60/4/2/1 has first-quotients (15,2,2), which are >= (4,2,1), so q is counted under a(60).
3. Chains of divisors from n to 1 such that x >= y^2 for all adjacent x, y.
4. Factorizations of n where each factor is greater than or equal to the product of all previous factors.
(End)

Examples

			From _Gus Wiseman_, Mar 05 2021: (Start)
The a(n) chains for n = 1, 2, 4, 12, 16, 24, 36, 60:
  1  2/1  4/1    12/1    16/1      24/1      36/1      60/1
          4/2/1  12/2/1  16/2/1    24/2/1    36/2/1    60/2/1
                 12/3/1  16/4/1    24/3/1    36/3/1    60/3/1
                         16/4/2/1  24/4/1    36/4/1    60/4/1
                                   24/4/2/1  36/6/1    60/5/1
                                             36/4/2/1  60/6/1
                                             36/6/2/1  60/4/2/1
                                                       60/6/2/1
The a(n) factorizations for n = 2, 4, 12, 16, 24, 36, 60:
    2  4    12   16     24     36     60
       2*2  2*6  2*8    3*8    4*9    2*30
            3*4  4*4    4*6    6*6    3*20
                 2*2*4  2*12   2*18   4*15
                        2*2*6  3*12   5*12
                               2*2*9  6*10
                               2*3*6  2*2*15
                                      2*3*10
(End)
		

Crossrefs

Cf. A002033, A008578 (positions of 1's), A068108.
The restriction to powers of 2 is A018819.
Not requiring inferiority gives A074206 (ordered factorizations).
The strictly inferior version is A342083.
The strictly superior version is A342084.
The weakly superior version is A342085.
The additive version is A000929, or A342098 forbidding equality.
A000005 counts divisors, with sum A000203.
A001055 counts factorizations.
A003238 counts chains of divisors summing to n-1, with strict case A122651.
A038548 counts inferior (or superior) divisors.
A056924 counts strictly inferior (or strictly superior) divisors.
A067824 counts strict chains of divisors starting with n.
A167865 counts strict chains of divisors > 1 summing to n.
A207375 lists central divisors.
A253249 counts strict chains of divisors.
A334996 counts ordered factorizations by product and length.
A334997 counts chains of divisors of n by length.
A342086 counts strict factorizations of divisors.
- Inferior: A033676, A066839, A072499, A161906.
- Superior: A033677, A070038, A161908.
- Strictly Inferior: A060775, A070039, A333806, A341674.
- Strictly Superior: A048098, A064052, A140271, A238535, A341673.

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=1, 1, add(
          `if`(d<=n/d, a(d), 0), d=numtheory[divisors](n)))
        end:
    seq(a(n), n=1..128);  # Alois P. Heinz, Jun 24 2021
  • Mathematica
    a[1] = 1; a[n_] := a[n] = DivisorSum[n, a[#] &, # <= Sqrt[n] &]; Table[a[n], {n, 95}]
    (* second program *)
    asc[n_]:=Prepend[#,n]&/@Prepend[Join@@Table[asc[d],{d,Select[Divisors[n],#Gus Wiseman, Mar 05 2021 *)

Formula

G.f.: Sum_{k>=1} a(k) * x^(k^2) / (1 - x^k).
a(2^n) = A018819(n). - Gus Wiseman, Mar 08 2021

A342085 Number of decreasing chains of distinct superior divisors starting with n.

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 1, 3, 2, 2, 1, 5, 1, 2, 2, 6, 1, 5, 1, 4, 2, 2, 1, 11, 2, 2, 3, 4, 1, 7, 1, 10, 2, 2, 2, 15, 1, 2, 2, 10, 1, 6, 1, 4, 5, 2, 1, 26, 2, 5, 2, 4, 1, 11, 2, 10, 2, 2, 1, 21, 1, 2, 5, 20, 2, 6, 1, 4, 2, 7, 1, 39, 1, 2, 5, 4, 2, 6, 1, 23, 6, 2, 1
Offset: 1

Views

Author

Gus Wiseman, Feb 28 2021

Keywords

Comments

We define a divisor d|n to be superior if d >= n/d. Superior divisors are counted by A038548 and listed by A161908.
These chains have first-quotients (in analogy with first-differences) that are term-wise less than or equal to their decapitation (maximum element removed). Equivalently, x <= y^2 for all adjacent x, y. For example, the divisor chain q = 24/8/4/2 has first-quotients (3,2,2), which are less than or equal to (8,4,2), so q is counted under a(24).
Also the number of ordered factorizations of n where each factor is less than or equal to the product of all previous factors.

Examples

			The a(n) chains for n = 2, 4, 8, 12, 16, 20, 24, 30, 32:
  2  4    8      12      16        20       24         30       32
     4/2  8/4    12/4    16/4      20/5     24/6       30/6     32/8
          8/4/2  12/6    16/8      20/10    24/8       30/10    32/16
                 12/4/2  16/4/2    20/10/5  24/12      30/15    32/8/4
                 12/6/3  16/8/4             24/6/3     30/6/3   32/16/4
                         16/8/4/2           24/8/4     30/10/5  32/16/8
                                            24/12/4    30/15/5  32/8/4/2
                                            24/12/6             32/16/4/2
                                            24/8/4/2            32/16/8/4
                                            24/12/4/2           32/16/8/4/2
                                            24/12/6/3
The a(n) ordered factorizations for n = 2, 4, 8, 12, 16, 20, 24, 30, 32:
  2  4    8      12     16       20     24       30     32
     2*2  4*2    4*3    4*4      5*4    6*4      6*5    8*4
          2*2*2  6*2    8*2      10*2   8*3      10*3   16*2
                 2*2*3  2*2*4    5*2*2  12*2     15*2   4*2*4
                 3*2*2  4*2*2           3*2*4    3*2*5  4*4*2
                        2*2*2*2         4*2*3    5*2*3  8*2*2
                                        4*3*2    5*3*2  2*2*2*4
                                        6*2*2           2*2*4*2
                                        2*2*2*3         4*2*2*2
                                        2*2*3*2         2*2*2*2*2
                                        3*2*2*2
		

Crossrefs

The restriction to powers of 2 is A045690.
The inferior version is A337135.
The strictly inferior version is A342083.
The strictly superior version is A342084.
The additive version is A342094, with strict case A342095.
The additive version not allowing equality is A342098.
A001055 counts factorizations.
A003238 counts divisibility chains summing to n-1, with strict case A122651.
A038548 counts inferior (or superior) divisors.
A056924 counts strictly inferior (or strictly superior) divisors.
A067824 counts strict chains of divisors starting with n.
A074206 counts strict chains of divisors from n to 1 (also ordered factorizations).
A167865 counts strict chains of divisors > 1 summing to n.
A207375 lists central divisors.
A253249 counts strict chains of divisors.
A334996 counts ordered factorizations by product and length.
A334997 counts chains of divisors of n by length.
- Inferior: A033676, A066839, A072499, A161906.
- Superior: A033677, A070038, A161908, A341676.
- Strictly Inferior: A060775, A070039, A333806, A341674.
- Strictly Superior: A064052/A048098, A140271, A238535, A341673.

Programs

  • Maple
    a:= proc(n) option remember; 1+add(`if`(d>=n/d,
          a(d), 0), d=numtheory[divisors](n) minus {n})
        end:
    seq(a(n), n=1..128);  # Alois P. Heinz, Jun 24 2021
  • Mathematica
    cmo[n_]:=Prepend[Prepend[#,n]&/@Join@@cmo/@Select[Most[Divisors[n]],#>=n/#&],{n}];
    Table[Length[cmo[n]],{n,100}]

Formula

a(2^n) = A045690(n).
Showing 1-10 of 16 results. Next