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-1 of 1 results.

A386571 Numbers that are not of the form k - omega(k), where omega(k) is the number of distinct primes dividing k.

Original entry on oeis.org

5, 9, 11, 14, 17, 21, 23, 25, 29, 35, 41, 45, 47, 51, 59, 62, 64, 65, 68, 69, 71, 76, 77, 79, 95, 101, 103, 105, 118, 119, 125, 128, 149, 152, 154, 155, 161, 163, 184, 188, 189, 191, 193, 197, 202, 208, 209, 218, 220, 221, 229, 236, 239, 241, 244, 253, 254, 258
Offset: 1

Views

Author

Amiram Eldar, Jul 26 2025

Keywords

Comments

Luca (2005) proved that this sequence is infinite.

Crossrefs

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

Programs

  • Mathematica
    seq[lim_] := Complement[Range[lim], Table[k - PrimeNu[k], {k, 1, lim + Log2[lim]}]]; seq[300]
  • PARI
    list(lim) = setminus(vector(lim, i, i), Set(vector(lim + logint(lim, 2), i, i - omega(i))));
Showing 1-1 of 1 results.