OFFSET
0,1
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
a(n) = floor(9*n/5+32).
From Reinhard Zumkeller, May 03 2010: (Start)
(a(n) + A177154(n)/10 - 32)*5/9 = n;
G.f.: -(30*x^5-2*x^4-2*x^3-2*x^2-x-32) / ((x-1)^2*(x^4+x^3+x^2+x+1)). - Colin Barker, Mar 23 2013
EXAMPLE
a(5) = 41 (exactly), a(-40) = -40 (also exactly).
MATHEMATICA
Floor[9/5 Range[0, 100]] + 32 (* Paolo Xausa, Jan 29 2024 *)
PROG
(PARI) f(n) = for(c=0, n, print1(floor(9/5*c+32), ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Aug 12 2003
EXTENSIONS
Recomputation for insertion of missing a(26)=78 by Reinhard Zumkeller, May 03 2010
STATUS
approved