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.

A309398 a(n) is the nearest integer to log(log(10^n)).

Original entry on oeis.org

1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
Offset: 1

Views

Author

Felix Fröhlich, Sep 27 2019

Keywords

Comments

The sequence grows relatively slowly. For example, for n < 10^7, a(n) <= 17.
a(n) is roughly the expected number of Wieferich primes (cf. A001220 and Knauer, Richstein, 2005, p. 1560) as well as the expected number of Fibonacci-Wieferich primes (Wall-Sun-Sun primes) (cf. McIntosh, Roettger, 2007, p. 2091) and Wolstenholme primes (cf. A088164 and McIntosh, 1995, p. 387) with at most n digits. It is also roughly the expected number of Wilson primes with at most n digits (cf. A007540 and Costa, Gerbicz, Harvey, 2014).

Crossrefs

Programs

  • Mathematica
    Round[Log[Log[10^Range[90]]]] (* Harvey P. Dale, Jan 16 2024 *)
  • PARI
    a(n) = round(log(log(10^n)))

Formula

a(n) = round(log(log(10^n))) = log n + O(1).