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.

A381640 Numbers k such that f(k) > f(m) for all m < k, where f(k) = A381638(k)/A381639(k).

Original entry on oeis.org

1, 6, 30, 105, 210, 2310, 15015, 30030, 255255, 510510, 1939938, 3233230, 4849845, 9699690, 111546435, 223092870, 3234846615, 6469693230
Offset: 1

Views

Author

Amiram Eldar, Mar 03 2025

Keywords

Comments

Called "f-champion numbers" by Erdős and Nicolas (1989).
All the terms are squarefree numbers.
The primorial numbers, A002110(k), are all terms for k large enough.

Crossrefs

Programs

  • Mathematica
    f[n_] := Module[{p = FactorInteger[n][[;; , 1]]}, Total[Most[p]/Rest[p]]]; seq[lim_] := Module[{fi, fmax = -1, s = {}}, Do[fi = f[i]; If[fi > fmax, fmax = fi; AppendTo[s, i]], {i, 1, lim}]; s]; seq[12000]
  • PARI
    f(n) = {my(p = factor(n)[,1]); sum(i = 1, #p-1, p[i]/p[i+1]);}
    list(lim) = {my(fm = -1, f1); for(k = 1, lim, f1 = f(k); if(f1 > fm, print1(k, ", "); fm = f1));}
Showing 1-1 of 1 results.