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.

A377927 Numbers k such that 4^sigma(k) - k is a prime.

Original entry on oeis.org

1, 5, 17, 57, 675, 1329, 1425, 3803, 39617
Offset: 1

Views

Author

J.W.L. (Jan) Eerland, Nov 11 2024

Keywords

Examples

			17 is in the sequence because 4^sigma(17) - 17 = 4^18 - 17 = 68719476719 is prime.
		

Crossrefs

Programs

  • Magma
    [n: n in[1..10000] | IsPrime((4^SumOfDivisors(n)) - n)];
  • Mathematica
    a[n_] := Select[Range@ n, PrimeQ[4^DivisorSigma[1, #] - #] &]; a[20000]
    DeleteCases[ParallelTable[If[PrimeQ[4^DivisorSigma[1,k]-k],k,n],{k,1,10^4}],n]

Extensions

a(9) from Michael S. Branicky, Nov 11 2024