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.

A070161 Nonprime numbers n such that q=phi(n)/(sigma(n)-n-1) is an integer and n is not a prime square.

Original entry on oeis.org

15, 35, 95, 119, 143, 209, 287, 319, 323, 377, 527, 559, 779, 899, 903, 923, 989, 1007, 1189, 1199, 1343, 1349, 1763, 1919, 2159, 2507, 2759, 2911, 3239, 3599, 3827, 4031, 4607, 5183, 5207, 5249, 5459, 5543, 6439, 6887, 7067, 7279, 7739, 8159, 8639, 9179
Offset: 1

Views

Author

Labos Elemer, Apr 26 2002

Keywords

Examples

			n=35: phi(35)=24, sigma(35)=1+5+7+35=48, chowla(35)=12, quotient=2
		

Crossrefs

Programs

  • Mathematica
    Do[s=EulerPhi[n]/(DivisorSigma[1, n]-n-1); If[ !PrimeQ[n]&&!PrimeQ[Sqrt[n]]&&IntegerQ[s], Print[n]], {n, 2, 100000}]

Formula

q=A000010(n)/A048050(n) and n is not in A001248.