|
|
A173035
|
|
Cat years in human years: a(0) = 0, a(1) = 15, a(2) = 24, a(n) = a(n-1) + 4 for n >= 3.
|
|
1
|
|
|
0, 15, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200, 204, 208, 212, 216, 220, 224, 228, 232, 236, 240
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
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
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|