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.

Showing 1-1 of 1 results.

A386725 a(n) is the nearest integer to n/log_10(Pi).

Original entry on oeis.org

0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129
Offset: 0

Views

Author

Stefano Spezia, Jul 31 2025

Keywords

Comments

Differs from A005843 for n > 43.
For n > 0, a(n) is the nonnegative integer such that abs(10^(n/a(n)) - Pi) is minimum.

Examples

			a(n) = 2*n corresponds to the Brahmagupta's approximation 10^(1/2) = sqrt(10) of Pi (cf. A010467).
		

Crossrefs

Programs

  • Mathematica
    a[n_]:=Round[n/Log10[Pi]]; Array[a,65,0]

Formula

a(n) = round(n/log10(Pi)).
a(n) >= 2*n.
Showing 1-1 of 1 results.