OFFSET
1,2
COMMENTS
Called "F-champion numbers" by Erdős and Nicolas (1989).
All the terms are squarefree numbers.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..3000
Paul Erdős and Jean-Louis Nicolas, Grandes valeurs de fonctions liées aux diviseurs premiers consécutifs d'un entier, in: Jean-Marie de Koninck and Claude Levesque (eds.), Théorie des nombres / Number Theory, Proceedings of the International Number Theory Conference held at Université Laval, July 5-18, 1987, De Gruyter, 1989; alternative link.
MATHEMATICA
f[n_] := Module[{p = FactorInteger[n][[;; , 1]]}, Total[1 - 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[3000]
PROG
(PARI) f(n) = {my(p = factor(n)[, 1]); sum(i = 1, #p-1, 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)); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Mar 03 2025
STATUS
approved
