OFFSET
1,1
COMMENTS
The first ten terms are the same as A090481 and A189828, then a(11) = 109 while A090481(11) = 179 and A189828(11) = 161.
The first eleven terms are the same as A335325, then a(12) = 161, which is nonprime, while A335325(12) = 181.
The corresponding records obtained are 2, 4, 8, 10, 16, 18, 24, 32, 40, 60, 64, 70, 80, 96, ...
LINKS
Diophante, A1885, Cachés derrière leurs diviseurs (in French).
Adrian Dudek, On the Number of Divisors of n^2-1, arXiv:1507.08893 [math.NT], 2015.
EXAMPLE
tau(71^2-1) = 60 and there is no integer k < 71 such that tau(k^2-1) >= 60, hence 71 is a term and a(10) = 71.
MATHEMATICA
s[n_] := DivisorSigma[0, n^2 - 1]; sm = 0; seq = {}; Do[If[(sn = s[n]) > sm, sm = sn; AppendTo[seq, n]], {n, 2, 10^6}]; seq (* Amiram Eldar, Sep 16 2021 *)
DeleteDuplicates[Table[{k, DivisorSigma[0, k^2-1]}, {k, 2, 4060000}], GreaterEqual[#1[[2]], #2[[2]]]&] [[;; , 1]] (* Harvey P. Dale, Dec 04 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Bernard Schott, Sep 16 2021
STATUS
approved