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.

A071387 Smallest number k for which the set of solutions to phi(x) = k has 2n-1 entries.

Original entry on oeis.org

0, 2, 8, 32, 40, 48, 396, 704, 72, 216, 144, 1056, 360, 384, 1320, 240, 9000, 7128, 480, 1296, 15936, 3072, 864, 7344, 720, 4992, 2016, 6000, 4752, 3024, 9984, 1920, 7560, 22848, 29160, 3360, 13248, 27720, 9072, 9360, 4032, 4800, 16896, 3840, 9504, 23520, 5040
Offset: 1

Views

Author

Labos Elemer, May 23 2002

Keywords

Examples

			For n = 7: 2n-1 = 13, a(7) = Min(InvPhi(13)) = Min({396,400,420,552,560,660}) = 396.
		

Crossrefs

Programs

  • PARI
    a(n) = {if (n==1, return (0)); my(k=1); while(#invphi(k) != 2*n-1, k++); k;} \\ Michel Marcus, May 13 2020

Formula

a(n) = Min({x; Card(InvPhi(x)) = 2n-1}); a(1)=0 because of Carmichael conjecture.

Extensions

a(12)-a(47) from Donovan Johnson, Jul 27 2011