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-4 of 4 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)

A177154 Fractional part of the conversion from degrees Celsius to Fahrenheit.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, May 03 2010

Keywords

Comments

From Klaus Brockhaus, May 06 2010: (Start)
Periodic sequence: Repeat 0, 8, 6, 4, 2.
Decimal expansion of 8642/99999. (End)

Crossrefs

Programs

  • Mathematica
    PadRight[{}, 100, {0, 8, 6, 4, 2}] (* Paolo Xausa, Jan 29 2024 *)

Formula

(A085259(n) + a(n)/10 - 32) * 5 / 9 = n;
A029925(n) - A085259(n) = floor(a(n)/5);
G.f.: 2*x*(4+3*x+2*x^2+x^3)/(1-x^5). - Klaus Brockhaus, May 06 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
Showing 1-4 of 4 results.