A225527 Number of distinct products i*j over all pairs (i,j) with i,j>=0 and i+j <= n.
1, 1, 2, 3, 5, 6, 9, 11, 14, 17, 20, 22, 27, 30, 35, 40, 45, 49, 54, 59, 66, 72, 79, 84, 92, 98, 105, 112, 119, 125, 135, 142, 151, 159, 168, 177, 187, 195, 205, 214, 225, 233, 246, 255, 268, 279, 291, 302, 316, 329, 340, 352, 367, 377, 392
Offset: 0
Links
- Robert Price, Table of n, a(n) for n = 0..400
Programs
-
Mathematica
f[n_]:=Length[Complement[Union[Flatten[Table[If[i+j≤n,{i*j}],{i,0,n},{j,0,n}],1]],{Null}]]; Table[f[n],{n,0,100}]
Comments