cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-5 of 5 results.

A029925 Convert n from degrees Celsius to nearest integer Fahrenheit.

Original entry on oeis.org

32, 34, 36, 37, 39, 41, 43, 45, 46, 48, 50, 52, 54, 55, 57, 59, 61, 63, 64, 66, 68, 70, 72, 73, 75, 77, 79, 81, 82, 84, 86, 88, 90, 91, 93, 95, 97, 99, 100, 102, 104, 106, 108, 109, 111, 113, 115, 117, 118, 120
Offset: 0

Views

Author

Keywords

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, Tenth Printing, 1972, p. 8.

Crossrefs

Programs

  • Magma
    [Floor((18*n+325)/10): n in [0..70]]; // Vincenzo Librandi, Jun 19 2017
  • Mathematica
    Table[Floor[((18 n + 325) / 10)], {n, 0, 70}] (* Vincenzo Librandi, Jun 19 2017 *)
    Table[Round[(9n)/5+32],{n,0,50}] (* Harvey P. Dale, Jun 19 2023 *)

Formula

From Reinhard Zumkeller, May 03 2010: (Start)
a(n) = floor((18*n + 325)/10).
a(n) = A085259(n) + floor(A177154(n)/5).
A029926(a(n)) = n. (End)

A029926 Convert n from degrees Fahrenheit to nearest integer Celsius.

Original entry on oeis.org

-18, -17, -17, -16, -16, -15, -14, -14, -13, -13, -12, -12, -11, -11, -10, -9, -9, -8, -8, -7, -7, -6, -6, -5, -4, -4, -3, -3, -2, -2, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, 18, 18
Offset: 0

Views

Author

Keywords

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, Tenth Printing, 1972, p. 8.

Crossrefs

Programs

  • Mathematica
    Table[Round[(5(n-32))/9],{n,0,100}] (* Harvey P. Dale, Feb 09 2020 *)

Formula

From Reinhard Zumkeller, May 03 2010: (Start)
a(n) = round(5*(n-32)/9).
a(A029925(n)) = n. (End)

A085259 Integer part of the conversion from Celsius to Fahrenheit.

Original entry on oeis.org

32, 33, 35, 37, 39, 41, 42, 44, 46, 48, 50, 51, 53, 55, 57, 59, 60, 62, 64, 66, 68, 69, 71, 73, 75, 77, 78, 80, 82, 84, 86, 87, 89, 91, 93, 95, 96, 98, 100, 102, 104, 105, 107, 109, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 129, 131, 132, 134, 136, 138, 140
Offset: 0

Views

Author

Cino Hilliard, Aug 12 2003

Keywords

Examples

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

Crossrefs

Programs

  • Mathematica
    Floor[9/5 Range[0, 100]] + 32 (* Paolo Xausa, Jan 29 2024 *)
  • PARI
    f(n) = for(c=0,n,print1(floor(9/5*c+32),","))

Formula

a(n) = floor(9*n/5+32).
From Reinhard Zumkeller, May 03 2010: (Start)
(a(n) + A177154(n)/10 - 32)*5/9 = n;
a(n) = A029925(n) - floor(A177154(n)/5). (End)
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

Extensions

Recomputation for insertion of missing a(26)=78 by Reinhard Zumkeller, May 03 2010

A085268 Integer part of the conversion from Fahrenheit to Celsius.

Original entry on oeis.org

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

Views

Author

Cino Hilliard, Aug 12 2003

Keywords

Crossrefs

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

A140976 Period length 10: repeat 8, 8, 6, 6, 4, 4, 2, 2, 0, 0.

Original entry on oeis.org

8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0, 8, 8, 6, 6, 4, 4, 2, 2, 0, 0
Offset: 0

Views

Author

Paul Curtz, Jul 28 2008

Keywords

Comments

The subsequence of even terms of A140975.

Crossrefs

Programs

  • Mathematica
    PadRight[{},100,{8,8,6,6,4,4,2,2,0,0}] (* Harvey P. Dale, Jun 03 2012 *)

Formula

Also doubled A059631(n+1) mod 10.
G.f.: ( -8-6*x^2-4*x^4-2*x^6 ) / ( (x-1)*(1+x+x^2+x^3+x^4)*(1-x+x^2-x^3+x^4) ). - R. J. Mathar, Jul 08 2011

Extensions

More terms from Jinyuan Wang, Feb 26 2020
Showing 1-5 of 5 results.