

A227181


Irregular table: integers from n to n^2 followed by integers from (n+1) to (n+1)^2.


4



0, 1, 2, 3, 4, 3, 4, 5, 6, 7, 8, 9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,3


LINKS

Antti Karttunen, Rows 0..31, flattened


FORMULA

a(n) = A227177(n)+ A227179(n). [As a sequence].


EXAMPLE

Row n is A002061(n) terms long, and contains successive integers from n to n*n:
0;
1;
2, 3, 4;
3, 4, 5, 6, 7, 8, 9;
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16;
...


MATHEMATICA

Flatten[(#+Range[(#12) (#11)+1]2&)[Range[7]]] (* Peter J. C. Moses, Jul 11 2013 *)


PROG

(Scheme): (define (A227181 n) (+ (A227177 n) (A227179 n)))


CROSSREFS

Right edge: A000290. Central diagonal: A000217. Cf. also A227147.
Sequence in context: A322290 A030323 A285872 * A268233 A309241 A065651
Adjacent sequences: A227178 A227179 A227180 * A227182 A227183 A227184


KEYWORD

nonn,tabf


AUTHOR

Antti Karttunen, Jul 03 2013


STATUS

approved



