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.

A268130 Primes p of the form sigma(2^k + 1) - 1 for some k >= 0.

Original entry on oeis.org

2, 3, 5, 17, 47, 83, 257, 1301, 65537, 174767, 5048231, 51322664447, 188313058624991, 4768522825659911, 3148244377723715041631, 211635519858089932125000235391, 906780938207203620571208267879698943, 6392739029893008727817055462596999999
Offset: 1

Views

Author

Jaroslav Krizek, Jan 26 2016

Keywords

Comments

Corresponding values of k: 0, 1, 2, 4, 5, 6, 8, 10, 16, 17, 22, 35, 47, 52, 71, 97, 119, 122, 124, 190, 300, ...
Fermat primes from A019434 are in the sequence.

Examples

			Prime 47 is a term because for k = 5, sigma(2^5+1) - 1 = sigma(33) - 1 = 47.
		

Crossrefs

Programs

  • Magma
    Set(Sort([SumOfDivisors(2^n+1)-1: n in [0..300] | IsPrime(SumOfDivisors(2^n+1)-1)]));
    
  • PARI
    lista(nn) = for (n=0, nn, if (isprime(p=sigma(2^n + 1) - 1), print1(p, ", "))); \\ Michel Marcus, Jan 27 2016