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.

A300408 Primes of the form 19*2^n + 1.

Original entry on oeis.org

1217, 19457, 1337006139375617
Offset: 1

Views

Author

Martin Renner, Mar 05 2018

Keywords

Comments

Next term a(4) = 19*2^366 + 1 > 10^111.
For the corresponding exponents n see A032359.

Crossrefs

Programs

  • GAP
    Filtered(List([1..500],n->19*2^n + 1),IsPrime); # Muniru A Asiru, Mar 06 2018
    
  • Maple
    a:=(n,k)->`if`(isprime(k*2^n+1), k*2^n+1, NULL):
    seq(a(n,19), n=1..366);
  • PARI
    lista(nn) = {for(k=1, nn, if(ispseudoprime(p=19*2^k+1), print1(p, ", ")));} \\ Altug Alkan, Mar 29 2018