A085268 Integer part of the conversion from Fahrenheit to Celsius.
0, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 30, 30, 31, 31, 32, 32, 33, 33, 34, 35, 35, 36, 36, 37, 37, 38, 38, 39, 40, 40, 41
Offset: 32
Links
- Ray Chandler, Table of n, a(n) for n = 32..1000
- Index entries for linear recurrences with constant coefficients, signature (1, 0, 0, 0, 0, 0, 0, 0, 1, -1).
Programs
-
Mathematica
Floor[5/9 (#-32)]&/@Range[32,110] (* Harvey P. Dale, Jan 03 2013 *)
-
PARI
g(n) = for(x=32,n,print1(floor(5/9*(x-32)),","))
Formula
f(n) = floor((5/9)*(n-32)).
G.f.: x^34*(x^7+x^6+x^4+x^2+1) / ((x-1)^2*(x^2+x+1)*(x^6+x^3+1)). - Colin Barker, Mar 23 2013
Extensions
Corrected by T. D. Noe, Nov 02 2006
Formula corrected by Harvey P. Dale, Jan 03 2013