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.

A255389 Primes of the form 166^k - 165^k.

Original entry on oeis.org

331, 82171, 3751197451
Offset: 1

Views

Author

Michael P. May, Feb 21 2015

Keywords

Comments

a(4) has 1641 digits and a(5) has 1717 digits. - Vincenzo Librandi, Feb 22 2015
The values of k are 2, 3, 5, 739, 773, ... - Jinyuan Wang, May 30 2020

Crossrefs

Cf. A254298.

Programs

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