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.

Previous Showing 11-13 of 13 results.

A091285 Numbers k such that sigma_3(k) is divisible by the square of phi(k).

Original entry on oeis.org

1, 2, 3, 6, 14, 42, 3810, 318990, 13243560, 1108809240, 1719507048, 25330080090, 271984504290
Offset: 1

Views

Author

Labos Elemer, Feb 03 2004

Keywords

Comments

The first 8 terms are solutions to: {sigma_{6j+3}(x)/phi(x)^2 is an integer, for j=1,...,300}. A proof is possible with knowledge of respective divisors of sigma_k(x) and phi(x).

Examples

			k = 14: phi(k)^2 = 36, sigma_3(k) = 3096 = 36*86.
		

Crossrefs

Programs

  • Mathematica
    Empirical test for very high powers of divisors is: t = {1, 2, 3, 6, 14, 42, 3810, 13243560} Table[{6*j+3, Union[Table[IntegerQ[DivisorSigma[6*j + 3, Part[t, k]]/EulerPhi[Part[t, k]]^2], {k, 1, 8}]]}, {j, 1, 300}]; output={exponent, True}.
  • PARI
    for(n = 1, 10^9, if(sigma(n, 3) % (eulerphi(n)^2) == 0, print1(n, ", "))) \\ Ryan Propper, Jan 18 2008

Extensions

a(10)-a(13) from Giovanni Resta, Feb 06 2014
Edited by M. F. Hasler, Aug 22 2017

A078538 Smallest k > 6 such that sigma_n(k)/phi(k) is an integer.

Original entry on oeis.org

12, 22, 12, 249, 12, 22, 12, 19689, 12, 22, 12, 249, 12, 22, 12
Offset: 1

Views

Author

Labos Elemer, Nov 29 2002

Keywords

Comments

For n = 16, 48, 64, and 80 the solutions are hard to find, exceed 10^6 or even 10^7.
If a(16) exists, it is greater than 2^32. Terms a(17) to a(47) are 12, 22, 12, 249, 12, 22, 12, 9897, 12, 22, 12, 249, 12, 22, 12, 2566, 12, 22, 12, 249, 12, 22, 12, 19689, 12, 22, 12, 249, 12, 22, 12. - T. D. Noe, Dec 08 2013

Examples

			These terms appear as 5th entries in A020492, A015759-A015774. k = {1, 2, 3, 6} are solutions to Min{k : Mod[sigma[n, k], phi[k]]=0}. First nontrivial solutions are larger: for odd n, k = 12 is solution; for even powers larger numbers arise like 22, 249, 9897, 19689, etc. Certain power-sums of divisors proved to be hard to find.
		

Crossrefs

Programs

  • Mathematica
    f[k_, x_] := DivisorSigma[k, x]/EulerPhi[x]; Table[k=7; While[!IntegerQ[f[n, k]], k++]; k, {n, 1, 15}] (* corrected by Jason Yuen, Jun 27 2025 *)
  • PARI
    ok(n,k)=my(f=factor(n), r=sigma(f,k)/eulerphi(f)); r>=7 && denominator(r)==1
    a(n)=my(k=7); while(!ok(k, n), k++); k \\ Charles R Greathouse IV, Nov 27 2013
    
  • Python
    from sympy import divisors, totient as phi
    def a(n):
        k, pk = 7, phi(7)
        while sum(pow(d, n, pk) for d in divisors(k, generator=True))%pk != 0:
            k += 1
            pk = phi(k)
        return k
    print([a(n) for n in range(1, 16)]) # Michael S. Branicky, Dec 22 2021

A078540 Least non-balanced x (i.e., not in A020492) such that sigma(p(n),x)/phi(x) is an integer, where p(n) = n-th prime.

Original entry on oeis.org

22, 38, 46, 295, 235, 749, 3687, 6128, 1415, 4254, 10451, 8351, 334, 4511, 3398, 1286, 148870, 11015, 35519, 10239, 14072, 76088, 5991, 718, 11654, 30761, 7431, 20993, 700654, 22169, 5095, 4198, 27415, 26744, 14318, 48368, 180878, 16991, 173123, 4166, 5033, 7246
Offset: 1

Views

Author

Labos Elemer, Dec 02 2002

Keywords

Examples

			n=6: prime(6)=13, cases of sigma(13,x)/phi(x) is an integer are listed in A015771: 1, 2, 3, 6, 12, etc.; the first term which is non-balanced, i.e., not in A020492, is a(6) = 749 = A020492(31); a(29) = 700854 and a(45) = 510759 are remarkably large.
		

Crossrefs

Programs

  • Mathematica
    Table[fl=1; Do[s1=DivisorSigma[1, n]/EulerPhi[n]; sk=DivisorSigma[Prime[k], n]/EulerPhi[n]; If[ !IntegerQ[s1]&&IntegerQ[sk]&&Equal[fl, 1], Print[{n, Prime[k]}]; fl=0], {n, 1, 1000000}], {k, 1, 100}]
  • PARI
    lista(nmax) = {my(ps = primes(nmax), pmax = ps[#ps], v = vector(pmax), c = 0, k = 2, f, e, p); while(c < nmax, f = factor(k); e = eulerphi(f); if(sigma(f) % e > 0, for(i = 1, nmax, p = ps[i]; if(!(sigma(f, p) % e) && v[p] == 0, c++; v[p] = k))); k++); for(i = 1, pmax, if(v[i] > 0, print1(v[i], ", ")));} \\ Amiram Eldar, Aug 29 2024

Formula

a(n) = min{x; A000203(x) mod A000005(x) = 0 but sigma(A000040(n), x) mod phi(x) is not 0}.

Extensions

a(18) corrected and more terms added by Amiram Eldar, Aug 29 2024
Previous Showing 11-13 of 13 results.