OFFSET
0,2
LINKS
John M. Campbell, An Integral Representation of Kekulé Numbers, and Double Integrals Related to Smarandache Sequences, arXiv preprint arXiv:1105.3399 [math.GM], 2011.
Index entries for linear recurrences with constant coefficients, signature (0,2,0,-1)
FORMULA
MAPLE
A026741 := proc(n) if type(n, 'odd') then n; else n/2 ; fi; end:
MATHEMATICA
LinearRecurrence[{0, 2, 0, -1}, {1, 5, 4, 11}, 66] (* Jean-François Alcover, Nov 15 2017 *)
PROG
(PARI) a(n) = (3*n+2)>>!(n%2); \\ Ruud H.G. van Tol, Oct 09 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Sep 17 2009
EXTENSIONS
All comments rewritten as formulas by R. J. Mathar, Nov 22 2009
STATUS
approved