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.

A210684 Number of primes p < 10^n such that both 2*p+1 and 4*p+1 are composite.

Original entry on oeis.org

0, 7, 101, 864, 7365, 63331, 554839, 4931118, 44339730, 402709395, 3687732409, 34007530868
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[n_] := Length[Select[Range[10^n], PrimeQ[#] && !PrimeQ[2#+1] && !PrimeQ[4#+1]&]]; Table[f[n], {n,7}]

Formula

a(n) = A006880(n) - A092816(n) - A182265(n) + 1.
a(n) ~ 10^n / (n log 10). - Charles R Greathouse IV, May 11 2012