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.

Previous Showing 21-30 of 30 results.

A386572 Numbers that are not of the form k - Omega(k), where Omega(k) is the number of prime factors of k counted with multiplicity.

Original entry on oeis.org

3, 11, 14, 21, 26, 29, 34, 35, 38, 45, 48, 51, 54, 57, 59, 61, 62, 64, 68, 69, 71, 74, 76, 79, 81, 87, 94, 97, 98, 101, 105, 110, 118, 123, 124, 125, 129, 133, 134, 137, 142, 147, 149, 155, 158, 160, 165, 170, 173, 174, 177, 182, 184, 186, 188, 189, 191, 193, 197
Offset: 1

Views

Author

Amiram Eldar, Jul 26 2025

Keywords

Comments

Luca (2005) proved that this sequence is infinite, and Kátai (2006) proved that it has a positive lower density.

Crossrefs

Numbers not of the form k-f(k): A005278 (phi), A045765 (d), A386571 (omega), this sequence (Omega).

Programs

  • Mathematica
    seq[lim_] := Complement[Range[lim], Table[k - PrimeOmega[k], {k, 1, lim + Log2[lim]}]]; seq[200]
  • PARI
    list(lim) = setminus(vector(lim, i, i), Set(vector(lim + logint(lim, 2), i, i - bigomega(i))));

A053196 Cototients of even numbers.

Original entry on oeis.org

1, 2, 4, 4, 6, 8, 8, 8, 12, 12, 12, 16, 14, 16, 22, 16, 18, 24, 20, 24, 30, 24, 24, 32, 30, 28, 36, 32, 30, 44, 32, 32, 46, 36, 46, 48, 38, 40, 54, 48, 42, 60, 44, 48, 66, 48, 48, 64, 56, 60, 70, 56, 54, 72, 70, 64, 78, 60, 60, 88, 62, 64, 90, 64, 82, 92, 68, 72, 94, 92, 72, 96
Offset: 1

Views

Author

Labos Elemer, Mar 02 2000

Keywords

Comments

Not all even numbers arise as cototient values: see A005278.

Crossrefs

Programs

Formula

a(n) = 2n - phi(2n) = A051953(2n).
Sum_{k=1..n} a(k) ~ c * n^2 / 2, where c = 2 - 8/Pi^2 = 1.1894305... . - Amiram Eldar, Dec 21 2023

A058825 Numbers which are both totients and cototients.

Original entry on oeis.org

1, 2, 4, 6, 8, 12, 16, 18, 20, 22, 24, 28, 30, 32, 36, 40, 42, 44, 46, 48, 54, 56, 60, 64, 66, 70, 72, 78, 80, 82, 84, 88, 92, 96, 102, 104, 106, 108, 110, 112, 120, 126, 128, 132, 136, 138, 140, 144, 148, 150, 156, 160, 162, 164, 166, 168, 176, 178, 180, 184, 190
Offset: 1

Views

Author

Labos Elemer, Jan 04 2001

Keywords

Examples

			24 is here because 24 = phi(72) = 44-phi(44) = 44-20 = cototient(44).
		

Crossrefs

Formula

Intersection(A002202, A051953).

Extensions

Offset corrected by Donovan Johnson, Nov 17 2013

A058826 Even cototient numbers which are nontotients.

Original entry on oeis.org

14, 38, 62, 68, 74, 76, 90, 94, 98, 114, 118, 124, 142, 152, 158, 174, 182, 188, 194, 214, 230, 234, 236, 242, 246, 248, 254, 258, 278, 284, 286, 302, 304, 308, 314, 318, 322, 334, 338, 350, 354, 364, 370, 374, 376, 390, 398, 402, 406, 410, 414, 422, 426
Offset: 1

Views

Author

Labos Elemer, Jan 04 2001

Keywords

Examples

			14 is a nontotient number but it is cototient of 26: 14 = 26 - phi(26).
		

Crossrefs

Formula

Intersection(A058817, A005277).

A058827 Totients which are not cototients.

Original entry on oeis.org

