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.

A061861 First two significant digits of 1/n written in decimal.

Original entry on oeis.org

10, 50, 33, 25, 20, 16, 14, 12, 11, 10, 90, 83, 76, 71, 66, 62, 58, 55, 52, 50, 47, 45, 43, 41, 40, 38, 37, 35, 34, 33, 32, 31, 30, 29, 28, 27, 27, 26, 25, 25, 24, 23, 23, 22, 22, 21, 21, 20, 20, 20, 19, 19, 18, 18, 18, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 15, 14, 14, 14
Offset: 1

Views

Author

Henry Bottomley, May 11 2001

Keywords

Comments

After 10^k terms the number of times m will have appeared will be about 10^(k+2)/(9*m*(m+1)); e.g., 10 will appear just over 10.1% of the time.

Examples

			a(32)=31 since 1/32 = 0.0312500000...
		

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[RealDigits[1/n,10,2][[1]]],{n,70}] (* Harvey P. Dale, Jan 19 2018 *)

Formula

a(n) = floor(10^floor(2+log_10(n-1))/n).