OFFSET
2,2
FORMULA
sum(sum(floor((n^3-1)/(ij))-j+1, j=i..floor(sqrt((n^3-1)/i))), i=2..n-1).
EXAMPLE
f(3)=7 because the only triples ijk < 27 are (2,2,2) (2,2,3) (2,2,4) (2,2,5) (2,2,6) (2,3,3) (2,3,4).
PROG
(PARI) a(n) = sum(i = 2, n-1, sum(j = i, floor(sqrt((n^3-1)/i)), floor((n^3-1)/(i*j))-j+1)); \\ Michel Marcus, Sep 02 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Joe K. Crump (joecr(AT)carolina.rr.com)
STATUS
approved