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.

A074868 Non-balanced numbers in A015765.

Original entry on oeis.org

295, 590, 767, 885, 1038, 1416, 1534, 1589, 1770, 2065, 2301, 2422, 3178, 3186, 3245, 3304, 3448, 3540, 4130, 4602, 4767, 5192, 5230, 5448, 5516, 5605, 6195, 6291, 6356, 6490, 6574, 6860, 7266, 7945, 7965, 8236, 8260, 8437, 8968, 9145, 9204, 9342
Offset: 1

Views

Author

Labos Elemer, Dec 05 2002

Keywords

Crossrefs

Programs

  • Mathematica
    q[n_] := Sign[Mod[DivisorSigma[{1, 7}, n], EulerPhi[n]]] == {1, 0}; Select[Range[10000], q] (* Amiram Eldar, Apr 11 2024 *)
  • PARI
    is(n) = {my(f = factor(n), phi = eulerphi(f)); (sigma(f) % phi) && !(sigma(f, 7) % phi);} \\ Amiram Eldar, Apr 11 2024

Formula

sigma_7(a(n)) mod phi(a(n)) = 0; sigma(a(n)) mod phi(a(n)) <> 0.