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.

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

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

A109952 Degrees Celsius for which Fahrenheit is a prime.

Original entry on oeis.org

5, 15, 45, 55, 65, 75, 115, 125, 145, 155, 175, 195, 205, 215, 255, 265, 295, 315, 325, 345, 395, 405, 425, 475, 505, 525, 545, 555, 565, 595, 645, 665, 695, 705, 715, 745, 765, 775, 805, 815, 845, 855, 875, 925, 945, 975, 995, 1025, 1045, 1055, 1065, 1095
Offset: 1

Views

Author

Zak Seidov, Jul 06 2005

Keywords

Comments

The sequence only includes positive integer values and all terms are multiples of 5 but no terms are multiples of 10. - Harvey P. Dale, Jul 23 2025

Examples

			f = 9 c / 5 + 32; a(1) = c = 5 because f = 41 is a prime.
		

Crossrefs

Programs

  • Mathematica
    f[c_]:=9 c /5 +32; A109952 = Select[Range[5, 2000, 5], PrimeQ[f[ # ]]&]
    Select[Table[5 (p-32)/9,{p,Prime[Range[10,400]]}],IntegerQ] (* Harvey P. Dale, Jul 23 2025 *)
Showing 1-5 of 5 results.