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.

A182352 Primes of the form n*2^n - 3.

Original entry on oeis.org

5, 61, 157, 229373, 1048573, 2228221, 584115552253, 10445360463869, 1448241753615514100500122329229605507956733, 8380834989110329694147210304728253347914979574441574397
Offset: 1

Views

Author

Patrick Devlin, Apr 25 2012

Keywords

Comments

These are similar to the Woodall primes, A050918, which are primes of the form n*2^n-1.

Examples

			5 = 2*2^2 - 3;  61 = 4*2^4 - 3.
		

Crossrefs

Cf. A050918.

Programs

  • Maple
    #choose N large, then S is the desired set
    f:=n->n*2^n - 3:
    S:={}:
    for n from 0 to N do if(isprime(f(n))) then S:=S union {f(n)}: fi: od