OFFSET
1,1
LINKS
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (see invphi.gp there).
Andre Contiero, and Davi Lima, On the distribution of totients 2 mod. 4, arXiv:1803.01396 [math.NT], 4 Mar 2018.
André Contiero, and Davi Lima, 2-Adic Stratification of Totients, arXiv:2005.05475 [math.NT], 2020.
EXAMPLE
6 is a term since there are exactly 4 integers x for which phi(x)=6, namely 7, 9, 14, and 18.
PROG
(PARI) isok(m) = ((m%4)==2) && istotient(m) && (#invphi(m)==4);
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, May 13 2020
STATUS
approved
