OFFSET
2,3
COMMENTS
First differs from A000523 at index 48.
REFERENCES
Paul Erdős, Some problems in number theory. Octogon Math. Mag. (1995), 3-5.
LINKS
Thomas Bloom, Problem #648, Erdős Problems.
Stijn Cambie, On Erdős problem #648, arXiv:2503.22691 [math.NT], 2025.
FORMULA
a(n) = Theta(sqrt(n / log n)) (Cambie).
EXAMPLE
a(8)=3 because 5,6,8 is increasing, but the greatest prime factors 5,3,2 are decreasing. - Michael B. Porter, Dec 23 2025
MATHEMATICA
gpfs[n_]:=FactorInteger[#][[-1, 1]]&/@Range[n];
a[n_]:=Length[LongestCommonSequence[gpfs[n], Reverse[Prime@Range[PrimePi[n]]]]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Elijah Beregovsky, Dec 18 2025
STATUS
approved
