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-2 of 2 results.

A029922 Convert n from kilometers (km) to miles.

Original entry on oeis.org

0, 1, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 11, 12, 12, 13, 14, 14, 15, 16, 16, 17, 17, 18, 19, 19, 20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 27, 27, 28, 29, 29, 30, 30, 31, 32, 32, 33, 34, 34, 35, 35, 36, 37
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

Cf. A029921, A323606 (km/mile).

Programs

  • Maple
    [seq(floor(n/1.609344+(1/2)),n=0..60)]; # Muniru A Asiru, Apr 10 2018
  • Mathematica
    Array[Floor[#/1.609344 + 1/2] &, 60, 0] (* Michael De Vlieger, Apr 10 2018 *)

Formula

a(n) = floor(n/1.609344 + 1/2). - Lee A. Newberg, Apr 10 2018

A323606 Decimal expansion of 25146/15625.

Original entry on oeis.org

1, 6, 0, 9, 3, 4, 4
Offset: 1

Views

Author

Felix Fröhlich, Jan 19 2019

Keywords

Comments

Equal to the value of 1 international mile in kilometers.

Examples

			1.609344.
		

Crossrefs

Programs

  • PARI
    my(x=25146/15625, d=0); for(n=1, 7, d=floor(x); x=(x-d)*10; print1(d, ", "))
Showing 1-2 of 2 results.