login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A333101 Numbers k such that both k and k + 2 are noncototients (A005278). 2
50, 170, 266, 290, 344, 518, 532, 534, 650, 686, 722, 730, 872, 962, 1036, 1158, 1166, 1332, 1394, 1462, 1464, 1586, 1634, 1682, 1804, 1864, 1922, 1946, 1970, 2034, 2072, 2074, 2116, 2134, 2262, 2314, 2316, 2318, 2330, 2420, 2534, 2598, 2666, 2668, 2772, 2822 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A085445 A048511 A206128 * A206121 A349808 A244696
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 07 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 02:51 EDT 2024. Contains 375995 sequences. (Running on oeis4.)