OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Noncototient.
Wikipedia, Noncototient.
EXAMPLE
50 is a term since both 50 and 52 are noncototients.
MATHEMATICA
nmax = 3000; cototientQ[n_?EvenQ] := (x = n; While[test = x - EulerPhi[x] == n ; Not[test || x > 2*nmax], x++]; test); cototientQ[n_?OddQ] = True; nonc = Select[Range[nmax], !cototientQ[#]&]; nonc[[Flatten[Position[Differences[nonc], 2]]]] (* after Jean-François Alcover at A005278 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 07 2020
STATUS
approved