OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,2,0,0,0,-1).
FORMULA
a(2n+1) = 4n+5, a(4n+2) = 4n+3, a(4n+4) = 4n+2. - Ralf Stephan, Jun 10 2005
G.f.: -x*(-5-3*x-9*x^2-2*x^3-3*x^4-x^5+x^6) / ( (x-1)^2*(1+x)^2*(x^2+1)^2 ). - R. J. Mathar, Sep 20 2011
MAPLE
B := (n, m) -> lcm(n, m)/n + lcm(n, m)/m - 1: seq(B(m+4, m), m=1..90);
MATHEMATICA
LinearRecurrence[{0, 0, 0, 2, 0, 0, 0, -1}, {5, 3, 9, 2, 13, 7, 17, 4}, 70] (* Harvey P. Dale, Aug 19 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Asher Auel, Dec 15 2000
STATUS
approved