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 12 results. Next

A126164 Sum of the proper exponential divisors of n.

Original entry on oeis.org

0, 0, 0, 2, 0, 0, 0, 2, 3, 0, 0, 6, 0, 0, 0, 6, 0, 6, 0, 10, 0, 0, 0, 6, 5, 0, 3, 14, 0, 0, 0, 2, 0, 0, 0, 36, 0, 0, 0, 10, 0, 0, 0, 22, 15, 0, 0, 18, 7, 10, 0, 26, 0, 6, 0, 14, 0, 0, 0, 30, 0, 0, 21, 14, 0, 0, 0, 34, 0, 0, 0, 48, 0, 0, 15
Offset: 1

Views

Author

Ant King, Dec 21 2006

Keywords

Comments

The e-divisors (or exponential divisors) of x=Product p(i)^r(i) are all numbers of the form Product p(i)^s(i) where s(i) divides r(i) for all i.

Examples

			The exponential divisors of 240 are 30, 60 and 240, so a(240) = 30+60 = 90.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := DivisorSum[e, p^# &]; a[1] = 0; a[n_] := Times @@ f @@@ FactorInteger[n] - n; Array[a, 100] (* Amiram Eldar, Aug 13 2023 *)
  • PARI
    A051377(n) = { my(f=factor(n)); prod(i=1, #f[, 1], sumdiv(f[i, 2], d, f[i, 1]^d)); }; \\ This function from Charles R Greathouse IV, Nov 22 2011
    A126164(n) = (A051377(n) - n); \\ Antti Karttunen, Oct 04 2017, after the given formula

Formula

a(n) = esigma(n) - n = A051377(n) - n.

A126165 Smaller member of each exponential amicable pair.

Original entry on oeis.org

90972, 454860, 937692, 1000692, 1182636, 1546524, 2092356, 2638188, 2820132, 3365964, 3729852, 3911796, 4275684, 4548600, 4688460, 4821516, 5003460, 5367348, 5549292, 5913180, 6095124, 6459012, 6640956, 7186788, 7550676, 7732620, 8096508, 8824284, 9188172, 9370116
Offset: 1

Views

Author

Ant King, Dec 21 2006

Keywords

Comments

This sequence includes the smallest member of all exponential amicable pairs and does not discriminate between primitive and nonprimitive pairs.

Examples

			a(3)=937692 because (937692,968436) is the third exponential amicable pair
		

Crossrefs

Programs

  • Mathematica
    fun[p_, e_] := DivisorSum[e, p^# &]; esigma[1] = 1; esigma[n_] := Times @@ fun @@@ FactorInteger[n]; s = {}; Do[m = esigma[n] - n; If[m > n && esigma[m] - m == n, AppendTo[s, n]], {n, 1, 10^7}]; s (* Amiram Eldar, May 09 2019 *)

Formula

The values of m for which esigma(m)=esigma(n)=m+n and mA051377.

Extensions

More terms from Amiram Eldar, May 09 2019

A127660 Integers whose exponential aliquot sequences end in an exponential amicable pair.

Original entry on oeis.org

90972, 100548, 454860, 502740, 937692, 968436, 1000692, 1106028, 1182636, 1307124, 1383732, 1536416, 1546524, 1709316, 2092356, 2312604, 2502528, 2638188, 2690100, 2820132, 2915892, 3116988, 3365964, 3720276, 3729852, 3907008, 3911796, 4122468, 4248552, 4275684
Offset: 1

Views

Author

Ant King, Jan 25 2007

Keywords

Comments

Sometimes called the exponential 2-cycle attractor set. The first 10 terms of this sequence are the same as the first 10 terms of A127659.

Examples

			a(11) = 1383732 because the eleventh integer whose exponential aliquot sequence ends in an exponential amicable pair is 1383732.
		

Crossrefs

Subsequences: A127659, A126165, A126166.

Programs

  • Mathematica
    ExponentialDivisors[1]={1};ExponentialDivisors[n_]:=Module[{}, {pr,pows}=Transpose@FactorInteger[n];divpowers=Distribute[Divisors[pows],List];Sort[Times@@(pr^Transpose[divpowers])]];se[n_]:=Plus@@ExponentialDivisors[n]-n;g[n_] := If[n > 0, se[n], 0];eTrajectory[n_] := Most[NestWhileList[g, n, UnsameQ, All]];ExponentialAmicableNumberQ[k_]:=If[Nest[se,k,2]==k && !se[k]==k,True,False];Select[Range[5 10^6],ExponentialAmicableNumberQ[Last[eTrajectory[ # ]]] &]
    f[p_, e_] := DivisorSum[e, p^# &]; s[0] = s[1] = 0; s[n_] := Times @@ f @@@ FactorInteger[n] - n; q[n_] := Module[{v = NestWhileList[s, n, UnsameQ, All]}, v[[-2]] != v[[-1]] > 0 && v[[-3]] == v[[-1]]]; Select[Range[10^6], q] (* Amiram Eldar, Mar 11 2023 *)

A127659 Exponential amicable numbers.

Original entry on oeis.org

90972, 100548, 454860, 502740, 937692, 968436, 1000692, 1106028, 1182636, 1307124, 1546524, 1709316, 2092356, 2312604, 2638188, 2820132, 2915892, 3116988, 3365964, 3720276, 3729852, 3911796, 4122468, 4275684, 4323564, 4548600, 4688460, 4725756, 4821516, 4842180
Offset: 1

Views

Author

Ant King, Jan 25 2007

Keywords

Comments

Union of A126165 and A126166. The first 10 terms of this sequence are the same as the first 10 terms of A127660.

Examples

			a(5)=937692 because the fifth non-e-perfect integer that satisfies A126164(A126164(n))=n is 937692.
		

References

  • Hagis, Peter Jr.; Some Results Concerning Exponential Divisors, Internat. J. Math. & Math. Sci., Vol. 11, No. 2, (1988), pp. 343-350.

Crossrefs

Programs

  • Mathematica
    ExponentialDivisors[1]={1};ExponentialDivisors[n_]:=Module[{}, {pr,pows}=Transpose@FactorInteger[n];divpowers=Distribute[Divisors[pows],List];Sort[Times@@(pr^Transpose[divpowers])]];se[n_]:=Plus@@ExponentialDivisors[n]-n;g[n_] := If[n > 0, se[n], 0];eTrajectory[n_] := Most[NestWhileList[g, n, UnsameQ, All]];ExponentialAmicableNumberQ[k_]:=If[Nest[se,k,2]==k && !se[k]==k,True,False];Select[Range[5 10^6],ExponentialAmicableNumberQ[ # ] &]
    fun[p_, e_] := DivisorSum[e, p^# &]; esigma[1] = 1; esigma[n_] := Times @@ fun @@@ FactorInteger[n]; s = {}; Do[m = esigma[n] - n; If[m != n && esigma[m] - m == n, AppendTo[s, n]], {n, 1, 10^6}]; s (* Amiram Eldar, May 09 2019 *)

Formula

Non-e-perfect numbers for which A126164(A126164(n))=n.

Extensions

Link corrected by Andrew Lelechenko, Dec 04 2011
More terms from Amiram Eldar, May 09 2019

A348344 Larger member of a noninfinitary amicable pair: numbers (k, m) such that nisigma(k) = m and nisigma(m) = k, where nisigma(k) is the sum of the noninfinitary divisors of k (A348271).

Original entry on oeis.org

448, 2032, 8128, 7168, 24384, 41984, 130048, 41940480, 102222432, 221316608, 34359738352
Offset: 1

Views

Author

Amiram Eldar, Oct 13 2021

Keywords

Comments

The terms are ordered according to their smaller counterparts (A348343).

Examples

			448 is a term since A348271(448) = 336 and A348271(336) = 448.
		

Crossrefs

Programs

  • Mathematica
    f[p_, e_] := Module[{b = IntegerDigits[e, 2], m}, m = Length[b]; Product[If[b[[j]] > 0, 1 + p^(2^(m - j)), 1], {j, 1, m}]]; isigma[1] = 1; isigma[n_] := Times @@ f @@@ FactorInteger[n]; s[n_] := DivisorSigma[1,n] - isigma[n]; seq={}; Do[m=s[n]; If[m>n && s[m]==n, AppendTo[seq, m]], {n,1,10^4}]; seq

A357496 Greater of a pair of amicable numbers k < m such that s(k) = m and s(m) = k, where s(k) = A162296(k) - k is the sum of aliquot divisors of k that have a square factor.

Original entry on oeis.org

1136, 11696, 22256, 25472, 43424, 73664, 131355, 304336, 267968, 492608, 612704, 674920, 640305, 788697, 691292, 705344, 723392, 813728, 809776, 1117395, 1258335, 1559696, 1518570, 1598368, 1821376, 2218250, 2058944, 2678752, 2744288, 2765024, 2848864, 2610656, 3134224
Offset: 1

Views

Author

Amiram Eldar, Oct 01 2022

Keywords

Comments

Analogous to amicable numbers (A002025 and A002046) with nonsquarefree divisors.
The terms are ordered according to their lesser counterparts (A357495).
Both members of each pair are necessarily nonsquarefree numbers.

Examples

			1136 is a term since s(1136) = 880 and s(880) = 1136.
		

Crossrefs

Programs

  • Mathematica
    s[n_] := Module[{f = FactorInteger[n], p, e}, p = f[[;; , 1]]; e = f[[;; , 2]]; Times @@ ((p^(e + 1) - 1)/(p - 1)) - Times @@ (p + 1) - n]; seq = {}; Do[m = s[n]; If[m > n && s[m] == n, AppendTo[seq, m]], {n, 2, 3*10^6}]; seq

A126167 Number of primitive exponential amicable pairs (i,j) with i

Original entry on oeis.org

0, 0, 0, 0, 1, 2, 3, 5, 8, 8, 12
Offset: 1

Views

Author

Ant King, Dec 21 2006

Keywords

Comments

There are infinitely many exponential amicable pairs, for multiplying an exponential amicable pair by a squarefree integer coprime to each of its members will generate another exponential amicable pair. Accordingly, we refer to pairs like (90972,100548) as primitive exponential amicable pairs and to pairs like (454860,502740) that can be obtained from them as nonprimitive. This sequence counts the primitive pairs only.

Examples

			a(7)=3 because there are 3 primitive exponential pairs (m,n) with m<n and m<=10^7
		

References

  • Hagis, Peter Jr.; Some Results Concerning Exponential Divisors, International Journal of Mathematics and Mathematical Sciences, Vol. 11, No. 2, (1988), pp. 343-350.

Crossrefs

Extensions

Link corrected and reference added by Andrew Lelechenko, Dec 04 2011

A333930 Larger of recursive amicable numbers pair: numbers m < k such that m = s(k) and k = s(m), where s(k) = A333926(k) - k is the sum of proper recursive divisors of k.

Original entry on oeis.org

284, 378, 2924, 4584, 5564, 16632, 16728, 28752, 30912, 53692, 76084, 69552, 87633, 124155, 139815, 179118, 168730, 225096, 202444, 256338, 245904, 266568, 365084, 389924, 320016, 430402, 391656, 353616, 387720, 393528, 486178, 525915, 555216, 642720, 814698, 682896
Offset: 1

Views

Author

Amiram Eldar, Apr 10 2020

Keywords

Comments

The terms are ordered according to their lesser counterparts (A333929).

Examples

			284 is a terms since A333926(284) - 284 = 220 and A333926(220) - 220 = 284.
		

Crossrefs

Analogous sequences: A002046, A002953 (unitary), A126166 (exponential), A126170 (infinitary), A292981 (bi-unitary).

Programs

  • Mathematica
    recDivQ[n_, 1] = True; recDivQ[n_, d_] := recDivQ[n, d] = Divisible[n, d] && AllTrue[FactorInteger[d], recDivQ[IntegerExponent[n, First[#]], Last[#]] &]; recDivs[n_] := Select[Divisors[n], recDivQ[n, #] &]; f[p_, e_] := 1 + Total[p^recDivs[e]]; recDivSum[1] = 1; recDivSum[n_] := Times @@ (f @@@ FactorInteger[n]); s[n_] := recDivSum[n] - n; seq = {}; Do[m = s[n]; If[m > n && s[m] == n, AppendTo[seq, m]], {n, 1, 10^5}]; seq

A371420 Greater member of Carmichael's variant of amicable pair: numbers k < m such that s(k) = m and s(m) = k, where s(k) = A371418(k).

Original entry on oeis.org

14, 62, 124, 189, 254, 508, 2032, 16382, 32764, 131056, 262142, 524284, 524224, 1048574, 2097148, 2097136, 8388592, 8388544, 33554368, 536866816, 2147479552, 4294967294, 8589934588, 34359738352, 34359672832, 137438953408
Offset: 1

Views

Author

Amiram Eldar, Mar 23 2024

Keywords

Comments

The terms are ordered according to their lesser counterparts (A371419).

Examples

			14 is a term since A371418(14) = 12 < 14, and A371418(12) = 14.
		

Crossrefs

Programs

  • Mathematica
    r[n_] := n/FactorInteger[n][[1, 1]]; s[n_] := r[DivisorSigma[1, n]]; seq = {}; Do[m = s[n]; If[m > n && s[m] == n, AppendTo[seq, m]], {n, 1, 10^6}]; seq
  • PARI
    f(n) = {my(s = sigma(n)); if(s == 1, 1, s/factor(s)[1, 1]);}
    lista(nmax) = {my(m); for(n = 1, nmax, m = f(n); if(m > n && f(m) == n, print1(m, ", ")));}

A323753 Lesser member of primitive exponential amicable pairs.

Original entry on oeis.org

90972, 937692, 4548600, 44030448, 46884600, 453842928, 712931184, 906494400, 20907057600, 34793179200, 47646797328, 53469838800, 240707724300
Offset: 1

Views

Author

Amiram Eldar, Jan 26 2019

Keywords

Comments

Exponential amicable pair (m,n) is primitive if there is no prime number that is a unitary divisor of both m and n. All the other amicable pairs can be generated from primitive pairs by multiplying them with a squarefree integer coprime to each of the members of the pair. Hagis found the first 6 terms in 1988. Pedersen found the next 7 terms in 1999.
a(14) <= 588330137304.
The larger counterparts are in A323754.

Examples

			(90972 = 2^2*3^2*7*19^2, 100548 = 2^2*3^3*7^2*19) are a primitive pair since they are an exponential amicable pair (A126165, A126166) and they do not have a common prime divisor with multiplicity 1 in both.
(454860, 502740) = 5 * (90972, 100548) are not a primitive pair since 5 divides both of them only once.
		

Crossrefs

Programs

  • Mathematica
    rad[n_] := Times @@ First /@ FactorInteger[n]; pf[n_] := Denominator[n/rad[n]^2]; esigma[n_] := Times @@ (Sum[First[#]^d, {d, Divisors[Last[#]]}] &) /@ FactorInteger[n]; es[n_] := esigma[n] - n; s = {}; Do[m = es[n]; If[m > n && es[m] == n && CoprimeQ[pf[n], pf[m]], AppendTo[s, n]], {n, 1, 10^7}]; s (* after Jean-François Alcover at A055231 and A051377 *)
Showing 1-10 of 12 results. Next