The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A162485 a(1)=4, a(2)=6; for n > 2, a(n) = 2*a(n-1) + a(n-2) - 4*((n-1) mod 2). 0
4, 6, 16, 34, 84, 198, 480, 1154, 2788, 6726, 16240, 39202, 94644, 228486, 551616, 1331714, 3215044, 7761798, 18738640, 45239074, 109216788, 263672646, 636562080, 1536796802, 3710155684 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) is the number of perfect matchings of an edge-labeled 2 X n Klein bottle grid graph, or equivalently the number of domino tilings of a 2 X n Klein bottle grid. (The twist is on the length-2 side.)
LINKS
Sarah-Marie Belcastro, Domino Tilings of 2 X n Grids (or Perfect Matchings of Grid Graphs) on Surfaces, J. Integer Seq. 26 (2023), Article 23.5.6.
FORMULA
For n > 1, a(n) = (1/2)*((1 + sqrt(2))^n*(2 + (-1 + sqrt(2))^(2*floor((1/2)*(-1 + n)))*(-4 + 3*sqrt(2))) + (1 - sqrt(2))^n*(2 - (-1 - sqrt(2))^(2*floor((1/2)*(-1 + n)))*(4 + 3*sqrt(2)))).
From Colin Barker, May 01 2012: (Start)
a(n) = 1 - (-1)^n + (1-sqrt(2))^n + (1+sqrt(2))^n.
G.f.: 2*x*(2-x-2*x^2-x^3)/(1-x)/(1+x)/(1-2*x-x^2). (End)
a(n) = A002203(n) + 1 - (-1)^n. - R. J. Mathar, Oct 08 2016
EXAMPLE
a(3) = 2*a(2) + a(1) - 4*(2 mod 2) = 2*6 + 4 - 0 = 16.
CROSSREFS
Sequence in context: A183370 A113883 A036748 * A188466 A076066 A227178
KEYWORD
easy,nonn
AUTHOR
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 May 13 13:31 EDT 2024. Contains 372519 sequences. (Running on oeis4.)