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

A286324 a(n) is the number of bi-unitary divisors of n.

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 4, 4, 2, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 8, 2, 6, 4, 4, 4, 4, 2, 4, 4, 8, 2, 8, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 8, 4, 8, 4, 4, 2, 8, 2, 4, 4, 6, 4, 8, 2, 4, 4, 8, 2, 8, 2, 4, 4, 4, 4, 8, 2, 8, 4, 4, 2, 8, 4, 4, 4, 8, 2, 8
Offset: 1

Views

Author

Michel Marcus, May 07 2017

Keywords

Comments

a(n) is the number of terms of the n-th row of A222266.

Examples

			From _Michael De Vlieger_, May 07 2017: (Start)
a(1) = 1 since 1 is the empty product; all divisors of 1 (i.e., 1) have a greatest common unitary divisor that is 1. 1 is a unitary divisor of all numbers n.
a(p) = 2 since 1 and p have greatest common unitary divisor 1.
a(6) = 4 since the divisor pairs {1, 6} and {2, 3} have greatest common unitary divisor 1.
a(24) = 8 since {1, 24}, {2, 12}, {3, 8}, {4, 6} have greatest unitary divisors {1, {1, 3, 8, 24}}, {{1, 2}, {1, 3, 4, 12}}, {{1, 3}, {1, 8}}, {{1, 4}, {1, 2, 3, 6}}: 1 is the greatest common unitary divisor among all 4 pairs. (End)
		

Crossrefs

Cf. A222266, A188999, A293185 (indices of records), A340232, A350390.
Cf. A000005, A034444 (unitary), A037445 (infinitary).