10, 52, 58, 100, 116, 130, 172, 222, 232, 260, 268, 292, 310, 344, 346, 366, 372, 466, 490, 520, 536, 546, 562, 580, 584, 652, 688, 732, 772, 786, 808, 906, 932, 940, 980, 1018, 1038, 1068, 1072, 1108, 1160, 1168, 1192, 1210, 1300, 1332, 1360, 1372, 1376
Offset: 1

Views

Author

Labos Elemer, Jan 04 2001

Keywords

Examples

			10, the smallest noncototient number, is the totient of 11.
		

Crossrefs

Formula

Intersection(noncototients=A005278, A002202=totients).

Extensions

More terms from Don Reble, Nov 28 2001
Offset corrected by Donovan Johnson, Nov 17 2013

A263958 Prime Riesel numbers p that are not Mersenne primes such that 2*p is a noncototient.

Original entry on oeis.org

509203, 2554843, 9203917, 9545351, 10645867, 11942443, 14608183, 15627133, 15811777, 16413457, 21013423, 21465637, 25792993, 30622663, 30932729, 32126257, 37996753, 40672237, 41641181, 43099781, 43773809, 47775613, 48400783, 52518187, 52992283
Offset: 1

Views

Author

Arkadiusz Wesolowski, Oct 30 2015

Keywords

Comments

Each of the numbers 2^k*a(n), where k >= 1, is a noncototient.

Crossrefs

A063830 a(n+1) is the smallest odd m whose cototient equals a(n).

Original entry on oeis.org

1, 3, 9, 21, 45, 117, 297, 585, 1521, 3105, 6993, 14553, 43653, 90885, 185925, 397125, 847125, 1813125, 3238725, 7556829, 17253789, 36910365, 94571997, 220301277, 475043037, 47979336637, 183450404605, 525019294077
Offset: 1

Views

Author

Labos Elemer, Aug 21 2001

Keywords

Examples

			a(5)=45, cototient(45) = 45 - Phi(45) = 45 - 24 = 21 = a(4). This iteration with even numbers might stop, like {1,2,4,6,10} does if the last computed number has no inverse cototient, like 10 which is a non-cototient number.
		

Crossrefs

Formula

a(n) = Min{x, odd : A051953[ a(n-1) ]=a(n)}; a(1)=1; a(2)=3, least odd prime; a(n) = Min[ Select[ Range[ a, b ], Equal[ #-EulerPhi[ # ], a(n-1) ]& ] ].

Extensions

More terms from David Wasserman, Jul 23 2002
a(26)-a(28) from Donovan Johnson, Feb 06 2010

A276674 Numbers n such that x - lambda(x) = n has no solution, where lambda(x) = A002322(x).

Original entry on oeis.org

21, 28, 45, 46, 51, 64, 65, 77, 82, 85, 91, 106, 111, 126, 129, 133, 136, 148, 155, 166, 172, 175, 185, 189, 205, 208, 209, 217, 221, 225, 231, 232, 235, 237, 244, 247, 267, 273, 274, 276, 286, 291, 298, 305, 316, 319, 326, 333, 339, 341, 358, 362, 364, 365, 371
Offset: 1

Views

Author

Thomas Ordowski, Oct 03 2016

Keywords

Comments

Problem: are there infinitely many such numbers?
Note that all these numbers are composite, because p - lambda(p) = 1 and p^2 - lambda(p^2) = p prime.
If x - lambda(x) = n > 1, then x <= n^2.
Conjecture: if x - lambda(x) = 2*m > 0, then x <= 4*m.
Noncototients among these numbers are 172, 232, 244, 274, 298, 326, 362, ...

Crossrefs

Cf. A002322, A005278 (see links). Complement of A277127.

Programs

Extensions

More terms from Michel Marcus, Oct 03 2016

A290242 The number of noncototient numbers <= 10^n.

Original entry on oeis.org

1, 8, 98, 963, 10527, 110786, 1128160, 11355049, 113482572, 1129598504
Offset: 1

Views

Author

Amiram Eldar, Jul 24 2017

Keywords

Comments

a(5)-a(8) were taken from the paper by Pomerance and Yang.
a(9)-a(10) were taken from the paper Pollack and Pomerance.

Crossrefs

Cf. 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.
Previous Showing 21-30 of 30 results.