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.

A196273 Primes of the form n*2^(n-1)+1.

Original entry on oeis.org

2, 5, 13, 193, 449, 114689, 1811939329, 2434970217729660813313, 4943727411754159833089, 6731298963614255244763987969, 2388456554926020709124028311441244161
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Sep 29 2011

Keywords

Comments

Generated by n = 1, 2, 3, 6, 7, 14, 27, 66, 67, 87, 115, .. = A029544(n)+1.
See also A236752 for primes of the form k*2^(k-1) - 1, and A230769 for the corresponding indices k (minus 1). - M. F. Hasler, Mar 01 2014

Crossrefs

Cf. A005183.

Programs

  • Mathematica
    Select[Table[n*2^(n-1)+1,{n,150}],PrimeQ] (* Harvey P. Dale, Jul 17 2018 *)
  • PARI
    lista(nn) = {for (n=1, nn, if (isprime(p = n*2^(n-1)+1), print1(p, ", ")););} \\ Michel Marcus, Nov 09 2013