login
Integer part of the conversion from Celsius to Fahrenheit.
5

%I #23 Jan 29 2024 04:10:04

%S 32,33,35,37,39,41,42,44,46,48,50,51,53,55,57,59,60,62,64,66,68,69,71,

%T 73,75,77,78,80,82,84,86,87,89,91,93,95,96,98,100,102,104,105,107,109,

%U 111,113,114,116,118,120,122,123,125,127,129,131,132,134,136,138,140

%N Integer part of the conversion from Celsius to Fahrenheit.

%H Ray Chandler, <a href="/A085259/b085259.txt">Table of n, a(n) for n = 0..1000</a>

%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (1,0,0,0,1,-1).

%F a(n) = floor(9*n/5+32).

%F From _Reinhard Zumkeller_, May 03 2010: (Start)

%F (a(n) + A177154(n)/10 - 32)*5/9 = n;

%F a(n) = A029925(n) - floor(A177154(n)/5). (End)

%F 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

%e a(5) = 41 (exactly), a(-40) = -40 (also exactly).

%t Floor[9/5 Range[0, 100]] + 32 (* _Paolo Xausa_, Jan 29 2024 *)

%o (PARI) f(n) = for(c=0,n,print1(floor(9/5*c+32),","))

%Y Cf. A029925, A029926, A085268, A177154.

%K easy,nonn

%O 0,1

%A _Cino Hilliard_, Aug 12 2003

%E Recomputation for insertion of missing a(26)=78 by _Reinhard Zumkeller_, May 03 2010