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 A386725 #9 Aug 03 2025 16:10:31 %S A386725 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46, %T A386725 48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,89,91,93, %U A386725 95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129 %N A386725 a(n) is the nearest integer to n/log_10(Pi). %C A386725 Differs from A005843 for n > 43. %C A386725 For n > 0, a(n) is the nonnegative integer such that abs(10^(n/a(n)) - Pi) is minimum. %F A386725 a(n) = round(n/log10(Pi)). %F A386725 a(n) >= 2*n. %e A386725 a(n) = 2*n corresponds to the Brahmagupta's approximation 10^(1/2) = sqrt(10) of Pi (cf. A010467). %t A386725 a[n_]:=Round[n/Log10[Pi]]; Array[a,65,0] %Y A386725 Cf. A000796, A002160, A005843, A010467, A053511, A385570. %K A386725 nonn,easy %O A386725 0,2 %A A386725 _Stefano Spezia_, Jul 31 2025