OFFSET
1,8
COMMENTS
New records appear to be in consecutive numerical order, suggesting every integer should be seen in this infinite sequence. Considering a(n)=0, empirically a power fit Y=k*x^c correlates well with the "x-th" occurrence. For example, the 491st 0 value is at n=99808.
LINKS
Bill McEachen, Table of n, a(n) for n = 1..10000
EXAMPLE
A082686(8)=51, with square root = 7.14... so the greatest prime < 7.14 is 7, while the greatest prime factor of 51 < 7.14 is 3. The prime count from 3 to 7 is 2, so a(8)=2.
A082686(999)=2883 with square root = 53.69... so the greatest prime < 53.69 is 53, while the greatest prime factor of 2883 < 53.69 is 31. The prime count from 31 to 53 is 5, so a(999)=5.
MATHEMATICA
nmax=85; q={}; m=15; Until[Length[q]==nmax, If[ !PrimeQ[m]&&EvenQ[DivisorSigma[0, m]], AppendTo[q, m]]; m=m+2]; Table[PrimePi[NextPrime[Sqrt[q[[n]]], -1]]-PrimePi[Select[First/@FactorInteger[q[[n]]], #<Sqrt[q[[n]]]&][[-1]] ], {n, nmax}] (* James C. McMahon, Dec 06 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Bill McEachen, Oct 15 2024
STATUS
approved