A029922 Convert n from kilometers (km) to miles.
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
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.
Links
- Muniru A Asiru, Table of n, a(n) for n = 0..1000
- M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards, Applied Math. Series 55, Tenth Printing, 1972 [alternative scanned copy].
- M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math. Series 55, Tenth Printing, 1972, p. 8.
- Index entries for linear recurrences with constant coefficients, order 25147.
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