OFFSET
1,3
COMMENTS
Differs from A227912 because the inequalities are strict.
EXAMPLE
a(5)=5, the valid k such that frac(5/k) is an element of (1/4,3/4) are 2 and 3, 2+3=5.
PROG
(JavaScript)
for (i=1; i<50; i++) {
c=0;
for (j=1; j<=i; j++) {
v=Math.floor(i/j);
if (i/j-v>0.25 && i/j-v<0.75) c+=j;
}
document.write(c+", ");
;
}
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Oct 13 2013
STATUS
approved