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.

A352153 Smallest digit in the decimal expansion of 1/n, ignoring leading and trailing 0's.

This page as a plain text file.
%I A352153 #43 Mar 14 2022 08:46:08
%S A352153 1,5,3,2,2,1,1,1,1,1,0,3,0,1,6,2,0,5,0,5,0,4,0,1,4,1,0,1,0,3,0,1,0,0,
%T A352153 1,2,0,0,0,2,0,0,0,2,2,0,0,0,0,2,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,0,0,
%U A352153 0,1,0,1,0,1,1,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0
%N A352153 Smallest digit in the decimal expansion of 1/n, ignoring leading and trailing 0's.
%C A352153 Leading 0's are not considered, otherwise a(n) would be 0 when n >= 11 (see examples for 13 and 14).
%C A352153 Trailing 0's are not also considered, otherwise when 1/n is a terminating decimal (A003592), a(n) would be also 0.
%H A352153 <a href="/index/1#1overn">Index entries for sequences related to decimal expansion of 1/n</a>
%F A352153 a(n) = n iff n = 1 or n = 3.
%F A352153 a(10*n) = a(n).
%F A352153 a(10^n) = 1.
%e A352153 1/13 = 0.076923076923076923... with periodic part = '769230' (or '076923'), hence a(13) = 0.
%e A352153 1/14 = 0.0714285714285714285... with periodic part = '714285', hence a(14) = 1.
%e A352153 1/40 = 0.025 hence a(40) = 2.
%t A352153 f[n_] := Union[ Flatten[ RealDigits[ 1/n][[1]] ]]; Array[Min@ f@# &, 105]
%Y A352153 Cf. A003592, A333236 (largest digit).
%K A352153 nonn,base
%O A352153 1,2
%A A352153 _Bernard Schott_ and _Robert G. Wilson v_, Mar 06 2022