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.

Previous Showing 41-43 of 43 results.

A322162 Numbers k such that bsigma(k) = 2k + 2, where bsigma(k) is the sum of bi-unitary divisors of k (A188999).

Original entry on oeis.org

80, 104, 832, 1952, 7424, 62464, 522752, 8382464, 33357824, 134193152, 267649024, 17167286272, 549754241024
Offset: 1

Views

Author

Amiram Eldar, Nov 29 2018

Keywords

Comments

The bi-unitary version of A088831.
If m is a term of A050414, i.e., 2^m - 3 is prime, then 2^(2*m-2) * (2^m-3) is in this sequence, and also 2^(m-1) * (2^m-3) if m is even.

Examples

			80 is in this sequence since its sum of bi-unitary divisors is 162 = 2 * 80 + 2.
		

Crossrefs

Programs

  • Mathematica
    fun[p_, e_] := If[OddQ[e], (p^(e+1)-1)/(p-1), (p^(e+1)-1)/(p-1)-p^(e/2)]; Select[Range[2,10000], Times@@(fun @@@ FactorInteger[#]) == 2#+2 &]
  • PARI
    bsigma(n,f=factor(n))=prod(i=1,#f~, my(p=f[i,1], e=f[i, 2]); if (e%2, (p^(e+1)-1)/(p-1), (p^(e+1)-1)/(p-1) -p^(e/2)));
    forfactored(n=1,10^8, if(bsigma(n[1],n[2])==2*n[1]+2, print1(n[1]", "))) \\ Charles R Greathouse IV, Nov 29 2018

Extensions

a(13) from Giovanni Resta, Dec 01 2018

A344516 Numbers k such that (2^k-5, 2^k-3) are twin primes.

Original entry on oeis.org

3, 4, 6, 10, 12, 20, 150
Offset: 1

Views

Author

Amiram Eldar, May 21 2021

Keywords

Comments

No more terms <= A050414(66) = 2086750.

Examples

			3 is a term since (2^3-5, 2^3-3) = (3, 5) are twin primes.
		

Crossrefs

Intersection of A050414 and A059608.
Cf. A001097.

Programs

  • Mathematica
    Select[Range[150], And @@ PrimeQ[2^# - {3,5}] &]

A379806 Numbers k such that 2^prime(k) - 3 is prime.

Original entry on oeis.org

2, 3, 10, 51, 4462, 6883
Offset: 1

Views

Author

N. J. A. Sloane, Feb 01 2025

Keywords

Examples

			Prime(3) = 5 and 2^5 - 3 = 29 is prime, so k = 3 is a member.
		

Crossrefs

Programs

  • PARI
    isok(k) = ispseudoprime(1<Jinyuan Wang, Feb 09 2025

Formula

Apply PrimePi to A283266.
Previous Showing 41-43 of 43 results.