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.
%I A193257 #36 Feb 16 2025 08:33:15 %S A193257 7,27,169,1217,9512,78030,661458,5740303,50701542,454011971, %T A193257 4110416300,37550193649,345618860220,3201414635780,29816233849000, %U A193257 279007258230819,2621647966812031,24723998785919976,233922961602470390,2219671974013732243 %N A193257 Floor((10^n)/(log(10^n) - 1)). %C A193257 lim n -> infinity (log(n) - n/pi(n)) = 1, where pi(n) is the prime counting function. %D A193257 A. M. Legendre, Essai sur la Théorie des Nombres, Paris: Duprat, 1808. %H A193257 Arkadiusz Wesolowski, <a href="/A193257/b193257.txt">Table of n, a(n) for n = 1..200</a> %H A193257 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/LegendresConstant.html">Legendre's Constant</a> %H A193257 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrimeCountingFunction.html">Prime Counting Function</a> %H A193257 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PrimeNumberTheorem.html">Prime Number Theorem</a> %F A193257 a(n) = floor((10^n)/(log(10^n) - 1)). %e A193257 a(2) = 27 because (10^2)/(log(10^2) - 1) = 27.7379415786.... %t A193257 Table[Floor[10^n/(Log[10^n] - 1)], {n, 20}] %o A193257 (Magma) [Floor(10^n/(Log(10^n)-1)) : n in [1..20]] %o A193257 (PARI) for(n=1, 20, print1(floor(10^n/(log(10^n)-1)), ", ")) %o A193257 (PARI) a(n)=10^n\(n*log(10)-1) \\ _Charles R Greathouse IV_, Jul 30 2011 %Y A193257 Another version of A226744. %Y A193257 Cf. A058289, A006880, A057834, A000720. %K A193257 nonn %O A193257 1,1 %A A193257 _Arkadiusz Wesolowski_, Jul 19 2011