OFFSET
2,2
REFERENCES
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, 1964 (and various reprintings), p. 840.
J. W. L. Glaisher, Number-Divisor Tables. British Assoc. Math. Tables, Vol. 8, Camb. Univ. Press, 1940, p. 64.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 2..10000
M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].
R. D. Carmichael, A table of the values of m corresponding to given values of phi(m), Amer. J. Math., 30 (1908),394-400. [Annotated scanned copy]
K. W. Wegner, Values of phi(x) = n for n from 2 through 1978, mimeographed manuscript, no date [Annotated scanned copy]
FORMULA
a(n) = A002202(n)/2 for n > 1.
MAPLE
with(numtheory); t1 := [seq(nops(invphi(n)), n=1..300)]; t2 := []: for n from 2 to 300 do if t1[n] <> 0 then t2 := [op(t2), n/2]; fi; od: t2;
MATHEMATICA
phiQ[m_] := Select[Range[m+1, 2 m*Product[(1-1/(k*Log[k]))^(-1), {k, 2, DivisorSigma[0, m]}]], EulerPhi[#] == m &, 1] != {}; Select[Range[2, 200], phiQ]/2 (* Jean-François Alcover, Jun 13 2012, after Maxim Rytin *)
PROG
(Haskell)
a002180 = flip div 2 . a002202 -- Reinhard Zumkeller, Nov 22 2015
(PARI) list(lim)=my(v=List()); for(n=1, lim, if(istotient(2*n), listput(v, n))); Vec(v) \\ Charles R Greathouse IV, Feb 08 2017
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
EXTENSIONS
More terms from Barbara Haas Margolius (margolius(AT)math.csuohio.edu), Feb 12 2001
STATUS
approved