Programs

  • Mathematica
    f[n_] := Select[Divisors[n], Function[d, CoprimeQ[d, n/d]]]; Table[DivisorSum[n, 1 &, Last@ Intersection[f@ #, f[n/#]] == 1 &], {n, 90}] (* Michael De Vlieger, May 07 2017 *)
    f[p_, e_] := If[OddQ[e], e + 1, e]; a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 120] (* Amiram Eldar, Dec 19 2018 *)
  • PARI
    udivs(n) = {my(d = divisors(n)); select(x->(gcd(x, n/x)==1), d); }
    gcud(n, m) = vecmax(setintersect(udivs(n), udivs(m)));
    biudivs(n) = select(x->(gcud(x, n/x)==1), divisors(n));
    a(n) = #biudivs(n);
    
  • PARI
    a(n)={my(f=factor(n)[,2]); prod(i=1, #f, my(e=f[i]); e + e % 2)} \\ Andrew Howroyd, Aug 05 2018
    
  • PARI
    for(n=1, 100, print1(direuler(p=2, n, (X^3 - X^2 + X + 1) / ((X-1)^2 * (X+1)))[n], ", ")) \\ Vaclav Kotesovec, Jan 11 2024

Formula

Multiplicative with a(p^e) = e + (e mod 2). - Andrew Howroyd, Aug 05 2018
a(A340232(n)) = 2*n. - Bernard Schott, Mar 12 2023
a(n) = A000005(A350390(n)) (the number of divisors of the largest exponentially odd number dividing n). - Amiram Eldar, Sep 01 2023
From Vaclav Kotesovec, Jan 11 2024: (Start)
Dirichlet g.f.: zeta(s)^2 * Product_{p prime} (1 - (p^s - 1)/((p^s + 1)*p^(2*s))).
Let f(s) = Product_{p prime} (1 - (p^s - 1)/((p^s + 1)*p^(2*s))).
Sum_{k=1..n} a(k) ~ f(1) * n * (log(n) + 2*gamma - 1 + f'(1)/f(1)), where
f(1) = Product_{p prime} (1 - (p-1)/((p+1)*p^2)) = A306071 = 0.80733082163620503914865427993003113402584582508155664401800520770441381...,
f'(1) = f(1) * Sum_{p prime} 2*(p^2 - p - 1) * log(p) /(p^4 + 2*p^3 + 1) = f(1) * 0.40523703144422392508596509911218523410441417240419849262346362977537989... = f(1) * A306072
and gamma is the Euler-Mascheroni constant A001620. (End)

A318278 Exponential highly composite numbers: where the number of exponential divisors of n (A049419) increases to a record.

Original entry on oeis.org

1, 4, 16, 36, 144, 576, 1296, 3600, 14400, 32400, 129600, 705600, 1587600, 6350400, 39690000, 57153600, 158760000, 768398400, 4802490000, 6915585600, 19209960000, 129859329600, 811620810000, 1168733966400, 3246483240000, 29218349160000, 159077678760000
Offset: 1

Views

Author

Amiram Eldar and David A. Corneth, Aug 29 2018

Keywords

Comments

Analogous to highly composite numbers (A002182) with number of exponential divisors (A049419) instead of number of divisors (A000005). The record numbers of exponential divisors are 1, 2, 3, 4, 6, 8, 9, 12, 16, 18, 24, 32, 36, 48, 54, 64, 72, 96, 108, 128, 144, 192, 216, 256, 288, 384, 432, ... The numbers have each exponent > 1. Proof: Suppose for some m, the exponent of prime p is 1. Then m/p has the same number of prime divisors hence m isn't a record. A contradiction hence all exponents are > 1.
Terms have even exponents in A025487 in their prime factorization.
Proof: Suppose some exponent e of a prime is not in A025487. Then there exists some term in A025487 number e1 < e that has the same number of divisors since e > 1. A contradiction hence all exponents are in A025487 and > 1.
By the above discussion, the terms are squares with their square roots: 1,2,4,6,12,24,36,60,120,180,360,840,1260,2520,6300.
The above argument can be trivially modified to further restrict the possible exponents to members of A002182: replace "the same number of" with "at least as many". - Charlie Neder, Oct 27 2018

Examples

			144 is in the sequence since it has 6 exponential divisors (being 6, 12, 18, 36, 48, 144), and no positive integer < 144 has at least 6 exponential divisors hence 144 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    edivnum[1] = 1; edivnum [p_?PrimeQ] = 1; edivnum [p_?PrimeQ, e_] := DivisorSigma[ 0, e ]; edivnum [n_] := Times @@ (edivnum [#[[1]], #[[2]]] & ) /@ FactorInteger[ n ];  em = 0; s = {}; Do[e =edivnum [k]; If[e >em, AppendTo[s, k]; em = e], {k, 1, 100000}]; s (* after Jean-François Alcover in A049419 *)

A309141 Nonunitary highly composite numbers: numbers with a record number of nonunitary divisors.

Original entry on oeis.org

1, 4, 8, 16, 24, 36, 48, 72, 144, 216, 288, 360, 576, 720, 1080, 1440, 2160, 2880, 3600, 4320, 5040, 7200, 7560, 10080, 15120, 20160, 25200, 30240, 45360, 50400, 60480, 75600, 100800, 110880, 151200, 221760, 277200, 302400, 332640, 453600, 498960, 554400, 665280
Offset: 1

Views

Author

Amiram Eldar, Jul 14 2019

Keywords

Comments

Numbers k with A048105(k) > A048105(j) for all j < k.
The corresponding values of records are 0, 1, 2, 3, 4, 5, 6, 8, 11, 12, 14, 16, 17, 22, 24, 28, 32, 34, 37, 40, 44, 46, 48, 56, 64, 68, 74, 80, 84, 92, 96, ... (see the link for more values)

Crossrefs

Cf. A048105, A002182 (highly composite), A002110 (unitary), A037992 (infinitary), A293185 (bi-unitary), A318278 (exponential).

Programs

  • Mathematica
    f[n_] := DivisorSigma[0, n] - 2^PrimeNu[n]; fm=-1; s={}; Do[f1 = f[n]; If[f1 > fm, fm = f1; AppendTo[s, n]], {n, 1, 10^5}]; s

A322484 Semi-unitary highly composite numbers: where the number of semi-unitary divisors of n (A322483) increases to a record.

Original entry on oeis.org

1, 2, 6, 24, 30, 120, 210, 840, 2310, 7560, 9240, 30030, 83160, 120120, 480480, 1081080, 1921920, 2042040, 8168160, 18378360, 32672640, 38798760, 155195040, 349188840, 620780160, 892371480, 3569485920, 8031343320, 14277943680, 25878772920, 103515091680
Offset: 1

Views

Author

Amiram Eldar, Dec 11 2018

Keywords

Comments

The record numbers of semi-unitary divisors are 1, 2, 4, 6, 8, 12, 16, 24, 32, 36, 48, 64, 72, 96, 128, 144, 160, 192, 256, 288, 320, 384, 512, 576, 640, 768, 1024, 1152, 1280, 1536, 2048, ... (see the link for more values).

Crossrefs

Analogous sequences: A002182 (regular divisors), A002110 (unitary divisors), A293185 (bi-unitary).
Cf. A322483.

Programs

  • Mathematica
    f[p_, e_] := Floor[(e+3)/2]; sud[n_] := If[n==1, 1, Times @@ (f @@@ FactorInteger[n])]; seq={}; sm=0; Do[s = sud[k]; If[s > sm, AppendTo[seq, k]; sm = s], {k, 1, 100000}]; seq
  • PARI
    nbu(n) = {my(f = factor(n)); for (k=1, #f~, f[k,1] = (f[k,2]+3)\2; f[k,2] = 1;); factorback(f);} \\ A322483
    lista(nn) = {my(m = 0, nb); for (n=1, nn, nb = nbu(n); if (nb > m, m = nb; print1(n, ", ")););} \\ Michel Marcus, Dec 14 2018

A340232 a(n) is the least number with exactly 2*n bi-unitary divisors.

Original entry on oeis.org

2, 6, 32, 24, 512, 96, 8192, 120, 131072, 1536, 2097152, 480, 33554432, 24576, 536870912, 840, 8589934592, 7776, 137438953472, 7680, 2199023255552, 6291456, 35184372088832, 3360, 562949953421312, 100663296, 9007199254740992, 122880, 144115188075855872, 124416
Offset: 1

Views

Author

Amiram Eldar, Jan 01 2021

Keywords

Comments

Every integer except 1 has an even number of bi-unitary divisors.

Examples

			a(1) = 2 since 2 is the least number with 2*1 = 2 bi-unitary divisors, 1 and 2.
a(2) = 6 since 6 is the least number with 2*2 = 4 bi-unitary divisors, 1, 2, 3 and 6.
		

Crossrefs

Subsequence of A025487.
Similar sequences: A005179 (all divisors), A038547 (odd divisors), A085629 (coreful divisors), A309181 (nonunitary), A340233 (exponential).

Programs

  • Mathematica
    f[p_, e_] := If[OddQ[e], e + 1, e]; d[1] = 1; d[n_] := Times @@ (f @@@ FactorInteger[n]);  max = 10; s = Table[0, {max}]; c = 0; n = 2;  While[c < max, i = d[n]/2; If[i <= max && s[[i]] == 0, c++; s[[i]] = n]; n++]; s

Formula

A286324(a(n)) = 2*n and A286324(k) != 2*n for all k < a(n).

A335386 Tri-unitary highly composite numbers: where the number of tri-unitary divisors (A335385) increases to a record.

Original entry on oeis.org

1, 2, 6, 24, 120, 840, 7560, 83160, 1081080, 18378360, 349188840, 8031343320, 200783583000, 5822723907000, 180504441117000, 6678664321329000, 273825237174489000, 11774485198503027000, 553400804329642269000, 27116639412152471181000, 1437181888844080972593000
Offset: 1

Views

Author

Amiram Eldar, Jun 04 2020

Keywords

Crossrefs

Analogous sequences: A002182 (highly composite), A002110 (unitary), A037992 (infinitary), A293185 (bi-unitary), A318278 (exponential), A306736 (exponential infinitary), A307845 (exponential unitary), A309141 (nonunitary), A322484 (semi-unitary).
Cf. A335385.

Programs

  • Mathematica
    f[p_, e_] := If[e == 3 || e == 6, 4, 2]; d[1] = 1; d[n_] := Times @@ (f @@@ FactorInteger[n]); dm = 0; s = {}; Do[If[(d1 = d[n]) > dm, dm = d1; AppendTo[s, n]], {n, 1, 1100000}]; s

Formula

A335385(a(n)) = 2^(n-1).

A333931 Recursive highly composite numbers: numbers with a record number of recursive divisors (A282446).

Original entry on oeis.org

1, 2, 4, 6, 12, 30, 36, 60, 180, 420, 900, 1260, 4620, 6300, 13860, 44100, 55440, 69300, 180180, 485100, 720720, 900900, 2882880, 3063060, 6306300, 12252240, 15315300, 49008960, 58198140, 107207100, 232792560, 290990700, 931170240, 1163962800, 2036934900, 4655851200
Offset: 1

Views

Author

Amiram Eldar, Apr 10 2020

Keywords

Comments

The corresponding record values are 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 27, 36, 48, 54, ...

Crossrefs

Subsequence of A025487.
Cf. A282446.
Analogous sequences: A002182 (highly composite), A002110 (unitary), A037992 (infinitary), A293185 (bi-unitary), A309141 (nonunitary), A318278 (exponential).

Programs

  • Mathematica
    recDivNum[1] = 1; recDivNum[n_] := recDivNum[n] = Times @@ (1 + recDivNum/@ (Last /@ FactorInteger[n])); rm = 0; s = {}; Do[r = recDivNum[n]; If[r > rm, rm = r; AppendTo[s, n]], {n, 1, 10^4}]; s

A358253 Numbers with a record number of non-unitary square divisors.

Original entry on oeis.org

1, 8, 32, 128, 288, 864, 1152, 2592, 4608, 10368, 20736, 28800, 41472, 64800, 115200, 259200, 518400, 1036800, 2073600, 4147200, 8294400, 9331200, 12700800, 25401600, 50803200, 101606400, 203212800, 406425600, 457228800, 635040000, 812851200, 914457600, 1270080000
Offset: 1

Views

Author

Amiram Eldar, Nov 05 2022

Keywords

Comments

Numbers m such that A056626(m) > A056626(k) for all k < m.
The corresponding record values are 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 20, 22, ... (see the link for more values).

Crossrefs

Subsequence of A025487.
Similar sequences: A002182 (all divisors), A002110 (unitary), A037992 (infinitary), A046952 (square divisors), A053624 (odd divisors), A293185 (bi-unitary), A309141 (non-unitary), A318278 (exponential).

Programs

  • Mathematica
    f1[p_, e_] := 1 + Floor[e/2]; f2[p_, e_] := 2^(1 - Mod[e, 2]); f[1] = 0; f[n_] := Times @@ f1 @@@ (fct = FactorInteger[n]) - Times @@ f2 @@@ fct; s = {}; fmax = -1; Do[If[(fn = f[n]) > fmax, fmax = fn; AppendTo[s, n]], {n, 1, 10^5}]; s
  • PARI
    s(n) = {my(f = factor(n)); prod(i = 1, #f~, 1 + floor(f[i,2]/2)) - 2^sum(i = 1, #f~, 1 - f[i,2]%2);}
    lista(nmax) = {my(smax = -1, sn); for(n = 1, nmax, sn = s(n); if(sn > smax, smax = sn; print1(n, ", "))); }

A348342 Noninfinitary highly composite numbers: where the number of noninfinitary divisors (A348341) increases to a record.

Original entry on oeis.org

1, 4, 12, 16, 36, 48, 144, 240, 576, 720, 1680, 2880, 3600, 5040, 11520, 14400, 15120, 20160, 25200, 45360, 55440, 80640, 100800, 166320, 176400, 226800, 277200, 498960, 720720, 887040, 1108800, 1587600, 1940400, 2494800, 3603600, 6486480, 9979200, 11531520, 14414400
Offset: 1

Views

Author

Amiram Eldar, Oct 13 2021

Keywords

Comments

The record numbers of noninfinitary divisors are 0, 1, 2, 3, 5, 6, 11, 12, 13, 22, 24, 26, 37, 44, 46, ... (see the link for more values).

Crossrefs

Cf. A348341.
Subsequence of A025487.
Similar sequences: A002182, A002110 (unitary), A037992 (infinitary), A293185, A306736, A307845, A309141, A318278, A322484, A335386.

Programs

  • Mathematica
    nid[1] = 0; nid[n_] := DivisorSigma[0, n] - Times @@ Flatten[2^DigitCount[#, 2, 1] & /@ FactorInteger[n][[;; , 2]]]; dm = -1; s = {}; Do[If[(d = nid[n]) > dm, dm = d; AppendTo[s, n]], {n, 1, 10^6}]; s

A348632 Nonexponential highly composite numbers: where the number of nonexponential divisors (A160097) increases to a record.

Original entry on oeis.org

1, 6, 12, 24, 30, 60, 120, 210, 240, 360, 420, 720, 840, 1260, 1680, 2520, 3360, 5040, 7560, 9240, 10080, 15120, 18480, 25200, 27720, 36960, 50400, 55440, 83160, 110880, 166320, 221760, 277200, 332640, 480480, 498960, 554400, 665280, 720720, 1081080, 1441440
Offset: 1

Views

Author

Amiram Eldar, Oct 26 2021

Keywords

Comments

The corresponding record values are 1, 3, 4, 6, 7, 10, 14, 15, 17, 20, 22, 24, ... (see the link for more values).

Crossrefs

Cf. A160097.
Subsequence of A025487.
Similar sequences: A002182, A002110 (unitary), A037992 (infinitary), A293185, A306736, A307845, A309141, A318278, A322484, A335386.

Programs

  • Mathematica
    f1[p_, e_] := e + 1; f2[p_, e_] := DivisorSigma[0, e]; ned[1] = 1; ned[n_] := Times @@ f1 @@@ (f = FactorInteger[n]) - Times @@ f2 @@@ f; dm = -1; s = {}; Do[If[(d = ned[n]) > dm, dm = d; AppendTo[s, n]], {n, 1, 10^6}]; s
Showing 1-10 of 16 results. Next