OFFSET
0,2
COMMENTS
T(n,0) = T(n,n) = A027384(n). - Reinhard Zumkeller, May 02 2014
LINKS
Reinhard Zumkeller, Rows n = 0..125 of table, flattened
MATHEMATICA
t[m_, n_] := i*j /. {ToRules @ Reduce[ Min[m, n] <= i <= j <= Max[m, n], Integers]} // Union // Length; row[n_] := Table[ t[m, n-m], {m, 0, n} ]; Table[ row[n], {n, 0, 11}] // Flatten (* Jean-François Alcover, Apr 16 2013 *)
PROG
(Haskell)
import Data.List (nub)
a027420 n k = a027420_tabl !! n !! k
a027420_row n = a027420_tabl !! n
a027420_tabl = zipWith (zipWith z) a002262_tabl a025581_tabl
where z u v = length $ nub $ [i * j | i <- zs, j <- zs]
where zs = [min u v .. max u v]
-- Reinhard Zumkeller, May 02 2014
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
More terms from Olivier Gérard, Nov 15 1997
STATUS
approved