cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A109498 Number of closed walks of length 2n on the Heawood graph from a given node.

Original entry on oeis.org

1, 3, 15, 111, 951, 8463, 75975, 683391, 6149751, 55346223, 498112935, 4483010271, 40347080151, 363123696783, 3268113221895, 29413018898751, 264717169892151, 2382454528636143, 21442090756938855
Offset: 0

Views

Author

Mitch Harris, Jun 30 2005

Keywords

Programs

  • Magma
    I:=[1,3]; [n le 2 select I[n] else 11*Self(n-1) - 18*Self(n-2): n in [1..30]]; // G. C. Greubel, Dec 30 2017
  • Mathematica
    CoefficientList[Series[(1 - 8*x)/((9*x - 1)*(2*x - 1)), {x,0,50}], x] (* or *) LinearRecurrence[{11,-18}, {1,3}, 30] (* G. C. Greubel, Dec 30 2017 *)
  • PARI
    x='x+O('x^30); Vec((1 - 8*x)/((9*x - 1)*(2*x - 1))) \\ G. C. Greubel, Dec 30 2017
    

Formula

O.g.f.: ( 1-8*x ) / ( (9*x-1)*(2*x-1) ).
a(n) = (9^n + 6*2^n)/7.
a(n) = A106133(n) - 8*A016133(n-1).