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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081348 First row in maze arrangement of natural numbers. 5
1, 6, 7, 20, 21, 42, 43, 72, 73, 110, 111, 156, 157, 210, 211, 272, 273, 342, 343, 420, 421, 506, 507, 600, 601, 702, 703, 812, 813, 930, 931, 1056, 1057, 1190, 1191, 1332, 1333, 1482, 1483, 1640, 1641, 1806, 1807, 1980, 1981, 2162, 2163, 2352, 2353, 2550 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = (2*n^2+4*n+3-(2*n+1)(-1)^n)/2.
a(2*n) = A054569(n).
a(2*n+1) = 2*A014105(n+1).
G.f.: (1+5*x-x^2+3*x^3)/((1-x)^3*(1+x)^2). - Colin Barker, Apr 17 2012
MATHEMATICA
CoefficientList[Series[(1 + 5 x - x^2 + 3 x^3) / ((1 - x)^3 (1 + x)^2), {x, 0, 60}], x] (* Vincenzo Librandi, Aug 08 2013 *)
PROG
(Magma) [(2*n^2+4*n+3-(2*n+1)*(-1)^n)/2: n in [0..50]]; // Vincenzo Librandi, Aug 08 2013
CROSSREFS
Sequence in context: A210605 A175262 A345911 * A002361 A041185 A042389
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 19 2003
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 December 7 11:26 EST 2023. Contains 367650 sequences. (Running on oeis4.)