OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Franny Syufy, Cats Age Conversion Chart
Franny Syufy, How To Convert Cat's Age to Human Years
Franny Syufy, How To Convert Cat's Age to Human Years
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
From G. C. Greubel, Feb 20 2021: (Start)
a(n) = 4*(n+4) -16*[n=0] -5*[n=1].
G.f.: x*(15 -6*x -5*x^2)/(1-x)^2.
E.g.f.: 4*(4+x)*exp(x) -16 - 5*x. (End)
MAPLE
0, 15, seq(4*(n+4), n=2..60); # G. C. Greubel, Feb 20 2021
MATHEMATICA
Join[{0, 15}, NestList[#+4&, 24, 60]] (* Harvey P. Dale, Nov 24 2013 *)
PROG
(Sage) [0, 15]+[4*(n+4) for n in (2..60)] # G. C. Greubel, Feb 20 2021
(Magma) [0, 15] cat [4*(n+4): n in [2..60]]; // G. C. Greubel, Feb 20 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Grace Wang (grace_c_wang(AT)yahoo.com), Feb 07 2010
EXTENSIONS
Links provided by M. F. Hasler, Feb 09 2010
STATUS
approved