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-3 of 3 results.

A218044 Numbers of the form 2^k + prime, with k > 0.

Original entry on oeis.org

4, 5, 6, 7, 9, 10, 11, 13, 15, 17, 18, 19, 21, 23, 25, 27, 29, 31, 33, 34, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 66, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119
Offset: 1

Views

Author

Michel Marcus, Oct 19 2012

Keywords

Comments

A039669 is included in this sequence.

Examples

			5 = 3 + 2 that is, a prime and a power of 2.
		

Crossrefs

Cf. A080340, A039669, A118955 (allows k=0).

Programs

  • Maple
    q:= n-> ormap(isprime, [seq(n-2^k, k=1..ilog2(n))]):
    select(q, [$0..200])[];  # Alois P. Heinz, Feb 14 2020
  • Mathematica
    nn = 119; ps = Prime[Range[PrimePi[nn]]]; p2 = 2^Range[Log[2, nn]]; u = {}; Do[u = Union[u, ps + p2[[i]]], {i, Length[p2]}]; Select[u, # <= nn &] (* T. D. Noe, Oct 19 2012 *)
  • PARI
    isok(n) = {forprime(p=2, n, my(d = n - p); if ((d==2) || (ispower(d,,&k) && (k==2)), return(1));); 0;} \\ Michel Marcus, Apr 18 2016

A080210 Lower bound for the multiplicity of a disjoint covering system of congruences.

Original entry on oeis.org

1, 2, 3, 2, 5, 2, 7, 2, 3, 3, 11, 2, 13, 4, 3, 2, 17, 2, 19, 3, 5, 6, 23, 2, 5, 7, 3, 4, 29, 2, 31, 2, 7, 9, 5, 2, 37, 10, 9, 3, 41, 3, 43, 6, 3, 12, 47, 2, 7, 3, 11, 7, 53, 2, 9, 4, 13, 15, 59, 2, 61, 16, 5, 2, 10, 4, 67, 9, 15, 3, 71, 2, 73, 19, 3, 10, 9, 5, 79, 3, 3, 21, 83, 3, 13, 22, 19, 6, 89
Offset: 1

Views

Author

Benoit Cloitre, Mar 20 2003

Keywords

Crossrefs

Cf. A080340.

Formula

a(n) = floor(Lpf(n)*phi(n)/n) + 1 where Lpf(n) is the largest prime factor of n and phi is the Euler totient function.

A307715 Decimal expansion of Sum_{t>0} log((t + 1)/t)^2.

Original entry on oeis.org

9, 7, 7, 1, 8, 9, 1, 8, 3, 2, 6, 8, 9, 3, 6, 5, 5, 4, 4, 5, 7, 8, 8, 5, 7, 4, 9, 4, 7, 6, 4, 3, 4, 7, 4, 8, 0, 7, 7, 3, 9, 2, 5, 0, 6, 4, 7, 4, 7, 2, 3, 9, 0, 1, 7, 7, 0, 2, 0, 9, 8, 9, 7, 5, 5, 3, 1, 8, 4, 4, 5, 2, 9, 3, 9, 2, 3, 9, 3, 3, 5, 6, 2, 9, 0, 1, 2, 3, 2, 1, 0, 7, 9, 7, 4, 3, 2, 0, 3, 3, 5, 9, 2, 3, 2
Offset: 0

Views

Author

Stefano Spezia, Apr 24 2019

Keywords

Comments

This constant appears at several places in the literature:
1) In the asymptotic formula of the number of minimal covering systems with exactly n elements (see Theorem 1.1 in Balister, Bollobás, Morris, Sahasrabudhe and Tiba) and
2) in the maximal size of the iterated divisor function
(see Theorem 1 in Buttkewitz, Elsholtz, Ford and Schlage-Puchta) and
3) in the maximal order of the iterated r_2 function, which counts the number of representations as sums of 2 squares (see Theorems 2.1. and 2.3 in Elsholtz, M. Technau and N. Technau). - Modified by C. Elsholtz, Apr 15 2025

Examples

			0.9771891832689365544578857494764347480773925064747239017702...
		

Crossrefs

Programs

  • Mathematica
    First[RealDigits[NSum[(Log[(t + 1)/t])^2, {t, 1, Infinity}, NSumTerms -> 100, Method -> {"NIntegrate", "MaxRecursion" -> 10}, WorkingPrecision -> 100]]]
  • PARI
    sumpos(t=1, log((t + 1)/t)^2) \\ Michel Marcus, Apr 26 2019

Formula

From Amiram Eldar, Jun 17 2023: (Start)
Equals 2 * Sum_{k>=1} H(k) * (zeta(k+1)-1) / (k+1), where H(k) = A001008(k)/A002805(k) is the k-th harmonic number.
Equals -Sum_{k>=1} zeta'(2*k) / k. (End)
Showing 1-3 of 3 results.