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.

A254248 Number of terms in A006285 (de Polignac numbers) less than 10^n.

Original entry on oeis.org

0, 1, 1, 18, 262, 3393, 39541, 421863, 4457974, 46853770, 482301801, 4931928485
Offset: 0

Views

Author

Arkadiusz Wesolowski, Mar 16 2015

Keywords

Comments

a(n) < 10^n*exp(-(n*log(10))^c) for some c.

Crossrefs

Programs

  • Mathematica
    dePolignacQ[n_] := OddQ[n] && Module[{m = 2}, While[n > m + 1 && ! PrimeQ[n - m], m *= 2]; n <= m + 1]; seq[max_] := Module[{p = 10, c = 1, s = {0}}, Do[If[dePolignacQ[k], c++]; If[k == p, p *= 10; AppendTo[s, c]], {k, 5, 10^max}]; s]; seq[6] (* Amiram Eldar, Feb 04 2021 *)

Extensions

a(9) from Arkadiusz Wesolowski, Feb 09 2016
a(10)-a(11) from Amiram Eldar, Feb 04 2021