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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093995 n^2 repeated n times, triangle read by rows. 7
1, 4, 4, 9, 9, 9, 16, 16, 16, 16, 25, 25, 25, 25, 25, 36, 36, 36, 36, 36, 36, 49, 49, 49, 49, 49, 49, 49, 64, 64, 64, 64, 64, 64, 64, 64, 81, 81, 81, 81, 81, 81, 81, 81, 81, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 121, 121, 121, 121, 121, 121, 121, 121, 121 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Row sums give A000578; triangle sums give A000537.

LINKS

Reinhard Zumkeller, Rows n = 1..120 of triangle, flattened

FORMULA

T(n, k) = n^2, 1<=k<=n.

a(n) = floor(sqrt(2*n - 1) + 1/2)^2. - Ridouane Oudra, Jun 18 2019

EXAMPLE

First few rows of the triangle are:

1;

4, 4;

9, 9, 9;

16, 16, 16, 16;

...

MAPLE

seq(seq(n^2, i=1..n), n=1..20); # Ridouane Oudra, Jun 18 2019

MATHEMATICA

Flatten[Table[Table[n^2, {n}], {n, 11}]]  (* Harvey P. Dale, Feb 18 2011 *)

PROG

(Haskell)

a093995 n k = a093995_tabl !! (n-1) !! (k-1)

a093995_row n = a093995_tabl !! (n-1)

a093995_tabl = zipWith replicate [1..] $ tail a000290_list

a093995_list = concat a093995_tabl

-- Reinhard Zumkeller, Nov 11 2012, Mar 18 2011, Oct 17 2010

CROSSREFS

Cf. A000290, A127733.

Cf. A199332.

Sequence in context: A175051 A011364 A016713 * A168038 A168280 A162564

Adjacent sequences:  A093992 A093993 A093994 * A093996 A093997 A093998

KEYWORD

nonn,tabl

AUTHOR

Reinhard Zumkeller, May 24 2004

EXTENSIONS

Edited by N. J. A. Sloane, Jul 03 2008 at the suggestion of R. J. Mathar

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 18:52 EDT 2019. Contains 327245 sequences. (Running on oeis4.)