login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A255389
Primes of the form 166^k - 165^k.
0
331, 82171, 3751197451
OFFSET
1,1
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
LINKS
Michael P. May, On the Existence and Frequency Distribution of the Shell Primes, arXiv preprint arXiv:1510.01028 [math.CO], 2015.
MATHEMATICA
Select[Table[166^n - 165^n, {n, 1000}], PrimeQ] (* Vincenzo Librandi, Feb 22 2015 *)
PROG
(Magma) [a: n in [0..600] | IsPrime(a) where a is 166^n-165^n]; // Vincenzo Librandi, Feb 22 2015
(PARI) select(m->ispseudoprime(m), vector(10, k, 166^k-165^k)) \\ Jinyuan Wang, May 30 2020
CROSSREFS
Cf. A254298.
Sequence in context: A060894 A002228 A199820 * A133141 A231755 A097401
KEYWORD
nonn,bref
AUTHOR
Michael P. May, Feb 21 2015
STATUS
approved