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.

A255387 Primes of the form 141^k - 140^k.

Original entry on oeis.org

281, 59221, 769449701919846533025514621
Offset: 1

Views

Author

Michael P. May, Feb 21 2015

Keywords

Comments

a(4) has 372 digits. - Vincenzo Librandi, Feb 22 2015
The values of k are 2, 3, 13, 173, ... - Jinyuan Wang, May 30 2020

Crossrefs

Cf. A254298.

Programs

  • Magma
    [a: n in [0..600] | IsPrime(a) where a is 141^n-140^n]; // Vincenzo Librandi, Feb 22 2015
    
  • Mathematica
    Select[Table[141^n - 140^n, {n, 1000}], PrimeQ] (* Vincenzo Librandi, Feb 22 2015 *)
  • PARI
    select(m->ispseudoprime(m), vector(20, k, 141^k-140^k)) \\ Jinyuan Wang, May 30 2020