OFFSET
1,14
EXAMPLE
a(15) = 3 because the largest Ramanujan's largely composite number below 15 is 12, and 15-12=3.
MATHEMATICA
dmax = 0; nmax = 1; seq = {}; Do[If[(d = DivisorSigma[0, n]) >= dmax, dmax = d; nmax = n]; AppendTo[seq, n- nmax], {n, 1, 102}]; seq (* James C. McMahon, Jan 28 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhicheng Wei, Jan 15 2024
STATUS
approved