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.

A078150 Smallest k such that d(phi(k)) - phi(d(k)) = n, where d(k) = A000005(k) and phi(k) = A000010(k).

Original entry on oeis.org

3, 5, 7, 17, 13, 35, 31, 37, 113, 77, 61, 221, 185, 143, 211, 209, 181, 287, 241, 577, 1729, 403, 421, 1297, 1057, 1001, 2113, 779, 1009, 899, 1321, 1917, 5629, 1333, 1801, 2233, 7125, 1763, 2161, 2993, 4433, 4851, 3737, 3311, 51319, 2623, 2521
Offset: 1

Views

Author

Labos Elemer, Nov 26 2002

Keywords

Crossrefs

Least inverse of A385122.

Programs

  • Mathematica
    f[x_] := DivisorSigma[0, EulerPhi[x]]-EulerPhi[DivisorSigma[0, x]] t=Table[0, {100}]; Do[s=f[n]; If[s<101&&t[[s]]==0, t[[s]]=n], {n, 1, 100000}]; t
  • PARI
    a(n) = my(k=1); while (numdiv(eulerphi(k)) - eulerphi(numdiv(k)) != n, k++); k; \\ Michel Marcus, Jun 19 2025

A078151 Smallest k such that d(phi(k)) - phi(d(k)) = -n, where d(k) = A000005(k) and phi(k) = A000010(k).

Original entry on oeis.org

240, 120, 960, 6528, 4080, 1920, 15360, 24960, 61440, 13440, 16320, 87360, 983040, 196560, 1432080, 130560, 861840, 32640, 98280, 114240, 2545920, 293760, 261120, 967680, 174720, 2673216, 4194240, 1081080, 1044480, 913920, 1659840, 424320
Offset: 1

Views

Author

Labos Elemer, Nov 26 2002

Keywords

Examples

			a(77)=2970240, since d(phi(2970240)) - phi(d(2970240)) = -77 first appears here; while d(phi(x)) - phi(d(x)) takes large positive values,absolute value of negative differences grows significantly slower.
		

Crossrefs

Least inverse of -A385122.
Showing 1-2 of 2 results.