login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027428 Number of distinct products ij with 1 <= i < j <= n. 6
0, 1, 3, 6, 10, 13, 19, 24, 31, 36, 46, 51, 63, 70, 78, 87, 103, 111, 129, 139, 150, 161, 183, 192, 210, 223, 239, 252, 280, 291, 321, 337, 354, 371, 390, 403, 439, 458, 478, 493, 533, 549, 591, 611, 631, 654, 700, 717, 752, 774, 800, 823, 875 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

FORMULA

a(n)=A027427(n)-1. - T. D. Noe, Jan 16 2007

MAPLE

f:=proc(n) local i, j, t1, t2; t1:={}; for i from 1 to n-1 do for j from i+1 to n do t1:={op(t1), i*j}; od: od: t1:=convert(t1, list); nops(t1); end;

MATHEMATICA

a[n_] := Table[i*j, {i, 1, n-1}, {j, i+1, n}] // Flatten // Union // Length; Table[ a[n] , {n, 1, 53}] (* _Jean-François Alcover, Jan 31 2013 *)

PROG

(Haskell)

import Data.List (nub)

a027428 n = length $ nub [i*j | j <- [2..n], i <- [1..j-1]]

-- Reinhard Zumkeller, Jan 01 2012

CROSSREFS

Cf. A027424, A027430.

Sequence in context: A049880 A189368 A128039 * A136850 A079248 A083505

Adjacent sequences:  A027425 A027426 A027427 * A027429 A027430 A027431

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 19 11:43 EDT 2013. Contains 226404 sequences.