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.

Showing 1-2 of 2 results.

A333101 Numbers k such that both k and k + 2 are noncototients (A005278).

Original entry on oeis.org

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
Offset: 1

Views

Author

Amiram Eldar, Mar 07 2020

Keywords

Examples

			50 is a term since both 50 and 52 are noncototients.
		

Crossrefs

Programs

  • 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 *)

A333102 Numbers k such that both k and k + 2 are both nontotients and noncototients (A058763).

Original entry on oeis.org

532, 722, 872, 962, 1394, 1586, 1682, 1922, 2072, 2116, 2262, 2314, 2316, 2534, 2822, 2946, 3026, 3052, 3112, 3172, 3174, 3176, 3426, 3474, 3486, 3626, 3686, 3892, 4082, 4146, 4184, 4234, 4292, 4526, 4528, 4578, 4610, 4628, 5066, 5250, 5252, 5546, 5962, 5964, 6104
Offset: 1

Views

Author

Amiram Eldar, Mar 07 2020

Keywords

Examples

			532 is a term since both 532 and 534 are both nontotients and noncototients.
		

Crossrefs

Intersection of A333100 and A333101.
Showing 1-2 of 2 results.