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.

A243289 n minus the index of the greatest prime dividing n-th squarefree number: a(n) = n - A243290(n).

Original entry on oeis.org

1, 1, 1, 1, 3, 2, 4, 3, 3, 6, 8, 5, 5, 10, 10, 7, 11, 8, 16, 9, 16, 15, 19, 12, 17, 20, 14, 24, 15, 21, 16, 25, 17, 29, 27, 26, 20, 20, 28, 34, 36, 23, 34, 40, 25, 25, 35, 43, 43, 28, 38, 29, 46, 40, 45, 32, 51, 47, 44, 52, 36, 36, 56, 37, 61, 50, 39, 39, 64, 58
Offset: 1

Views

Author

Antti Karttunen, Jun 03 2014

Keywords

Comments

If A005117(n) <= 2n, or equally, if A243351 is always positive, then this sequence is certainly positive as well.

Crossrefs

Programs

  • Mathematica
    With[{t = Table[PrimePi[FactorInteger[k][[-1, 1]]], {k, Select[Range[120], SquareFreeQ]}]}, Range[Length[t]] - t] (* Amiram Eldar, Mar 04 2024 *)

Formula

a(n) = n - A243290(n).