login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100436 Number of distinct products i*j*k for 1 <= i < j <= k <= n. 5
0, 1, 4, 10, 20, 27, 46, 61, 84, 101, 147, 163, 226, 256, 292, 331, 434, 472, 601, 655, 719, 785, 968, 1016, 1143, 1233, 1346, 1433, 1713, 1778, 2099, 2219, 2363, 2509, 2677, 2763, 3202, 3381, 3573, 3690, 4223, 4360, 4951, 5149, 5347, 5598, 6298, 6449 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MAPLE
f:=proc(n) local i, j, k, t1; t1:={}; for i from 1 to n-1 do for j from i+1 to n do for k from j to n do t1:={op(t1), i*j*k}; od: od: od: t1:=convert(t1, list); nops(t1); end;
MATHEMATICA
f[n_] := Length[ Union[ Flatten[ Table[ i*j*k, {i, n}, {j, i + 1, n}, {k, j, n}]]]]; Table[ f[n], {n, 48}] (* Robert G. Wilson v, Dec 14 2004 *)
PROG
(Python)
def A100436(n): return len({i*j*k for i in range(1, n+1) for j in range(1, i+1) for k in range(1, j)}) # Chai Wah Wu, Oct 16 2023
CROSSREFS
Sequence in context: A015789 A145021 A135280 * A348011 A009882 A100439
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 21 2004
EXTENSIONS
More terms from Robert G. Wilson v, Dec 14 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)