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.

Previous Showing 11-13 of 13 results.

A155897 Square matrix T(m,n)=1 if (2m+1)^n-2 is prime, 0 otherwise; read by antidiagonals.

Original entry on oeis.org

0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0
Offset: 1

Views

Author

M. F. Hasler, Feb 01 2009

Keywords

Comments

In some sense a "minimal" possible generalization of the pattern of Mersenne primes (cf. A000043) is to consider powers of odd numbers (> 1) minus 2. Since even powers obviously correspond to an odd power of the base squared, it is sufficient to consider only odd powers, cf. A155899.

Crossrefs

Programs

  • PARI
    T = matrix( 19,19,m,n, isprime((2*m+1)^n-2)) ;
    A155897 = concat( vector( vecmin( matsize(T)), i, vector( i, j, T[j,i-j+1])))

A155898 Square matrix T(m,n)=1 if (2m+1)^(2n)-2 is prime, 0 otherwise; read by antidiagonals.

Original entry on oeis.org

1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1
Offset: 1

Views

Author

M. F. Hasler, Feb 01 2009

Keywords

Comments

In some sense the "minimal" possible generalization of the pattern of Mersenne primes (cf. A000043) is to consider powers of odd numbers minus 2. Here only even powers are considered (which obviously correspond to an odd power of the base squared).

Crossrefs

Programs

  • PARI
    T = matrix( 19,19,m,n, isprime((2*m+1)^(2*n)-2)) ;
    A155898 = concat( vector( vecmin( matsize(T)), i, vector( i, j, T[j,i-j+1])))

A204578 Primes of the form 5^k-2.

Original entry on oeis.org

3, 23, 6103515623, 1490116119384765623, 88817841970012523233890533447265623, 11754943508222875079687365372222456778186655567720875215087517062784172594547271728515623, 44841550858394146269559346665277316200968382140048504696226185084473314645947539247572422027587890623
Offset: 1

Views

Author

M. F. Hasler, Jan 30 2012

Keywords

Comments

See the sequence A109080 for the corresponding exponents k.
The number a(3) = 6103515623 is also in A095304, A104090 and A128472.

Crossrefs

Cf. A109080.

Programs

  • PARI
    for(i=0,999, ispseudoprime(t=5^i-2) & print1(t","))

Formula

a(n) = 5^A109080(n)-2.
Previous Showing 11-13 of 13 results.