OFFSET
1,4
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..5000
W. E. Clark in reply to A. Hatzipolakis, A generalization, SeqFan list, Apr 24 2014
MAPLE
N:= 100: # for a(1)..a(N)
t:= 0: R:= NULL:
for n from 1 to N do
v:= select(s -> numtheory:-tau(s+n)>3, [$2..2*n-3]);
t:= t + add(floor((s-1)/2) - max(0, s-n) , s = v);
R:= R, t;
od:
R; # Robert Israel, Jan 04 2021
PROG
(PARI) a(n, m=3, d=3)={s=0; u=vector(m, n, 1)~; forvec(v=vector(m, i, [1, n]), numdiv(v*u)>d&&s++, 2); s}
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 25 2014
STATUS
approved