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.

A165723 The (d+1)th digit after the decimal point in the decimal representation of 1/n, where d is the number of digits of n.

This page as a plain text file.
%I A165723 #10 Apr 27 2019 02:32:58
%S A165723 0,0,3,5,0,6,4,2,1,0,0,3,6,1,6,2,8,5,2,0,7,5,3,1,0,8,7,5,4,3,2,1,0,9,
%T A165723 8,7,7,6,5,5,4,3,3,2,2,1,1,0,0,0,9,9,8,8,8,7,7,7,6,6,6,6,5,5,5,5,4,4,
%U A165723 4,4,4,3,3,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0
%N A165723 The (d+1)th digit after the decimal point in the decimal representation of 1/n, where d is the number of digits of n.
%H A165723 K. Stern, <a href="/A165723/b165723.txt">Table of n, a(n) for n = 1..500</a>
%e A165723 1/1 = 1.000 so a(1) = 0;
%e A165723 1/4 = 0.250 so a(4) = 5;
%e A165723 1/14 = 0.0714... so a(14) = 1;
%e A165723 1/114 = 0.00877... so a(114) = 7.
%p A165723 A055642 := proc(n) max(1,ilog10(n)+1) ; end: A165723 := proc(n) local d; d := A055642(n) ; floor(10^(d+1)/n) mod 10 ; end: seq(A165723(n),n=1..100) ; _R. J. Mathar_, Sep 26 2009
%K A165723 nonn,base,easy
%O A165723 1,3
%A A165723 _Kyle Stern_, Sep 24 2009
%E A165723 More terms from _R. J. Mathar_, Sep 26 2009