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-2 of 2 results.

A239205 Numbers k such that sigma(k) divides the sum of the numbers x coprime to k, with x <= k.

Original entry on oeis.org

28, 140, 190, 248, 420, 477, 496, 672, 840, 910, 1428, 1488, 1547, 1638, 1848, 1892, 2295, 2398, 2480, 2660, 3417, 3472, 3515, 3640, 3720, 4064, 4095, 4590, 4641, 4655, 4845, 5456, 5655, 5995, 6200, 6678, 6888, 6944, 7030, 7440, 8008, 8128, 8190, 9214, 9282
Offset: 1

Views

Author

Paolo P. Lava, Mar 12 2014

Keywords

Comments

Numbers k such that sigma(k) | k*phi(k)/2.

Examples

			28 is a term since 28*phi(28)/2 = 168, sigma(28) = 56 and 168 / 56 = 3.
		

Crossrefs

Programs

  • Maple
    with(numtheory); P:=proc(q) local a,n;
    for n from 1 to q do a:=n*phi(n)/2; if type(a/sigma(n),integer) then print(n);
    fi; od; end: P(10^6);
  • Mathematica
    Select[Range[10^4], Divisible[# * EulerPhi[#]/2, DivisorSigma[1, #]] &] (* Amiram Eldar, Mar 03 2020 *)

A239208 Numbers n such that sigma(n) divides the sum of the numbers x not coprime to n, with x<=n.

Original entry on oeis.org

18, 135, 891, 4095, 10560, 13120, 14144, 21600, 23199, 74655, 144495, 192311, 404415, 4197375, 4612608, 5675775, 6664680, 9180800, 10953215, 11110400, 14381055, 18162144, 18420480, 18920000, 20765024, 25159680, 32058351, 41055200, 55889920, 65327104, 65982464
Offset: 1

Views

Author

Paolo P. Lava, Mar 12 2014

Keywords

Comments

Numbers n such that sigma(n) | n/2(n+1-phi(n)).

Examples

			18/2*(19-phi(18)) = 117, sigma(18) = 39 and 117 / 39 = 3.
		

Crossrefs

Programs

  • Maple
    with(numtheory); P:=proc(q) local a,n;
    for n from 1 to q do a:=n/2*(n+1-phi(n)); if type(a/sigma(n),integer) then print(n);
    fi; od; end: P(10^6);

Extensions

a(14)-a(31) from Giovanni Resta, Mar 12 2014
Showing 1-2 of 2 results.