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!)
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[(#1-2) (#1-1)+1]-2&)[Range[7]]] (* Peter J. C. Moses, Jul 11 2013 *)
Table[Range[n, n^2], {n, 0, 6}]//Flatten (* Harvey P. Dale, Apr 03 2021 *)
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
KEYWORD
nonn,tabf
AUTHOR
Antti Karttunen, Jul 03 2013
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 July 23 21:46 EDT 2024. Contains 374575 sequences. (Running on oeis4.)