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.

A234958 Number of composite k-Lehmer numbers up to 10^n.

Original entry on oeis.org

0, 4, 19, 103, 422, 1559, 5645, 19329, 64040, 207637, 663845, 2103055
Offset: 1

Views

Author

Giovanni Resta, Jan 01 2014

Keywords

Comments

A number n is a k-Lehmer number if there exist a k such that phi(n) divides (n-1)^k.
The values of a(10) and a(11) computed by N. McNew in the linked paper are smaller than mine. I provide a link to my full list so that it could be independently checked.

Examples

			There are 4 k-Lehmer numbers up to 10^2, namely 15, 51, 85, and 91, so a(2) = 4.
		

Crossrefs

Programs

  • Mathematica
    kLQ[n_] := n > 1 && ! PrimeQ[n] && Mod[n-1, Times @@ First /@ FactorInteger@ EulerPhi@n] == 0; Table[Length@ Select[Range[2, 10^k], kLQ], {k, 6}]